You are not logged in.

#1 2013-09-10 21:10:56

mzat
Member
Registered: 2013-08-31
Posts: 8

Problem with lightdm and multiseat

Hi everybody,
so I'm trying to setup a multiseat desktop but I'm completely stuck.
I've followed the wiki for the part regarding xorg.conf and tried to grab from the internet the part for lightdm.conf.
Btw what happens is that the computer starts and give me two login screen on both monitor.
In each of the screen the input devices are correct.
The problem is that I cant access, namely if I put the password the screen becomes black and brings me back to the login screen.
So I've tried to start manually with

X -layout seat{0|1}

and the screen becomes black.
So I cannot understand if the problem is in xorg.conf or in lightdm.conf.

Here xorg.conf:

Section "ServerFlags"
        #Option "AutoAddDevices"     "false"
        #Option "AutoEnableDevices"  "false"
        Option "AllowMouseOpenFail" "on"
        #Option "AllowEmptyInput" "on"
        #Option "ZapWarning"         "on"
        #Option "HandleSpecialKeys"  "off" # Zapping on
        #Option "DRI2" "on"
        Option "Xinerama" "false"
EndSection

Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "evdev"
    Option         "Device" "/dev/input/by-id/usb-04d9_2517-event-kbd"
    Option         "XkbRules"   "xorg"
EndSection

Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "evdev"
    Option         "Protocol"              "IMPS/2"
    Option         "Device"  "/dev/input/by-id/usb-04d9_2517-if01-event-mouse"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "evdev"
    Option         "Device" "/dev/input/by-id/usb-Logitech_USB_Receiver-event-kbd"
    Option         "XkbRules"   "xorg"
EndSection

Section "InputDevice"
    Identifier     "mouse0"
    Driver         "evdev"
    Option         "Protocol"              "IMPS/2"
    Option         "Device" "/dev/input/by-id/usb-Logitech_USB_Receiver-if01-event-mouse"
EndSection

Section "Device"
    Identifier     "nvidia0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 210"
    BusId          "PCI:01:00:0"
    Option         "NoLogo" "1"
    Option "ProbeAllGpus"          "false"
EndSection

Section "Device"
    Identifier     "nvidia1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 650"
    BusId          "PCI:06:00:0"
    Option         "NoLogo" "1"
    Option "ProbeAllGpus"          "false"
EndSection
Section "Device"
    Identifier     "nvidia1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 650"
    BusId          "PCI:06:00:0"
    Option         "NoLogo" "1"
    Option "ProbeAllGpus"          "false"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer AL1916W"
    HorizSync       31.0 - 84.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS" "1"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DELL U2412M"
    HorizSync       30.0 - 83.0
    VertRefresh     50.0 - 61.0
    Option         "DPMS" "1"
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "nvidia1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "nvidia0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "seat0"
        Screen          "Screen0"       0                   0
        InputDevice     "mouse0"        "CorePointer"
        InputDevice     "keyboard0"     "CoreKeyboard"
        Option "AutoAddDevices" "off"
        Option "Xinerama" "0"
EndSection

Section "ServerLayout"
        Identifier      "seat1"
        Screen          "Screen1"       0                   0
        InputDevice     "mouse1"        "CorePointer"
        InputDevice     "keyboard1"     "CoreKeyboard"
        Option "AutoAddDevices" "off"
        Option "Xinerama" "0"
EndSection

and here's lightdm.conf

[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
minimum-vt=7
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
log-directory=/var/log/lightdm
run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#xsessions-directory=/usr/share/xsessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#xgreeters-directory=/usr/share/xgreeters

[SeatDefaults]
#type=xlocal
xserver-command=X
#xserver-layout=
#xserver-config=
#xserver-allow-tcp=false
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
greeter-session=lightdm-gtk-greeter
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-guest=true
#guest-session=UNIMPLEMENTED
session-wrapper=/etc/lightdm/xsession
#display-setup-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-session=UNIMPLEMENTED
pam-service=lightdm-autologin
#exit-on-failure=false

[Seat:0]
xserver-command=/usr/bin/X
xserver-layout=seat0

[Seat:1]
xserver-command=/usr/bin/X :1 -sharevts
xserver-layout=seat1

Thanks to who'll be able to help!

Offline

#2 2013-09-11 07:40:53

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 449

Re: Problem with lightdm and multiseat

If your lightdm install is a bit older, this can be related to recent changes in lightdm.
See this:
https://bbs.archlinux.org/viewtopic.php?id=169552

In this case you can overwrite your /etc/lightdm.conf with /etc/lightdm.conf.pacnew, and re-configure it as you wish.
If this was not the case, sorry. (But the symptoms are quite familiar to me)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#3 2013-09-11 15:38:20

mzat
Member
Registered: 2013-08-31
Posts: 8

Re: Problem with lightdm and multiseat

scar wrote:

If your lightdm install is a bit older, this can be related to recent changes in lightdm.
See this:
https://bbs.archlinux.org/viewtopic.php?id=169552

In this case you can overwrite your /etc/lightdm.conf with /etc/lightdm.conf.pacnew, and re-configure it as you wish.
If this was not the case, sorry. (But the symptoms are quite familiar to me)

Thank you for your answer, that was part of the problem. Now I'm able to login but there's only one monitor working!
Before there were two seats and I wasn't able to login, now there's only one and I'm able to login.
Could it be a problem of the VGAs? Seems strange, I really think that I can't configure well lightdm, but if I want to install gdm it pulls all
gnome-shell, and I use xfce..
What a mess..

Offline

#4 2013-10-14 13:57:42

MisterAnderson
Member
Registered: 2011-09-04
Posts: 285

Re: Problem with lightdm and multiseat

I tried getting it working with xdm but so far it was a no-go. It probably doesn't help my video cards are an nvidia 210 and radeon x300. What cards are you using and which drivers?


D:

Offline

#5 2013-10-15 10:40:49

mzat
Member
Registered: 2013-08-31
Posts: 8

Re: Problem with lightdm and multiseat

MisterAnderson wrote:

I tried getting it working with xdm but so far it was a no-go. It probably doesn't help my video cards are an nvidia 210 and radeon x300. What cards are you using and which drivers?

Hi!
I'm using two nvidia cards, gt210 and gtx650 ti boost.
With xdm it works great, why it doesn't work for you? What happens?

Offline

#6 2013-10-15 11:23:55

MisterAnderson
Member
Registered: 2011-09-04
Posts: 285

Re: Problem with lightdm and multiseat

Second monitor fails to start. I'm thinking a problem between with nouveau and radeon drivers.


D:

Offline

#7 2013-10-15 19:37:03

mzat
Member
Registered: 2013-08-31
Posts: 8

Re: Problem with lightdm and multiseat

MisterAnderson wrote:

Second monitor fails to start. I'm thinking a problem between with nouveau and radeon drivers.

Maybe there is. Can't to see what is the log of xorg?
Just for being sure you can try to set up a simple multimonitor environment. I mean one seat two screen and see if it works.

Offline

Board footer

Powered by FluxBB