exit windowmaker hangs X, no return to xdm

Will Senn will.senn at gmail.com
Mon Jan 16 07:06:14 PST 2023


On 1/15/23 9:57 PM, Matthew Dillon wrote:
> Login with ssh via another machine and check to see if any processes 
> are still present under the Xorg, preventing it from exiting.  
> Something like 'ps axlR' nicely indents children relative to their 
> parents.   If the Xorg itself is gone, X may have exited but not been 
> able to return to syscons/vty mode.  You can also try running xdm 
> manually instead from /etc/ttys to see if that has something to do 
> with it...  just do 'xdm' with no arguments in that case.
>
> -Matt
Hi Matt,

Thanks for the tip about indented children, very useful. Here are the 
results (neither the xdm by itself, nor the ttys xdm will exit, as 
either user or root). BTW, this isn't just wmaker, it does the same 
thing with fvwm, twm, or cwm (the three other ones I tried). I didn't do 
the process evaluation on any others than wmaker, but the behavior (not 
returning to xdm) is the same.

Thanks,

Will

-------------------------

ttyv8    "/usr/local/bin/xdm -nodaemon"    xterm    off secure

After running xdm
0    893      1    xdm
0    895    893     /usr/local/libexec/Xorg :0 -auth 
/var/db/xdm/authdir/authfiles/A:0-iqxrJt
0    898    893     xdm: :0 (xdm)
0    904      1    xconsole -geometry 480x130-0-0 -daemon -notify 
-verbose -fn fixed -exitOnF

After logging in (to windowmaker)
0    893      1 xdm
0    895    893  /usr/local/libexec/Xorg :0 -auth 
/var/db/xdm/authdir/authfiles/A:0-iqxrJt
0    898    893  xdm: :0 (xdm)
1001    908    898   wmaker
1001    910    908    wmaker --for-real
0    904      1 xconsole -geometry 480x130-0-0 -daemon -notify -verbose 
-fn fixed -exitOnF

After exiting windowmaker
0    893      1 xdm
0    895    893  /usr/local/libexec/Xorg :0 -auth 
/var/db/xdm/authdir/authfiles/A:0-iqxrJt
0    919    893  xdm

After kill -9 895 (xdm comes back and lets me login again)
0    893      1 xdm
0    927    893  /usr/local/libexec/Xorg :0 -auth 
/var/db/xdm/authdir/authfiles/A:0-iqxrJt
0    930    893  xdm: :0 (xdm)
0    936      1 xconsole -geometry 480x130-0-0 -daemon -notify -verbose 
-fn fixed -exitOnF

--------------------------

ttyv8    "/usr/local/bin/xdm -nodaemon"    xterm    on secure

At boot
0    823      1 /usr/local/bin/xdm -nodaemon ttyv8
0    825    823  /usr/local/libexec/Xorg :0 -auth 
/var/db/xdm/authdir/authfiles/A:0-ETgk0V
0    882    823  xdm: :0 (xdm)
0    888      1 xconsole -geometry 480x130-0-0 -daemon -notify -verbose 
-fn fixed -exitOnF

After logging in (to windowmaker)
0    823      1 /usr/local/bin/xdm -nodaemon ttyv8
0    825    823  /usr/local/libexec/Xorg :0 -auth 
/var/db/xdm/authdir/authfiles/A:0-ETgk0V
0    882    823  xdm: :0 (xdm)
1001    905    882   wmaker
1001    907    905    wmaker --for-real
0    888      1 xconsole -geometry 480x130-0-0 -daemon -notify -verbose 
-fn fixed -exitOnF

After exiting windowmaker
0    823      1 /usr/local/bin/xdm -nodaemon ttyv8
0    825    823  /usr/local/libexec/Xorg :0 -auth 
/var/db/xdm/authdir/authfiles/A:0-ETgk0V
0    916    823  /usr/local/bin/xdm -nodaemon ttyv8

After kill -9 825 (xdm comes back and lets me login again)
0    823      1 /usr/local/bin/xdm -nodaemon ttyv8
0    918    823  /usr/local/libexec/Xorg :0 -auth 
/var/db/xdm/authdir/authfiles/A:0-ETgk0V
0    921    823  xdm: :0 (xdm)
0    927      1 xconsole -geometry 480x130-0-0 -daemon -notify -verbose 
-fn fixed -exitOnF

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20230116/edf40a63/attachment-0002.htm>


More information about the Users mailing list