which bring me back to questioning xauth. Xorg to be more specific. Don't know why my gut says it's not lightdm..
Also - why last four processes goes under lightdm tree? from logic by process name ok, but from parent pgid logic..?
(i'm writing this post offline. second day)
so i thought let's try good old `kill -9` and what i discovered - killing lightdm doesn't do anything besides hanging the pc, but killing Xorg (in pts hangs, in tty restarts gui interface in pts) and both ways killing Xorg creates the file!
what is your lightdm version? mine 1.2.1
if i do `ps -ef | grep lightdm` while writing this post i get:
root 1108 1 0 May23 ? 00:00:00 lightdm lightdm/ root/:0 -nolisten tcp vt7 -novtswitch
root 15862 1108 4 May23 tty7 00:04:14 /usr/bin/X :0 -auth /var/run/
root 15916 1108 0 May23 ? 00:00:00 lightdm --session-child 12 25
there's already `--sesion-child` running as root. i couldn't find documentation anything else that running `lightdm --session-child` myself:
Usage: lightdm --session-child INPUTFD OUTPUTFD
it exits with value 1 "if (argc != 4)" output" "to_deamon_output"
looking at source code of lightdm 1.2.1 those two integers stands for "from_deamon_
running `lightdm --test-mode` on pts gives me the same Xephyr requirement, but running it on tty says:
"Failed to get D-Bus connection"
if i build ps tree `ps -ejH`:
PID PGID SID TTY TIME CMD
1108 1108 1108 ? 00:00:00 lightdm
1163 1163 1163 tty7 00:06:39 Xorg
1931 1108 1108 ? 00:00:00 lightdm
1962 1962 1962 ? 00:00:00 sh
1991 1991 1991 ? 00:00:00 ssh-agent
2008 1962 1962 ? 00:00:00 xscreensaver
2010 1962 1962 ? 00:00:00 xfce4-session
which bring me back to questioning xauth. Xorg to be more specific. Don't know why my gut says it's not lightdm..
Also - why last four processes goes under lightdm tree? from logic by process name ok, but from parent pgid logic..?
(i'm writing this post offline. second day)
so i thought let's try good old `kill -9` and what i discovered - killing lightdm doesn't do anything besides hanging the pc, but killing Xorg (in pts hangs, in tty restarts gui interface in pts) and both ways killing Xorg creates the file!