LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Multiple X sessions (https://www.linuxquestions.org/questions/slackware-14/multiple-x-sessions-187671/)

tw001_tw 05-30-2004 12:11 PM

Multiple X sessions
 
Multiple X sessions were possible with 2 (or more) different users in Suse. You would click 'start new session' while in KDE, and a login screen would come up - then a different user could log in. You could switch between the sessions by hitting ctrl-alt-F7 for the first, ctrl-atl-F8 for the second and so on.

So here in slackware, I press ctrl-alt-F2 and login under a different user. I type:


startx --:1 and this is my error:

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to xfree86@xfree86.org.


I get the same error if I try it the way I described above, or I just do it from the console without going to the 2nd (ctrl-alt-F2).

Since I have a dual-head card (Xinerama = true) , I have tried startx --:2 thinking that maybe the 2 monitors took up monitor 0 and 1 - no luck.


I have X version 4.4.0. Slackware 9.1, and KDE 3.2.2. Hope that give you enough info. Thanks a lot - tw

keefaz 05-30-2004 12:35 PM

well try startx -- :1.1 but at your own risk lol

tw001_tw 05-30-2004 12:45 PM

I did it with gdm, but had to start gnome to do it..

getting there.... any help though would be appreciated...

iotc247 05-30-2004 01:18 PM

It is very possible.. With xandros linux they made an addon for kde that allows you to switch users (multiple sessions)

r_jensen11 05-30-2004 01:30 PM

Re: Multiple X sessions
 
Quote:

Originally posted by tw001_tw
Multiple X sessions were possible with 2 (or more) different users in Suse. You would click 'start new session' while in KDE, and a login screen would come up - then a different user could log in. You could switch between the sessions by hitting ctrl-alt-F7 for the first, ctrl-atl-F8 for the second and so on.

So here in slackware, I press ctrl-alt-F2 and login under a different user. I type:


startx --:1 and this is my error:

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to xfree86@xfree86.org.


I get the same error if I try it the way I described above, or I just do it from the console without going to the 2nd (ctrl-alt-F2).

Since I have a dual-head card (Xinerama = true) , I have tried startx --:2 thinking that maybe the 2 monitors took up monitor 0 and 1 - no luck.


I have X version 4.4.0. Slackware 9.1, and KDE 3.2.2. Hope that give you enough info. Thanks a lot - tw

Your error is that you don't have a space between the -- and the :, so it should be
Code:

startx -- :1
I can open up multiple X sessions that way, but when I try to go from :1 to :0 (I'm in TTY8 or whatever, and hit CTRL+ALT+F7), then my whole system hangs, I can't even turn on or off caps lock or numlock. I'm guessing it's either XFree86 4.3.0 or it's my ATI drivers. As soon as I find these elusive X.org packages for Slackware, then I'll see if it's XFree86 or not.

iotc247 05-30-2004 03:32 PM

Anyone made a plugin to allow users to switch sessions in kde and to switch then as a differnt user what i mean is where i click new session and it lets me choose which user i want to switch to in the new session.. And then where i click switch user to get another choice of which user to switch back to..

keefaz 05-30-2004 04:02 PM

Yeah with a 3d effect with opengl ;)

tw001_tw 05-30-2004 05:31 PM

thanks r_jenson11 for pointing out the space... I found that reference many places, but nothing ever mentioned a space that I found.

got it working and I can swithc bakc and forth between users (ctrl-alt-F7 and ctrl-alt-F8, I am guessing I can add a third, but 2 is cool, thats all I really need.

And a follow up question for iotc247:

" Anyone made a plugin to allow users to switch sessions in kde..... "

Anyone?? do you have a link to the plugin you are refering too??

iotc247 05-31-2004 09:08 AM

it was a questions tw.. Like anyone made a plugin to allow users to switch sessions in kde???? i just dont like using question marks for everything...

AxelFendersson 05-31-2004 12:35 PM

If you're using gdm, you can start a second X session while logged in with the command gdmflexiserver

I haven't tried it in KDE, only GNOME, but I can't see why it shouldn't work.


All times are GMT -5. The time now is 04:52 PM.