libera/#maemo-leste/ Saturday, 2023-03-04

xeshi freemangordon!00:36
joergs/ check what you're missing/ check IF you're missing anything/02:33
joergI mean, it "works", e.g. https://web.archive.org/web/20210615112444/https://garage.maemo.org/projects/aic34-eq/   https://web.archive.org/web/20200927194100/https://garage.maemo.org/frs/?group_id=1843&release_id=4028  but no idea how to *search* and *find* those03:56
freemangordonuvos__: at least in the VM the issue is fixed08:49
freemangordonnela: please try to upgrade when you have a chance08:49
uvosfreemangordon: great10:35
Wizzupuvos: ping11:09
Wizzupuvos: fmg and I planned to do elogind work today, there is the summary of where you are at in the logs ~1-2 days ago11:09
Wizzupwhere can we find that work? I know there are packges I built for -experimental11:09
Wizzupiirc there were two approaches, one is just having elogind run xsession11:11
Wizzupthe other is to port things to more elogind-specific startup things11:11
uvosyou install those 2 packages, h-s starts xsession scripts. but you have to remove all the init scripts that eventualy depend on the xsession one11:24
uvostheres nothing to useing elogind besides createing a session with pam_open_session11:25
uvosthis autologin dose for you11:25
uvosthe problem is that starting af-services breaks everything pretty mutch, elogind becomes unresponsive and you cant log out etc11:25
uvoseducated guess is that because af-services joins user and roots session dbus bus, and elogind works via dbus, elogind gets very confused by the broken session cookies11:26
freemangordonuvos: what does this mean - joins session?11:26
freemangordon*sessions11:27
freemangordonit just starts user dbus session (iirc) and export the path in /tmp file11:27
uvoson leste the session bus is seemingly the same no matter if you are root or user11:27
uvosthis is how mce can modify users gconf keys for instance11:28
freemangordonumm, not sure, lemme check11:28
uvosthis seams very broken as it exposes all of roots interfaces to user11:28
freemangordonno11:28
freemangordonsec11:28
freemangordonsee https://pastebin.com/LWHhY5Xf11:29
uvosso?11:29
freemangordonah, you mean there is no separate session bus for root?11:29
uvosyes11:29
uvosand root users of the session bus end up on users bus11:30
freemangordonbut, isn;t root supported to work on system bus?11:30
uvosno11:30
freemangordonok11:30
uvosthe system bus is global yes11:30
uvosbut root should have its own bus11:30
freemangordonI see11:30
freemangordonso, besides mce, what else is accessing user session bus?11:30
uvosanything that needs gconf11:31
uvosand is root11:31
uvosnothing uses it directly afaik11:31
uvos(mce dosent)11:31
freemangordonI see11:31
freemangordonbut then again, I think back in fremantle days this was not broken11:31
uvosthis is also what breaks gsettings11:31
freemangordonbecause gconf was not using dbus, adaik11:31
freemangordon*afaik11:31
uvossince gsettings will use dbus to send signals to write to the store11:32
uvosbut will read directly11:32
freemangordonok, so, to sum it up - this seems the same or similar issue we have with gconf in general, no?11:32
uvosthis means that root gsettings clients on leste read from roots gsettings but write to users gesettings11:32
Wizzupas I understand it, and you might be at this point already, is that a certain dbus user sesssion is forced for 'user' user and root on leste11:33
uvoswich is quite problematic11:33
freemangordonmaybe it is time to get back to the drawing board and decide what to replace gconf with11:33
Wizzupwhich elogind disallows11:33
freemangordonmaybe not 'disallows' but rather 'never tested and not working'11:33
WizzupI really hope we can separate gsettings/gconf and elogind11:33
Wizzupfreemangordon: no, probably very explicitly disallows11:33
freemangordonright, in the context of systemd tracking user processes11:34
uvosit also feals like a huge security risk to me11:34
Wizzupever since I have elogind on my laptop many things are all weird11:34
uvosimo11:34
freemangordonuvos: kinda agree11:34
Wizzupwhat, because root can do what user does?11:34
freemangordonthough rott is allowed to do many things anyways11:34
freemangordon*root11:35
Wizzupwe might want to check what actually blocks things11:35
freemangordonright11:35
Wizzupsince currently we have uvos' educated guess11:35
freemangordonI will install elogind in my vm11:35
Wizzupin any case we will probably want to change af-services to use the dbus set up by elogind11:35
Wizzupso no longer should it make its own thing in /tmp11:36
Wizzupthe path should be predictable given a username, too11:36
Wizzupso that way root could just access it all the same11:36
Wizzupif that makes sense11:36
freemangordonumm...11:36
freemangordonIIUC, this will allow 2 users to log in, no?11:36
Wizzuphuh?11:36
freemangordonhow is root supposed to know which exactly user to use dbus of?11:37
Wizzupwell, it's 'user'11:37
uvoswitch session11:37
freemangordonmhm11:37
Wizzupdo you mean user vs system dbus?11:37
freemangordonthis is simply not meant to be used on mobile IMO11:37
freemangordonif use 'user' have more than one session11:37
freemangordonis that allowed?11:37
freemangordon*user 'user'11:38
WizzupI am not sure if I follow why this matters11:38
uvosyou should be able to restict user to one session via pam11:38
uvosnot sure if has side effects11:38
uvosssh maybe11:38
Wizzupyes, ssh for sure11:38
freemangordonssh should not start its own dbus, no?11:38
WizzupI don't think so11:39
freemangordonthat's why run-standalone.sh11:39
WizzupI don't think that if we use elogind we will have trouble with dbus11:39
Wizzupthe only thing we should fix is whatever overrides the session for root to be the user sesssion11:39
Wizzupthat needs updating11:39
Wizzup(just my educated guess anyway)11:39
freemangordonbut that, how is root going to access user's gconf settings?11:39
uvosor we kcik the can down the road11:39
uvosand just have elgoind installed11:39
freemangordonnot time now11:39
freemangordonah11:40
uvosand try to figure out how to disable it11:40
freemangordonyes, I will do that in few minutes11:40
uvosso it dosent interfeer11:40
freemangordonjust want to have some background11:40
Wizzupthe issue here is I think that it conflicts with ck and the other stuff11:40
Wizzupok11:40
freemangordonck?11:40
WizzupConsoleKit11:40
freemangordonit replaces it actually11:40
freemangordonso, going to remove hildon-meta and install elogind11:40
freemangordondo you want me to create some shared ssh session for you to watch?11:41
freemangordonor jit.si meeting?11:42
Wizzupthat's fine, in 15 mins or so if you can wait11:42
freemangordonsure11:42
Wizzupok11:42
Wizzupbrb then11:42
freemangordonI will create jit.si meeting and will wait for both of you to join11:43
freemangordonhttps://meet.jit.si/elogind11:43
freemangordonuvos: ^^^11:44
freemangordonbrb lunch11:49
Wizzupfreemangordon: i'm back, but will make a coffee and wait for you to return :D11:59
freemangordonI am back as well12:02
Wizzupok12:02
Wizzup2 mins and I will join12:02
freemangordonso, I made a snapshot of the vm and installed elogind12:02
* Wizzup joins12:06
freemangordondo you see VM screen?12:08
Wizzupyes12:08
freemangordonok12:08
freemangordonok, seems this is what uvos is talking about12:10
freemangordonbut it is not logind that nags IIUC12:10
freemangordon*hangs12:10
Wizzupwhat hangs?12:10
freemangordonit was sitting on "starting dbus"12:11
Wizzupfor me hangs = no progress12:11
freemangordonright12:11
freemangordonit progressed while I was swithing between windows12:11
freemangordonlemme open ssh session12:11
freemangordonwhat now?12:12
freemangordonwe have both h-d and elogind running12:12
WizzupI missed if you installed the pkgs from extras12:12
freemangordonI did not12:13
Wizzupis elogind running, or just installed?12:13
freemangordonI just installed modified hildon-base that does not conflict with elogind12:13
freemangordonsee what I share on jitsi12:13
Wizzupyeah, I see12:13
freemangordonto me elogind seems running12:13
Wizzupps xua | grep logind12:14
freemangordonand we still have the same dbus sessions12:14
Wizzuphmm12:14
freemangordonwhat now?12:14
Wizzuptype 'loginctl'12:14
Wizzupwell, this -seems- fine12:15
freemangordonI mean - what issues do we expect12:15
freemangordonlemme try to reboot12:15
Wizzupblack screen, no h-d12:15
freemangordonhmm?12:15
Wizzupthat's the issue I experienced when I installed elogind12:15
Wizzup(arguably a bit ago now)12:15
freemangordonlemme poweroff first12:16
Wizzupok12:16
freemangordonseems I cannot open power button meny12:17
freemangordon*menu12:17
Wizzupthat's probably dbus related12:17
Wizzupyou can check /proc/<pid>/environ  | grep -a DBUS12:17
Wizzupto see what certain programs run as12:17
freemangordonit powered down12:17
Wizzupok12:17
freemangordonprobably by elogind12:17
Wizzupah, yes.12:17
Wizzupthis is a config option12:17
freemangordonlemme check how to disable elognd power button attach12:17
Wizzuphttps://www.reddit.com/r/voidlinux/comments/n66ira/power_button_ignores_all_config_and_forcibly/12:18
WizzupHandlePowerKey=ignore12:18
freemangordonk12:18
Wizzupunder [Login]12:18
freemangordonk12:18
Wizzupfrom https://forums.gentoo.org/viewtopic-p-8590155.html?sid=f7ed4c0f8ad04da6b20966c82220ee0712:19
WizzupI am kind of dumbfounded that it would just work though, I think this is because we have my patched X12:19
Wizzupmaybe we should check if X runs as root or not12:20
freemangordonroot12:21
Wizzupright, that's nor normal under elogind12:21
Wizzupso I wonder if we are started by elogind, or just /etc/init.d/xorg and /etc/init.d/xsession12:21
freemangordonit is because our scripts start it12:21
WizzupI think the latter12:21
Wizzupyes12:21
freemangordonsure12:21
Wizzupbut I am not sure if it even counts as elogind session then12:22
freemangordonbut, do we *want* it started by logind *now*12:22
WizzupI agree12:22
uvossorry, im currently indisposed12:22
freemangordonor, we want to release chimaera12:22
uvosif you h12:22
WizzupI'm just surprised it 'works'12:22
Wizzupuvos: np, this is kind of impromptu :)12:22
uvosif you start x via autologin/no-dm it will run as user12:22
uvosbut you have to have it build with logind support12:22
Wizzupfreemangordon: maybe we shall try the same on a d4 and see what happens12:23
Wizzupuvos: right, that is my understanding too, but that is only true of X in chimaera-experimental12:23
uvosits true on beowulf too12:23
uvosif you rebuild it12:23
uvosunless thats what you mean12:23
freemangordonok, but lets set our goals, ok?12:24
Wizzupright, what I mean is that I build a X without logind for normal chimaera and beowulf, but for chimaera-experimental I built one with logind12:24
freemangordonwhat do we want?12:24
Wizzupfreemangordon: IMO, to release chimaera, regardless of elogind integration12:24
freemangordonagree12:24
Wizzupbut it might make sense to see if the apps that 'require' elogind work12:24
Wizzupwas it gparted? or something?12:25
freemangordonthen, we want to remove conflict from hildon-base and provide elogind config that is appropriate with current setup12:25
freemangordonlemme see12:25
Wizzupfor me the confusing part is that I am pretty sure I did this for chimaera-experimental (hildon-base changes)12:25
Wizzupmaybe the problem is that it was combined with my X changes, and this caused issues12:26
Wizzuplooks like gparted didn't start, I am assuming you're checking via ssh?12:27
Wizzupoh I see it now12:27
freemangordonyes, started from command line with sudo gparted12:27
Wizzupwhat are the errors without sudo12:27
freemangordonotherwise it fails with "Error executing command as another user: No authentication agent found."12:27
Wizzupbecause it wants to become super user for some things12:27
Wizzupright12:27
freemangordonmaybe we lack some other package12:28
Wizzupeither that or something is on the wrong bus12:28
Wizzupcan you inspect ps again and see if there is any other dbus12:28
WizzupI think I saw three12:28
freemangordonhttps://bbs.archlinux.org/viewtopic.php?id=17589512:28
Wizzupthis predates elogind12:28
freemangordonyes, 3, but we have the same before logind as well12:29
Wizzuphmm12:29
Wizzupcan you show them in terminal again?12:29
freemangordonops, sorry12:29
Wizzupcan also be vm terminal :D12:29
freemangordonno idea12:30
freemangordonbut yeah12:30
freemangordoncould be ssh session12:30
Wizzupno, I mean, you could type in vm terminal instead of share this one12:30
freemangordonah12:30
Wizzupthe third one seems like one we probably didn't want to start12:30
freemangordonno, that one is ssh one I guess12:30
freemangordonbut that's normal12:31
freemangordonlemme exit ssh session12:31
freemangordonand check from xterm12:31
freemangordonno idea what it is then12:32
Wizzuppstree?12:32
freemangordonbut it is there even on beowulf12:32
Wizzupoh, ok12:32
Wizzupmaybe some auto start12:32
freemangordonmhm12:32
freemangordonanywayt, this is not new12:32
Wizzupok12:32
freemangordonIIRC it was there even back in ...umm...12:32
freemangordonwhat was before beowulf? ascii?12:32
freemangordonyeah, it iwas there in ascii as well12:33
Wizzupok12:33
freemangordonsee12:33
Wizzupthe only reason I asked about gparted was to check if our potential solution, just running elogind without any integration would cause unexpected issues12:33
freemangordonthe same on beowulf12:34
freemangordonwe lack auth agent12:34
freemangordonthis is not lack of integration IIUC12:34
WizzupI understand, but I am not sure even sure what this would be on gnome / kde, I assume it is just a way to become root12:34
Wizzuplike some gtk sudo thing12:34
Wizzupright, I see what you show, but I think polkit is replaced by elogind12:34
Wizzupmaybe gparted isn't the best test program in any case :)12:35
freemangordonI understand what you mean, but, I don;t hink that shall stop us from releaseing chimaera12:35
Wizzupyes12:35
freemangordonyou can always start with sudo12:36
Wizzupshall I try it on my d4?12:36
freemangordonlemme see power button config first12:36
Wizzupright12:36
WizzupI saw the key was already set, did you set it earlier?12:37
freemangordonhmm12:37
freemangordonno12:37
freemangordonthis is the first boot with that key set12:38
freemangordonhmm, maybe there was some oops12:38
freemangordonnow, why it waits there?12:38
Wizzupis this any different from beowulf?12:39
freemangordonlemme check12:39
freemangordonhmm12:40
freemangordonpressing power button does nothing12:40
Wizzupmight take a bit12:40
Wizzupbtw, maybe also worth checking if acpid is somehow pulled for your amd64 machine12:40
Wizzupthat can also mess with the power button12:41
freemangordonsee beowulf VM12:41
freemangordonit started in 20 seconds12:41
Wizzupah12:42
Wizzupmaybe it's blocking on elogind starting or something?12:42
Wizzupis elogind in any runlevel?12:42
freemangordonwill have to enable boot log to see what it waits for12:42
freemangordonno idea12:43
freemangordonnow it does nothing as well12:43
Wizzupwhat if you wait a bit longer12:43
freemangordonit boots12:43
Wizzuphmm12:43
freemangordonbut waits twice for about 20 seconds doing nothing12:43
Wizzupsmells like some dbus timeout12:44
freemangordonanyway, lemme see if power button is active12:44
freemangordoncool :)12:44
Wizzup:)12:44
Wizzupso why did it not work before?12:44
freemangordonok, what else?12:44
freemangordonwhy do you ask me?12:44
Wizzuphehe12:44
freemangordonI never tried that :p12:44
freemangordonwell, I have a theory12:44
freemangordonit works because it is *me* trying it :p12:45
freemangordonthis happens 95% of the time :D12:45
Wizzuphehe12:45
Wizzupmaybe it is polkit then12:46
freemangordonlemme install polkit12:46
freemangordondo you know tha package name?12:46
Wizzupapt-cache search polkit12:47
Wizzup?12:47
freemangordonany idea what ukui-polkit is?12:47
Wizzupno12:48
WizzupI don't think ukui is relevant12:48
Wizzuphttps://packages.debian.org/search?suite=bullseye&searchon=names&keywords=polkit12:48
Wizzupmaybe try libpolkit-agent-1-012:49
Wizzupis it running?12:49
freemangordonno, I will have to start it it seems12:49
freemangordonhmmm12:51
Wizzupcompare dbus addrs maybe12:51
Wizzupalthough you did run standalone for both12:51
Wizzupmaybe dbus-monitor or something?12:51
freemangordonright12:52
WizzupI mean, this might not be very important12:52
freemangordonyeah, but I want to spend few more minutes12:52
Wizzup:)12:52
Wizzupshould the agent run as user? I mean, probably, but?12:53
Wizzupand is polkitd running?12:54
freemangordonpolkitd?12:54
Wizzuphttps://packages.debian.org/sid/polkitd12:54
Wizzupoh, it's not in bullseye12:54
Wizzupnevermind then I guess12:54
WizzupI think the agent still needs a handler so that there is user interaction12:57
freemangordonwhat do you mean?12:57
Wizzupsomething that shows a dialog12:57
Wizzuplike gtk-pinentry or something (analogous?)12:57
uvoshttps://uvos.xyz/maserati/screenshots/2020-06-30-205758_960x540_scrot.png12:58
Wizzuphttps://en.wikipedia.org/wiki/UKUI_(desktop_environment)12:58
Wizzupfreemangordon: ^12:58
freemangordonhow did you do that?12:59
uvosgtk askpass implementation12:59
Wizzupbut this is not polkit, this is gksudo12:59
freemangordonok, but what is the package?12:59
Wizzupright?12:59
uvosWizzup: no idea it just installed it and it worked in most places13:00
Wizzupuvos: what about gparted?13:00
freemangordonuvos: I am getting "Error executing command as another user: No authentication agent found." despite I installed ukui-polkit13:00
uvosgood question about pacakge13:00
freemangordonok, lets sum up13:01
freemangordonthe only issue with logind so far is power button handling, from leste POV13:02
uvosssh-askpass-fullscreen13:02
uvosif you have that installed and remove the ssh all all thing it will pop up in ham etc13:03
Wizzupfreemangordon: I would like to check that it is also ok on phones13:03
uvosill check gparted in a bit13:03
freemangordonI will do now13:03
uvos*sudo all all thing13:03
uvosnot ssh13:03
uvosie nopasswd sudo13:03
freemangordon"Could not open a connection to your authentication agent."13:06
freemangordonthis is from ssh-add13:06
freemangordonin the meanwhile I have run-standalone.sh /usr/lib/x86_64-linux-gnu/ukui-polkit/polkit-ukui-authentication-agent-1 running13:06
Wizzupfreemangordon: ukui is a desktop environment like MATE and gnome13:10
freemangordonright13:10
Wizzupso maybe it needs it's own session before any of this will work13:10
freemangordonok13:10
Wizzupare you doing as d4 elogind instal or shall I try it?13:10
freemangordonanyway, shall we sum up and decide what next?13:11
freemangordonyes, will do13:11
freemangordonWizzup: how to start virtual ssh or whatever?13:12
WizzupI don't understand the questionb13:13
freemangordonanyway13:13
freemangordonshared ssh session13:13
freemangordonbut not important13:13
freemangordonWizzup: see jitsi13:14
Wizzupok13:14
Wizzupif you git fetch you can checkout experimental branch13:15
Wizzupthat works too13:16
Wizzupdoes this device have ck installed?13:17
freemangordonlemme check13:18
freemangordonyes, removing13:18
freemangordonthat's it, right?13:20
freemangordonWizzup: ^^^13:20
freemangordonshall I reboot and see13:20
Wizzupyes13:23
WizzupI think so13:23
freemangordonit is up and running13:24
Wizzupok13:24
Wizzupshall I make a hildon-base for chimaera-devel?13:24
Wizzupand maybe have it conflict with consolekit13:24
freemangordonwhat about logind.conf?13:25
freemangordonwe have to divert. or, does it support run-parts/13:26
freemangordon?13:26
freemangordonyes, it does13:26
freemangordonso we need /etc/elogind/logind.conf.d/maemo-leste.conf13:26
Wizzupright13:26
freemangordonare you going to do it?13:26
freemangordonBTW, why chimaera-devel?13:27
Wizzupok, but let's try it on your phone13:27
freemangordonlets push that to chimaera and call it a day13:27
freemangordonsure, NP13:27
Wizzup-devel because then we don't accidentilly break the users who are already on chimaera13:27
Wizzupwe can move it over an hour later13:27
freemangordonme and you I guess :D13:27
WizzupI think more13:27
Wizzuprafael too for sure, maybe some users13:27
freemangordonoh, ok13:27
Wizzupso do we place the =ignore stuff there?13:28
Wizzup(teh file)13:28
freemangordonlemme test it gere13:28
freemangordon/etc/elogind/logind.conf.d/maemo-leste.conf thingie13:28
freemangordon*here13:28
WizzupI doubt that is can restart, but maybe :D13:29
Wizzuptry13:29
Wizzupsudo loginctl reload13:29
Wizzupfreemangordon: ^13:30
freemangordonummm13:30
freemangordon/etc/init.d/elogind restart13:30
freemangordonbut ok13:30
Wizzup   System Commands13:30
Wizzup       reload13:30
Wizzup           Reload the elogind configuration. While the daemon is being reloaded, all sockets elogind listens on behalf of user configuration will stay accessible.13:30
Wizzupok, feel free to try13:30
freemangordonalready did13:30
Wizzup:)13:30
freemangordonit works13:30
Wizzupok, maybe try restart13:30
WizzupI will prepare packages13:30
freemangordonWizzup: https://pastebin.com/hLRp8wJp13:31
freemangordonso, once we have that released, I guess we can come-up with our own auth agent13:32
freemangordonshould;t be that hard.13:32
freemangordonassuming we know how to properly register it13:32
Wizzupright13:32
freemangordonblueman is running13:34
freemangordonI guess I have to review uvos' PR about hildon-status-menu13:34
Wizzuphildon-base is building13:35
Wizzupnow leste-config13:35
freemangordoncool13:35
freemangordonWizzup: why the conflict with consolekit?13:37
maemish_Following this at my friends summer cottage having my birthday party.13:37
freemangordoncheers and happy birthday13:38
* freemangordon is afk for 5 minutes13:39
WizzupI left the jitsi, I'm going to upgrade from -devel13:40
Wizzupoh, -devel has the xorg with elgoind changed13:41
WizzupI will remove it from there and move it to experimental13:42
freemangordonon my d4 I have 1:7.7+2213:47
WizzupE: This installation run will require temporarily removing the essential package hildon-base:armhf due to a Conflicts/Pre-Depends loop. This is often bad, but if you really want to do it, activate the APT::Force-LoopBreak option.13:48
WizzupE: Reverse conflicts early remove for package 'elogind:armhf' failed13:48
Wizzupfreemangordon: huh, xorg?13:48
freemangordonyes13:48
Wizzupit should be 1.20.11.113:48
Wizzupyou might be checking some other version13:48
freemangordonoh, wait13:48
freemangordonthis is xserver-xorg13:48
freemangordonxserver-xorg-core is 2:1.20.11.1-1+m713:48
Wizzupright13:49
freemangordonis this the "correct" version13:49
freemangordon?13:49
Wizzupyes13:49
freemangordonok13:49
freemangordonWizzup: ok, why do we conflict consolekit and require alogind?13:50
freemangordon*elogind13:50
Wizzupwhy not?13:51
Wizzupdo we want users to 'choose' which they want?13:51
Wizzup(that sounds funny out of context)13:51
freemangordonright now we do not *require* any of those13:51
WizzupI think it is better to have a consistent base13:51
freemangordonwhen we have proper integration, well, that's another story13:51
Wizzupotherwise when we get reports we have to ask13:51
freemangordonok, we can only conflict with ck without requiring elogind13:52
Wizzupthat will still make it inconsistent13:52
freemangordonso if one wants to install blueman or something, elogind will be installed13:52
WizzupI am fine if you want to go this way btw13:52
Wizzupjust wasn't my first thought13:52
freemangordonas you wish, but I think this is more sane13:53
freemangordonWizzup: do you want me to do anything else now?13:58
freemangordonuvos: could you help with investigating how to properly register auth agent when you have some spare time?13:59
Wizzupok, my droid dist-upgraded to devel also boots14:00
freemangordonalso, do we really need elogind for anything but that one?14:00
freemangordonsorry my ignorance14:01
Wizzupeventually if we can use it, it won't be bad for us I think14:01
Wizzuplike we can run X as user14:01
Wizzupand streamline the dbus setup14:01
WizzupI don14:01
WizzupI don't know what -requires- it14:01
Wizzuphm, my device just rebooted14:01
Wizzuplet's see if it's power button related14:01
Wizzupvery much like what happened to you14:02
freemangordonmaybe config didn;t make it14:02
Wizzupmhm14:02
freemangordonugh14:02
freemangordongot sms while powering off :)14:02
Wizzupheh14:02
Wizzuptelephony is *hard* :)14:03
freemangordonand that seems to hung the device14:04
Wizzupfor me the power button worked just once14:04
Wizzupand now it's rebooting14:04
Wizzupthe config seemed to be there though14:04
freemangordonhmm14:04
freemangordonthats why I powered down14:04
Wizzuphm?14:04
freemangordonto see if after power-up the config will still work14:04
WizzupI don't follow14:05
freemangordonafter I created the run-parts file, I didn't reboot14:05
freemangordonjust restarted the service14:05
WizzupI rebooted after installing elogind14:05
Wizzupfirst thing14:05
Wizzupand it doesn't seem to work as expected yet14:05
freemangordonand did sudo loginctl reload14:05
Wizzuplet me check the mainconfig file14:05
freemangordonworks here after reboot as well14:06
freemangordonmaybe you have a typo or missing new line or dunno14:06
Wizzupand double press lock works too?14:07
freemangordonyes14:07
freemangordonsingle-press opens the menu14:07
freemangordonit is as it should be14:07
freemangordon*is it14:07
freemangordondo you have \n at the end of /etc/elogind/logind.conf.d/maemo-leste.conf ?14:08
Wizzupwill check14:10
Wizzupafter that I have go to for a bit14:10
freemangordonme too14:10
Wizzupwait14:10
Wizzupok14:11
WizzupI messed up the config place14:11
freemangordonhmm?14:11
freemangordonah :)14:11
Wizzupok14:11
freemangordoncheck  for the right placehttps://pastebin.com/hLRp8wJp14:11
Wizzupyeah I did14:12
WizzupI will fix when I get back14:12
freemangordonok14:12
freemangordonttyl14:12
freemangordonoh, ok, got it17:26
freemangordonwe have to run auth agent in the same session as gparted, for example17:26
buZzuvos: what changed in the latest sphone release? could i already add new contacts from it now?17:26
buZzi tried longclicking or maemo context menus , but nothing seemed to do anything17:27
uvosnothing changed18:05
uvosthe rebuild was nesscary because of the bug in ci18:06
buZzahh ok18:06
buZzuvos: so just refactoring?18:07
buZzi mean the rebuild was just of a refactoring build?18:07
uvosno there was a bug in ci that caused beowulf to get the chimaera package18:07
uvosi had to bump the version and rebuild the pacakge18:07
uvosthats it18:07
uvosthere are no code changes18:07
buZzah ok18:07
freemangordonuvos: why don;t we use autologin to start maemo-launcher process?18:08
uvoswhy would we18:08
uvosand we do18:08
uvosin my system18:08
uvosthe vm18:08
freemangordonbecause hildon-desktop is runs in maemo-launcer process env18:08
freemangordonwe don;t need tinydm, IIUC18:09
uvoswell tinydm is just a script that execs something in a .desktop file18:09
freemangordonmhm18:09
uvosin our case hildon-session18:09
freemangordonbut it relies on autologin18:09
uvoswe do want tinydm however18:09
uvosyes i know18:10
uvoshildon-session then runs scripts in a dir18:10
uvosthats all18:10
freemangordonand it is maemo-launcher that must be started as session parent18:10
buZzWizzup: what was that application called, which you use to hookup droid4 to car media system?18:10
uvosi have a script there that starts the stuff in xsession18:10
uvosas well as m-l and some other sutff18:10
freemangordonah18:10
uvosthis is best18:10
uvosbecause this way hildon-sesson can be started by other dms too18:10
uvoslike gdm or whatever18:11
freemangordonbecause what I did here:18:11
freemangordonstart Xorg as root (no session)18:11
freemangordonstart maemo-launcer via auto-login18:11
uvoswhy would you want to do that?18:11
freemangordonstart hildon-desktop as normal18:11
uvosstart x as root instead of in the session (by the dm)18:11
freemangordonbecause I don;t want to put even more packages just to fulfull some desktop-style boot/login process18:12
freemangordon*pull18:12
uvosbut this is just worse18:12
freemangordonwhy it is better to start X as user?18:12
uvosfor a 100 script? really?18:12
uvosbecause its often the target of cves?18:12
uvosnot useing the desktop style session startup to spare 100 lines of bash is silly18:13
freemangordonok, ok18:13
uvosthe mapphones allso have a extreamly good case to want this system too18:13
uvossince they transform into laptops18:13
freemangordon am still trying to figure out how it is coupled18:13
uvoswhere you might wan to start another session18:13
freemangordonok, so we start tinydm through autologin and the?18:14
freemangordon*then?18:14
uvostinydm looks for a file in the xdg sessions dir18:14
uvosthere is a file that points to hildon-session18:14
uvosthen it starts x18:14
freemangordon'it'?18:15
uvosand execs the hildon-sessoin script18:15
uvostinydm18:15
freemangordonok18:15
uvosthe hildon-session script runs the stuff in xsession18:15
freemangordonand our hildon-session file start everything that is neeed18:15
uvosall of this works fine18:15
uvosif you avoid starting af-services18:15
freemangordonso, maemo-launcher shall be started by session script as well, right?18:15
uvosyes18:16
freemangordonI still don;t see why af-services is an issue18:16
freemangordonlike, you explained...18:16
uvoshttps://github.com/maemo-leste/hildon-session/blob/master/hildon-session/usr/bin/hildon-session18:16
freemangordonbut I don;t get the problem18:16
uvosits just a script that runs a .d18:16
freemangordonsure18:16
freemangordonI am talking about dbus user session18:17
freemangordonanyway, I need to think about that for a while18:18
freemangordonttyl18:18
buZz1668604753 <Wizzup> bt+mpris works in my car19:13
buZzah, was that it?19:13
buZzi think so!19:14
Wizzupwill catch up later tonight19:36
joergyou can tell buZz is a geek, from the timestamps they use ;-)23:01
joerghmm23:07
joergcmd: date -d @1668604753 >Wed Nov 16 14:19:13 CET 202223:07
buZzjoerg: its from the irc.txt in topic ;)23:24

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!