You are not logged in.

#1 2016-07-16 19:27:04

fintara
Member
From: Bulgaria
Registered: 2016-07-16
Posts: 4

[SOLVED] Have to change tty back and forth to show DM

Hello,

I have an unusual problem, that I have to change to another tty(1-6) and then back to tty7, so that LightDM appears (tried with xdm and lxdm - absolutely the same) - it is just black screen otherwise.
The screen is black, but if I hit enter and write my password, I log in. So lightdm works, but unless I change ttys, it's a black screen.

lightdm-gtk-greeter and lightdm-webkit2-greeter - same.
No errors in lightdm logs:

[+0.02s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.02s] DEBUG: Starting Light Display Manager 1.18.2, UID=0 PID=569
[+0.02s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.02s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registered seat module xlocal
[+0.02s] DEBUG: Registered seat module xremote
[+0.02s] DEBUG: Registered seat module unity
[+0.03s] DEBUG: Monitoring logind for seats
[+0.03s] DEBUG: New seat added from logind: seat0
[+0.03s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.03s] DEBUG: Seat seat0: Starting
[+0.03s] DEBUG: Seat seat0: Creating greeter session
[+0.03s] DEBUG: Seat seat0: Creating display server of type x
[+0.03s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.03s] DEBUG: Using VT 7
[+0.03s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.03s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.03s] DEBUG: DisplayServer x-0: Writing X server authority to /run/lightdm/root/:0
[+0.03s] DEBUG: DisplayServer x-0: Launching X Server
[+0.03s] DEBUG: Launching process 575: /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.03s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.03s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.03s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.13s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.13s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+2.55s] DEBUG: Got signal 10 from process 575
[+2.55s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+2.55s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+2.55s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+2.55s] DEBUG: Session pid=603: Started with service 'lightdm-greeter', username 'lightdm'
[+2.58s] DEBUG: Session pid=603: Authentication complete with return value 0: Success
[+2.58s] DEBUG: Seat seat0: Session authenticated, running command
[+2.58s] DEBUG: Session pid=603: Running command /usr/sbin/lightdm-webkit2-greeter
[+2.58s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+2.58s] DEBUG: Session pid=603: Logging to /var/log/lightdm/seat0-greeter.log
[+2.74s] DEBUG: Activating VT 7
[+2.74s] DEBUG: Activating login1 session c1
[+3.27s] DEBUG: Greeter connected version=1.18.2 resettable=false
[+6.93s] DEBUG: Seat seat0 changes active session to 
[+7.65s] DEBUG: Seat seat0 changes active session to c1
[+7.65s] DEBUG: Session c1 is already active
[+10.34s] DEBUG: Greeter start authentication for fintara
[+10.34s] DEBUG: Session pid=706: Started with service 'lightdm', username 'fintara'
[+10.39s] DEBUG: Session pid=706: Got 1 message(s) from PAM
[+10.39s] DEBUG: Prompt greeter with 1 message(s)
[+12.57s] DEBUG: Continue authentication
[+12.59s] DEBUG: Session pid=706: Authentication complete with return value 0: Success
[+12.59s] DEBUG: Authenticate result for user fintara: Success
[+12.59s] DEBUG: User fintara authorized
[+13.61s] DEBUG: Greeter requests default session
[+13.61s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+13.61s] DEBUG: Session pid=603: Sending SIGTERM
[+13.64s] DEBUG: Session pid=603: Exited with return value 0
[+13.64s] DEBUG: Seat seat0: Session stopped
[+13.64s] DEBUG: Seat seat0: Greeter stopped, running session
[+13.64s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+13.64s] DEBUG: Session pid=706: Running command /etc/lightdm/Xsession startxfce4
[+13.64s] DEBUG: Creating shared data directory /var/lib/lightdm-data/fintara
[+13.64s] DEBUG: Session pid=706: Logging to .xsession-errors
[+13.83s] DEBUG: Activating VT 7
[+13.83s] DEBUG: Activating login1 session c2
[+13.83s] DEBUG: Seat seat0 changes active session to 

between 7s and 10s is the change tty7 - tty6 - tty7.
About the failed to execute plymouth - installing plymouth does not change the situation.


It worked well before I installed Steam and 32-bit nvidia drivers (I assume this is the point where something went south).

I have tried adding nvidia modules in mkinitcpio, but no change.

What could be the problem? I could not find any similar problem to mine, unfortunately.

Last edited by fintara (2016-07-20 14:43:07)

Offline

#2 2016-07-20 05:44:12

parchd
Member
Registered: 2014-03-08
Posts: 421

Re: [SOLVED] Have to change tty back and forth to show DM

Have you changed anything else?
Could you provide the pacman log from the update after which this problem started?

Offline

#3 2016-07-20 14:41:15

fintara
Member
From: Bulgaria
Registered: 2016-07-16
Posts: 4

Re: [SOLVED] Have to change tty back and forth to show DM

Thanks for your reply! But apparently the problem lies in nvidia's drivers. More info:

https://bbs.archlinux.org/viewtopic.php?id=215066
https://bbs.archlinux.org/viewtopic.php … 0#p1642500

I've had `Option         "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"` in /etc/X11/xorg.conf.d/20-nvidia.conf. Removed it and now it's OK.

Last edited by fintara (2016-07-20 14:44:31)

Offline

#4 2016-07-20 15:11:38

parchd
Member
Registered: 2014-03-08
Posts: 421

Re: [SOLVED] Have to change tty back and forth to show DM

Glad you've solved it smile

Offline

Board footer

Powered by FluxBB