Re: [gdm-list] Multiseat: gdmgreeter does not start on the first server
- From: Paul van der Vlis <paul vandervlis nl>
- To: Brian Cameron <Brian Cameron Sun COM>, gdm-list gnome org
- Subject: Re: [gdm-list] Multiseat: gdmgreeter does not start on the first server
- Date: Wed, 29 Apr 2009 11:24:12 +0200
Brian Cameron schreef:
> Paul:
>
> Looking at the debug log, it looks like GDM is starting up two servers.
> Note the two lines that read as follows:
>
> Apr 28 12:10:14 server gdm[3842]: DEBUG: gdm_server_spawn:
> '/usr/X11R6/bin/X :0 -nolisten tcp -novtswitch -sharevts -layout seat0
> -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7'
>
> Apr 28 12:10:22 server gdm[4014]: DEBUG: gdm_server_spawn:
> '/usr/X11R6/bin/X :1 -nolisten tcp -novtswitch -sharevts -layout seat1
> -auth /var/lib/gdm/:1.Xauth -nolisten tcp vt7'
>
> Note that it looks like it is trying to display both login windows
> to "vt7", so I suspect the problem does have something to do with VT.
> Trying to display two login screens to the same VT probably won't
> work as you want.
Many thanks for your help Brian!
I have changed the command= lines into this:
command=/usr/X11R6/bin/X -novtswitch -sharevts -layout seat0 vt7
command=/usr/X11R6/bin/X -novtswitch -sharevts -layout seat0 vt8
> If changing "flexible" to false
I have changed "flexible" to false for both servers.
> doesn't do the trick, you might try
> setting "VTAllocation=false" in the configuration file to disable VT
> completely. You might not need the "-novtswitch -sharevts" arguments
> if you do this, though I'm not really sure what those arguments are
> needed for. Also not sure why you have "-nolisten tcp" in the
> command twice. That seems unnecessary.
I found out that GDM is reading first a file
/usr/share/gdm/defaults.conf.
In that file I found the option [security] DisallowTCP=true
This adds "-nolisten tcp" to the X command.
I have copied that defaults.conf file to
http://server.vandervlis.nl/defaults.conf
After this changings (I did not change VTAllocation) on the first
monitor I saw 2 mouse cursors. On the second monitor I saw nothing.
This is the log: http://server.vandervlis.nl/syslog3
Then I also put VTAllocation=false into the [daemon] section and I
removed "-novtswitch -sharevts" from the commands. After that, I did not
saw an X-server starting on the first monitor. On the second monitor
everything was OK. This is the log:
http://server.vandervlis.nl/syslog4
With regards,
Paul
> Brian
>
>
>>> What version of GDM are you using? Run
>>> "gdmflexiserver --command=VERSION" or "gdmflexiserver --version" to
>>> find out. If using GDM 2.21 or later, please note that it does not
>>> support multi-displays.
>>
>> It is GDM 2.20.7.
>>
>>>> I have made a multi-seat computer with 2 Xorg servers (2 users, 2
>>>> videocards), the problem is that on the first server (seat0) gdmgreeter
>>>> does not start (the X-server starts). The second server works fine.
>>>>
>>>> When I remove the second server then the first server works fine.
>>>> I hope somebody can tell me what I am doing wrong.
>>>>
>>>> I will add my gdm.conf and my xorg.conf. You can find my syslog
>>>> messages
>>>> here: http://server.vandervlis.nl/syslog2
>>> The above link doesn't work for me. I get a "404 Not Found" error. It
>>> would be helpful to review the GDM-related syslog messages to determine
>>> the problem.
>>
>> Sorry, the site works now.
>>
>>> One issue may be that you define both servers to have "flexible=true".
>>> The "flexible=true" is only meaningful on displays which support VT.
>>> Since you seem to be disabling VT on the X command line, I'd think
>>> you would want this to be false. Not sure if this is the problem,
>>> though.
>>
>> I will test that tomorrow.
>>
>>> Brian
>>>
>>>> [server-Standard0]
>>>> name=Standard0
>>>> command=/usr/X11R6/bin/X -nolisten tcp -novtswitch -sharevts -layout
>>>> seat0 # on one line
>>>> flexible=true
>>>> chooser=false
>>>> handled=true
>>>> priority=0
>>>>
>>>> [server-Standard1]
>>>> name=Standard1
>>>> command=/usr/X11R6/bin/X -nolisten tcp -novtswitch -sharevts -layout
>>>> seat1 # on one line
>>>> flexible=true
>>>> chooser=false
>>>> handled=true
>>>> priority=0
>>>> --------------
>>>>
>>>> xorg.conf
>>>> -----------
>>>> Section "ServerFlags"
>>>> Option "DefaultServerLayout" "seat0"
>>>> Option "AllowMouseOpenFail" "true"
>>>> Option "AutoAddDevices" "false"
>>>> EndSection
>>>>
>>>> Section "ServerLayout"
>>>> Identifier "seat0"
>>>> Screen 0 "screen0" 0 0
>>>> InputDevice "Mouse0" "CorePointer"
>>>> InputDevice "Keyboard0" "CoreKeyboard"
>>>> EndSection
>>>>
>>>> Section "ServerLayout"
>>>> Identifier "seat1"
>>>> Screen 1 "screen1" 0 0
>>>> InputDevice "Mouse1" "CorePointer"
>>>> InputDevice "Keyboard1" "CoreKeyboard"
>>>> EndSection
>>>>
>>>> Section "Module"
>>>> Load "dbe" # Double-Buffering Extension
>>>> Load "v4l" # Video for Linux
>>>> Load "extmod"
>>>> Load "freetype"
>>>> Load "glx" # 3D layer
>>>> EndSection
>>>>
>>>> Section "InputDevice"
>>>> Identifier "keyboard0"
>>>> Driver "evdev"
>>>> Option "XkbRules" "xorg"
>>>> Option "XkbModel" "pc104"
>>>> Option "XkbLayout" "us"
>>>> Option "Device"
>>>> "/dev/input/by-path/pci-0000:00:10.3-usb-0:1.1:1.0-event-kbd"
>>>> EndSection
>>>>
>>>> Section "InputDevice"
>>>> Identifier "keyboard1"
>>>> Driver "evdev"
>>>> Option "XkbRules" "xorg"
>>>> Option "XkbModel" "pc104"
>>>> Option "XkbLayout" "us"
>>>> Option "Device"
>>>> "/dev/input/by-path/pci-0000:00:10.3-usb-0:4.4:1.0-event-kbd"
>>>> EndSection
>>>>
>>>> Section "InputDevice"
>>>> Identifier "mouse0"
>>>> Driver "evdev"
>>>> Option "Device"
>>>> "/dev/input/by-path/pci-0000:00:10.3-usb-0:1.2:1.0-event-mouse"
>>>> EndSection
>>>>
>>>> Section "InputDevice"
>>>> Identifier "mouse1"
>>>> Driver "evdev"
>>>> Option "Device"
>>>> "/dev/input/by-path/pci-0000:00:10.3-usb-0:4.3:1.0-event-mouse"
>>>> EndSection
>>>>
>>>> Section "Device"
>>>> Identifier "card0"
>>>> Driver "mga"
>>>> BusID "PCI:01:00:0"
>>>> EndSection
>>>>
>>>> Section "Device"
>>>> Identifier "card1"
>>>> Driver "sis"
>>>> BusID "PCI:00:13:0"
>>>> EndSection
>>>>
>>>> Section "Monitor"
>>>> Identifier "monitor0"
>>>> HorizSync 30-65
>>>> VertRefresh 50-75
>>>> EndSection
>>>>
>>>> Section "Monitor"
>>>> Identifier "monitor1"
>>>> HorizSync 30-50
>>>> VertRefresh 50-60
>>>> EndSection
>>>>
>>>> Section "Screen"
>>>> Identifier "screen0"
>>>> Monitor "monitor0"
>>>> Device "card0"
>>>> DefaultDepth 24
>>>> SubSection "Display"
>>>> Depth 24
>>>> Modes "1680x1050"
>>>> EndSubSection
>>>> EndSection
>>>>
>>>> Section "Screen"
>>>> Identifier "screen1"
>>>> Monitor "monitor1"
>>>> Device "card1"
>>>> DefaultDepth 16
>>>> SubSection "Display"
>>>> Depth 16
>>>> Modes "1024x768"
>>>> EndSubSection
>>>> EndSection
>>>> -------------
>>>>
>>>>
>>
>>
>>
>>
>>
>>
>> Met vriendelijke groet,
>> Paul van der Vlis.
>>
>>
>>
>>
>
--
http://www.vandervlis.nl/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]