View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Fri Mar 23, 2018 3:50 pm Post subject: Lightdm logs in twice |
|
|
I just set up Gentoo on a Lenovo Y520, using nvidia-drivers, xfce4 and lightdm. When I log in after booting up, the screen goes blank for a moment and then lightdm comes back. Logging in the second time works.
When I use slim, it logs me in the first time, but I have to log out then back in again because the xfce applications menu doesn't launch anything unless I log in a second time.
So it looks like lightdm somehow recognizes that something is not quite right and forces the user to log in twice, after which everything works.
I'm curious as to what is going on here.
It's an Optimus laptop, but I'm just stating that in case it's important - I'm not trying to fix Optimus with this post. nvidia-drivers are in use and switched to with eselect opengl, but this happens even if eselect opengl is set to x11. _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Fri Mar 23, 2018 9:01 pm Post subject: |
|
|
Probably some race condition in xfce's startup sequence. If you log out then run `pstree -u $USER` from a separate console without logging in again, do you see things like dbus still running? |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Sun Mar 25, 2018 11:51 am Post subject: |
|
|
If I pstree -u $USER as root after logging in the first time, but before the second, I get:
Code: |
init-+-ModemManager-+-{gdbus}
| `-{gmain}
|-NetworkManager-+-dhclient
| |-{gdbus}
| |-{gmain}
| `-{pool}
|-5*[agetty]
|-bluetoothd
|-console-kit-dae-+-{console-kit-dae}
| |-{gdbus}
| |-{gmain}
| `-61*[{vt_thread_start}]
|-dbus-daemon(messagebus)
|-lightdm-+-X-+-{InputThread}
| | `-3*[{X}]
| |-lightdm-+-lightdm-gtk-gre-+-{gdbus}
| | | `-{gmain}
| | |-{gdbus}
| | `-{gmain}
| |-lightdm
| |-{gdbus}
| `-{gmain}
|-login---bash(audiodef)---su(root)---bash---pstree
|-lvmetad
|-polkitd(polkitd)-+-{gdbus}
| |-{gmain}
| `-2*[{polkitd}]
|-udevd
`-wpa_supplicant
|
_________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
|