[st_barszus] wrote:

> The environment variable XDM_MANAGED needs to be set, so the right logout window appears, otherwise kde assumes to be started via startx from console and those showing only the cutted down logout window. Adding export XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched to startx.autologin fixes the problem.


Well, it only seems to solve the problem.


If we set this environment variable, logout window really appears, and
it seems we would be able to: 1) log on as another user, 2) shut down
the pc, or, 3) reboot the pc.

The problem is, whichever option we choose, when we quit from KDE (logs
taken from /var/log/messages)...:

(...)
Jul 29 18:17:20 netcologne autologin(pam_unix)[1034]: session closed for
user tch

...we're immediately logged in again:

Jul 29 18:17:27 netcologne kde3(pam_unix)[2122]: session opened for user
tch by (uid=0)
(...)


This happens only first time after we boot and log in (auto-log in), in other words:

1) we start a pc and log-in using autologin:

autologin(pam_unix)[1033]: session opened for user tch by (uid=0)

2) we want to reboot, shut down, or log in as another user:

autologin(pam_unix)[1033]: session closed for user tch

3) we're logged in automatically!

kde3(pam_unix)[2337]: session opened for user tch by (uid=0)

4) we log out again - from now on we're able to reboot, shut down etc.:

kde3(pam_unix)[2337]: session closed for user tch
kde3(pam_unix)[3201]: session opened for user tch by (uid=0)



Regards,

-- T.






Reply via email to