LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-30-2004, 12:11 PM   #1
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
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
 
Old 05-30-2004, 12:35 PM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,578

Rep: Reputation: 127Reputation: 127
well try startx -- :1.1 but at your own risk lol
 
Old 05-30-2004, 12:45 PM   #3
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Original Poster
Rep: Reputation: 31
I did it with gdm, but had to start gnome to do it..

getting there.... any help though would be appreciated...
 
Old 05-30-2004, 01:18 PM   #4
iotc247
Member
 
Registered: Mar 2004
Location: Florida
Distribution: Gentoo
Posts: 248

Rep: Reputation: 30
It is very possible.. With xandros linux they made an addon for kde that allows you to switch users (multiple sessions)
 
Old 05-30-2004, 01:30 PM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
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.
 
Old 05-30-2004, 03:32 PM   #6
iotc247
Member
 
Registered: Mar 2004
Location: Florida
Distribution: Gentoo
Posts: 248

Rep: Reputation: 30
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..
 
Old 05-30-2004, 04:02 PM   #7
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,578

Rep: Reputation: 127Reputation: 127
Yeah with a 3d effect with opengl
 
Old 05-30-2004, 05:31 PM   #8
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Original Poster
Rep: Reputation: 31
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??
 
Old 05-31-2004, 09:08 AM   #9
iotc247
Member
 
Registered: Mar 2004
Location: Florida
Distribution: Gentoo
Posts: 248

Rep: Reputation: 30
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...
 
Old 05-31-2004, 12:35 PM   #10
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Telnet Sessions rjcrews General 4 07-24-2005 04:07 PM
Multiple Sessions? ttague Linux - Newbie 4 01-02-2005 10:00 AM
Multiple X sessions via VNC ClassicV Linux - Software 1 06-17-2004 04:52 PM
Can't open multiple X sessions JasonSmead Linux - General 1 08-10-2003 02:35 PM
Multiple X sessions gluon Linux - General 1 09-29-2001 10:20 PM


All times are GMT -5. The time now is 03:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration