| View previous topic :: View next topic |
| Author |
Message |
navert n00b

Joined: 03 Sep 2004 Posts: 7
|
Posted: Thu Jan 13, 2005 5:31 am Post subject: Multiple X Servers Not Working |
|
|
On my laptop, I used to have 2 X servers running. One for me and one for my wife. That way we could just CTRL-ALT-FX between the desktops and not have to log out. I tried to upgrade to Xorg-6.8 and that didn't work (I have ATI card), so I backed out, but in the process of trying to fix the Xorg-6.8 thing, I changed my gdm.conf file. Now, I am looking into using gdmflexiserver to handle the multiple X servers, but it is not working either.
When I create another X server, the GDM login manager succesfull loads (this is with gdmflexiserver or with gdm.conf having 2 servers setup). But when I log on to the second server, I get the "Your session was only logged in for 10 seconds, look in your log' message. This is what my log shows:
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:20.Xservers" -h "" -l ":20" "user2"
/etc/X11/gdm/Xsession: Beginning session setup...
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- gnome-session
Xlib: connection to ":0.0" refused by server^M
Xlib: No protocol specified
^M
(gnome-session:13853): Gtk-WARNING **: cannot open display:
I don't quite understand why Xlib is trying to access :0.0 when it should be accessing :20. And what also boggles me is that it worked before, but now it doesn't. This is what my gdm.conf file looks like (if it helps):
[daemon]
AutomaticLoginEnable=false
AutomaticLogin=
TimedLoginEnable=false
TimedLogin=
TimedLoginDelay=30
Greeter=/usr/bin/gdmgreeter
User=gdm
Group=gdm
LogDir=/var/log/gdm
PidFile=/var/run/gdm.pid
PostLoginScriptDir=/etc/X11/gdm/PostLogin/
PreSessionScriptDir=/etc/X11/gdm/PreSession/
PostSessionScriptDir=/etc/X11/gdm/PostSession/
DisplayInitDir=/etc/X11/gdm/Init
XKeepsCrashing=/etc/X11/gdm/XKeepsCrashing
ServAuthDir=/var/gdm
BaseXsession=/etc/X11/gdm/Xsession
UserAuthDir=
UserAuthFBDir=/tmp
UserAuthFile=.Xauthority
StandardXServer=/usr/X11R6/bin/X
FlexibleXServers=5
Xnest=/usr/X11R6/bin/Xnest -audit 0 -name Xnest
FirstVT=7
VTAllocation=true
[greeter]
Browser=false
ChooserButton=false
GraphicalTheme=flowers
GraphicalThemeDir=/usr/share/gdm/themes/
SoundOnLogin=false
[debug]
Enable=false
[servers]
0=Standard
[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X -audit 0
flexible=true
[server-Terminal]
name=Terminal server
command=/usr/X11R6/bin/X -audit 0 -terminate
flexible=false
handled=false
[server-Chooser]
name=Chooser server
command=/usr/X11R6/bin/X -audit 0 |
|
| Back to top |
|
 |
ppurka Advocate

Joined: 26 Dec 2004 Posts: 2782
|
Posted: Thu Jan 13, 2005 7:57 am Post subject: |
|
|
yes, I have faced this problem too. in fact, i tried "New Login in a Nested Window" and "New Login" from my xfce menu. I can log in to the new screen but the new session is displayed in my :0.0 screen. I once tried loggin into kde and the entire kde stuff (panel, etc) was displayed on top and along with my xfce stuff
does some1 have a solution to this?
TIA |
|
| Back to top |
|
 |
navert n00b

Joined: 03 Sep 2004 Posts: 7
|
Posted: Sat Jan 22, 2005 5:39 pm Post subject: Found a fix |
|
|
| I happened upon a forum here in gentoo that explained a way to fix it. I uncommented the three lines that were mentioned in the pam_env.conf and it is working now. I don't know what those three lines were for, but it is working for me now.[/url] |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|