[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: switching users kills first user



On Sun, 2007-09-30 at 21:36 +0200, David Bremner wrote:
> >>>>> "Ross" == Ross Boylan <RossBoylan@stanfordalumni.org> writes:
>     Ross> Since this only happens from KDE switch user (I have not,
>     Ross> for example seen it with ctl-alt-Fn) it seems at least
>     Ross> possible KDE has some role in it.
> 
>     Ross> Does anybody know what component or code is responsible for
>     Ross> the switch user stuff?
> 
> 
> Can you switch to a text console, and start a second X server manually 
> on a different virtual terminal?  This might help narrow things down.

I could, but that's different from the failures I'm sure of.  Those
involved switching to a different user in an *already existing* session.

So, the sequence is 
KDM running on vt7
login as user A
switch user | start a new session
KDM running on vt8
login as user B
switch user | back to existing session for A
back as user A on vt7, switch user to existing session for B
kaboom

More specifically, sometimes vt8 flashes up briefly, then the session on
vt7 is killed and control returns to vt7.  It shows the kdm greeter
after the reset is done.

When the dead session is on vt8 I think you get just a blank screen
(i.e., vt8 still showing--but kdm doesn't ordinarily show anything on
vt8).

In practice, there has always been intervening actions and time between
the steps.  Sometimes it works OK.

It's possible sometimes the vt7 would be killed at the initial start of
a new session on vt8, but I'm only sure the problem has happened as
shown above.
> 
> If that works, then maybe kdmctl is worth investigating; at a glance
> it looks like kdmctl can be used to start a new kde session.

Thanks for the pointer.

Ross



Reply to: