Can I run a second KDE session, as different user?

Johnny Ernst Nielsen johnny.ernst.nielsen at
Tue Mar 11 07:54:15 GMT 2003

Good day Steve,

Mandag den 10. marts 2003 23:46 kvad Steve King:
> On Monday 10 March 2003 10:34 pm, Basil Fowler wrote:
> > With my method, all displays have use of the sound card.
> I tried your way first. I get some errors. I think they may be
> related to the startx trying to run KDE2 rather than KDE3. (Most of
> my KDE2 installation is wiped, with only kdelibs remaining to
> satisfy some dependencies for some stuff I use.) The final straw
> seems to be "cannot contact kdeinit" or something like that. I will
> collect some more precise information later this week.
> Given the choice between text entry and GUI, I prefer GUI. But then
> I only want to know how to do this for occasional use, so which
> ever method I can get to work best will do.

For an entire extra KDE session, what Basil descibes is available 
through the GUI in KDE 3.0.4/3.0.5.
In the K button is an item "Start New Session".

This keeps my "Johnny" session on Ctl+Alt+F7 and creates a new KDE GUI 
login on Ctl+Alt+F8.

You stop a second session (or a third one) by logging out and 
selecting to "Log on as a different user". That brings you back to 
the previously started session.

As for the sound being shared...
Some systems give the first user that logs in exclusive ownership of 
the sound device, which prevents other users from using the device.

You can check if this is so on your system like this:
Log in (your first login) like "Steve".
Open konsole and type 'ls /dev/dsp*'

You may get a list showing that "Steve" owns the dsp devices.
Now "Start a new session" as some other ordinary user (not root) on 
top of you "Steve" session.
Open konsole and list the dsp devices again.
Here you may see that "Steve" still owns the dsp devices, which 
prevents your newly logged in user from using them.

If you start a new session as root, you will have sound in both your 
root session and "Steve" session because root has permission to use 
devices that are otherwise owned exclusively by ordinary users.

I do not know how to resolve this permission system, but I am sure it 
can be resolved if you need it.

Best regards :o)

Johnny :o)
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list