doesn't switch to graphical VT when auto login is turned on, (multiseat)

Bug #977547 reported by shawnlandden
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Light Display Manager
In Progress
Undecided
Richard Hansen
lightdm (Ubuntu)
In Progress
Undecided
Richard Hansen

Bug Description

I have a working multiseat system with the 2nd seat Displaylink-based USB touchscreen.

the 2nd seat auto-logs in fine, and the first seat (AMD) comes up fine to lightdm.

If i set autologinup, then the 2nd seat starts fine, but the first seat is blank until i

ctrl-alt-f7

at which it logs in.

is it this in my Xorg, does it need to VT switch agressively like lightdm usually does, or is it this in my Xorg:

Section "ServerLayout"
  Option "AllowEmptyInput" "true"
EndSection

Related branches

Revision history for this message
shawnlandden (shawnlandden) wrote :

precise

Revision history for this message
shawnlandden (shawnlandden) wrote :
Revision history for this message
shawnlandden (shawnlandden) wrote :
Revision history for this message
shawnlandden (shawnlandden) wrote :
Revision history for this message
shawnlandden (shawnlandden) wrote :

this problem seems to be more general, so making title fit that

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lightdm (Ubuntu):
status: New → Confirmed
Revision history for this message
Felix (signor-rossi) wrote :

Finally switched to xdm and the first login screen was shown.

Tried numerous things, which all did not work:
- Kernel parameter: nomodeset (Display did not come up at all)
- Kernel parameter: acpi=off nolapic noapic
- Blacklisting Framebuffer-Driver in "/etc/modprobe.d/blacklist-framebuffer.conf"
- Added 'Option "VGAAccess" "true/false"' in xorg_seat0.conf
- Added vt7 ond or -isolateDevice to X command in lightdm.conf
- Changed minimum-vt to 8 or higher in lightdm.conf
- Added 'chvt 7' to display-setup-script

Spent lots on hours on that... xdm is not very cute, but works. Current gdm is told not to support multiseat. kdm was no choice for me, because there is no other kde-stuff on that system. May be lxdm is an alternative until this bug is fixed.

Revision history for this message
ELIPTUS (eliptus+launchpad) wrote :

This issue appears to be timing related. I was able to work around it by adding "display-setup-script=sleep 10" to the first seat.

Revision history for this message
shawnlandden (shawnlandden) wrote :

actually i remember working around this with -sharevts and -novtswitch to Xorg

after working around it does the other seat work? do they both work at the same time?

Revision history for this message
ELIPTUS (eliptus+launchpad) wrote :

I already had -sharevts and -novtswitch in the X command-line and still saw the issue.

Yes, with this workaround, both seats work for me.

Revision history for this message
shawnlandden (shawnlandden) wrote :

Hmm, cause i eventually got both seats to auto-login and work. I guess i'll go look at my config and report back.

Revision history for this message
ELIPTUS (eliptus+launchpad) wrote :

Regarding my workaround, it appears to work for the initial launch, but not if I attempt to restart X.

Revision history for this message
Felix (signor-rossi) wrote :

I disabled tty2 to tty6 by removing /etc/init/tty[2-6].conf (or rename to *.bak).
Additionally I replaced getty with fgetty.
apt-get install fgetty
Changed "exec /sbin/getty -8 38400 tty1" to "exec /sbin/fgetty tty1" in /etc/init/tty1.conf

No lightdm brings up a login-screen on the first seat without the need to press CTRL-ALT-F7

Revision history for this message
Felix (signor-rossi) wrote :

Seems it was a random issue. After a further reboot, the problem came up again. On another machine with two seats the problem disapears reliabally when I add "minimum-vt=10" to /etc/lightdm/lightdm.conf. But this workarround does not work on the other machine...
Attached you see my config.

Revision history for this message
Felix (signor-rossi) wrote :
Revision history for this message
Felix (signor-rossi) wrote :
Revision history for this message
Felix (signor-rossi) wrote :
Revision history for this message
Anthony (craigslistamc) wrote :

This affected me while i had seat0 as auto-login. Seat1 would get lightdm greeter and seat0 would require ctrl+alt+F7
I switched it to seat1 being auto-login and now there is no need to do that. I updated the MultiseatX page using my setup as an example. The relevant files can be found there.

Richard Hansen (rhansen)
tags: added: multiseat
Revision history for this message
Richard Hansen (rhansen) wrote :

This is because LightDM assigns each seat a different virtual terminal, and switches to that virtual terminal whenever X is (re)started.

I have some changes to LightDM in progress to add more complete multiseat support. If you are using Ubuntu, please try installing the version of LightDM in my PPA (<https://launchpad.net/~a7x/+archive/multiseat>):

    sudo apt-add-repository ppa:a7x/multiseat
    sudo apt-get update
    sudo apt-get upgrade

More complete instructions can be found by visiting the PPA page.

Changed in lightdm:
assignee: nobody → a7x (a7x)
Changed in lightdm (Ubuntu):
assignee: nobody → a7x (a7x)
Changed in lightdm:
status: New → In Progress
Changed in lightdm (Ubuntu):
status: Confirmed → In Progress
tags: added: precise
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.