<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 1/15/23 9:57 PM, Matthew Dillon
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOZ7CpDJuNfZ8yMVCyEVKLZkPHuTBUJuXg1dJO8Zn5mSxFZV3A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">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.
<div>
<div><br>
</div>
<div>-Matt</div>
</div>
</div>
</blockquote>
<font face="Helvetica, Arial, sans-serif">Hi Matt,<br>
<br>
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.<br>
<br>
Thanks,<br>
<br>
Will<br>
<br>
-------------------------<br>
<br>
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure<br>
<br>
After running xdm<br>
0 893 1 xdm<br>
0 895 893 /usr/local/libexec/Xorg :0 -auth
/var/db/xdm/authdir/authfiles/A:0-iqxrJt<br>
0 898 893 xdm: :0 (xdm)<br>
0 904 1 xconsole -geometry 480x130-0-0 -daemon -notify
-verbose -fn fixed -exitOnF<br>
<br>
After logging in (to windowmaker)<br>
0 893 1 xdm<br>
0 895 893 /usr/local/libexec/Xorg :0 -auth
/var/db/xdm/authdir/authfiles/A:0-iqxrJt<br>
0 898 893 xdm: :0 (xdm)<br>
1001 908 898 wmaker<br>
1001 910 908 wmaker --for-real<br>
0 904 1 xconsole -geometry 480x130-0-0 -daemon -notify
-verbose -fn fixed -exitOnF<br>
<br>
After exiting windowmaker<br>
0 893 1 xdm<br>
0 895 893 /usr/local/libexec/Xorg :0 -auth
/var/db/xdm/authdir/authfiles/A:0-iqxrJt<br>
0 919 893 xdm<br>
<br>
After kill -9 895 (xdm comes back and lets me login again)<br>
0 893 1 xdm<br>
0 927 893 /usr/local/libexec/Xorg :0 -auth
/var/db/xdm/authdir/authfiles/A:0-iqxrJt<br>
0 930 893 xdm: :0 (xdm)<br>
0 936 1 xconsole -geometry 480x130-0-0 -daemon -notify
-verbose -fn fixed -exitOnF<br>
<br>
--------------------------<br>
<br>
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure<br>
<br>
At boot<br>
0 823 1 /usr/local/bin/xdm -nodaemon ttyv8<br>
0 825 823 /usr/local/libexec/Xorg :0 -auth
/var/db/xdm/authdir/authfiles/A:0-ETgk0V<br>
0 882 823 xdm: :0 (xdm)<br>
0 888 1 xconsole -geometry 480x130-0-0 -daemon -notify
-verbose -fn fixed -exitOnF<br>
<br>
After logging in (to windowmaker)<br>
0 823 1 /usr/local/bin/xdm -nodaemon ttyv8<br>
0 825 823 /usr/local/libexec/Xorg :0 -auth
/var/db/xdm/authdir/authfiles/A:0-ETgk0V<br>
0 882 823 xdm: :0 (xdm)<br>
1001 905 882 wmaker<br>
1001 907 905 wmaker --for-real<br>
0 888 1 xconsole -geometry 480x130-0-0 -daemon -notify
-verbose -fn fixed -exitOnF<br>
<br>
After exiting windowmaker<br>
0 823 1 /usr/local/bin/xdm -nodaemon ttyv8<br>
0 825 823 /usr/local/libexec/Xorg :0 -auth
/var/db/xdm/authdir/authfiles/A:0-ETgk0V<br>
0 916 823 /usr/local/bin/xdm -nodaemon ttyv8<br>
<br>
After kill -9 825 (xdm comes back and lets me login again)<br>
0 823 1 /usr/local/bin/xdm -nodaemon ttyv8<br>
0 918 823 /usr/local/libexec/Xorg :0 -auth
/var/db/xdm/authdir/authfiles/A:0-ETgk0V<br>
0 921 823 xdm: :0 (xdm)<br>
0 927 1 xconsole -geometry 480x130-0-0 -daemon -notify
-verbose -fn fixed -exitOnF<br>
<br>
<br>
</font>
</body>
</html>