Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] SDDM sometimes doesn't show login screen
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 121
Location: Tianjin, CN

PostPosted: Sat Jun 01, 2019 3:27 pm    Post subject: [solved] SDDM sometimes doesn't show login screen Reply with quote

Hi,

I got this as the last line in my Xorg.0.log:
Code:
(EE) Failed to open authorization file "/var/run/sddm/{6e949719-fe9d-4a71-b7fd-52e665c19cb4}": No such file or directory


But the file exists:
Code:
micha@mobiletux ~ $ ls -l /var/run/sddm/
insgesamt 4
-rw------- 1 sddm sddm 54  1. Jun 22:58 {6e949719-fe9d-4a71-b7fd-52e665c19cb4}


Sometimes I can login into Plasma via SDDM, sometimes I end up in the console without seeing any graphical login and have to reboot. SDDM and UDEV services are hanging if this happens. Any ideas? Thanks!

Xorg.0.log:
https://pastebin.com/4Snbx5im
_________________
Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.


Last edited by koschi on Wed Dec 18, 2019 11:14 am; edited 1 time in total
Back to top
View user's profile Send private message
theluckyone17
n00b
n00b


Joined: 03 Dec 2005
Posts: 52

PostPosted: Wed Jun 05, 2019 7:28 pm    Post subject: Reply with quote

I've experienced something similar lately on my laptops (both Acer R7-572s). The system will delay the X.org start until I tap a random key or two, then wiggle the mouse/touchpad. Sometimes it launches immediately, sometimes it takes a few seconds.

Hasn't bothered me enough to chase down the exact issue. I've also a similiar line in my Xorg.?.log, not sure if it's related or not:
Code:
(EE) Failed to open authorization file "/var/run/sddm/{%blah blah blah%}": No such file or directory


Try giving the mouse a wiggle and tap the keys a bit, and see if Xorg launches in a few seconds.
Back to top
View user's profile Send private message
lfs0a
n00b
n00b


Joined: 19 Oct 2016
Posts: 62

PostPosted: Fri Jun 07, 2019 10:19 am    Post subject: Reply with quote

theluckyone17 wrote:
I've experienced something similar lately on my laptops (both Acer R7-572s). The system will delay the X.org start until I tap a random key or two, then wiggle the mouse/touchpad. Sometimes it launches immediately, sometimes it takes a few seconds.

Hasn't bothered me enough to chase down the exact issue. I've also a similiar line in my Xorg.?.log, not sure if it's related or not:
Code:
(EE) Failed to open authorization file "/var/run/sddm/{%blah blah blah%}": No such file or directory


Try giving the mouse a wiggle and tap the keys a bit, and see if Xorg launches in a few seconds.


https://wiki.gentoo.org/wiki/SDDM
Try to emerge sys-apps/haveged
Back to top
View user's profile Send private message
lfs0a
n00b
n00b


Joined: 19 Oct 2016
Posts: 62

PostPosted: Fri Jun 07, 2019 10:23 am    Post subject: Re: SDDM sometimes doesn't show login screen Reply with quote

koschi wrote:
Hi,

I got this as the last line in my Xorg.0.log:
Code:
(EE) Failed to open authorization file "/var/run/sddm/{6e949719-fe9d-4a71-b7fd-52e665c19cb4}": No such file or directory


But the file exists:
Code:
micha@mobiletux ~ $ ls -l /var/run/sddm/
insgesamt 4
-rw------- 1 sddm sddm 54  1. Jun 22:58 {6e949719-fe9d-4a71-b7fd-52e665c19cb4}


Sometimes I can login into Plasma via SDDM, sometimes I end up in the console without seeing any graphical login and have to reboot. SDDM and UDEV services are hanging if this happens. Any ideas? Thanks!

Xorg.0.log:
https://pastebin.com/4Snbx5im


If press random keys can help you,sys-apps/haveged can help you too.
Back to top
View user's profile Send private message
the_bard
n00b
n00b


Joined: 03 Dec 2002
Posts: 60
Location: Albany, NY

PostPosted: Sat Jun 08, 2019 2:14 am    Post subject: Reply with quote

I'll give that a go. Thanks for the tip!
Back to top
View user's profile Send private message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 121
Location: Tianjin, CN

PostPosted: Thu Jun 13, 2019 12:16 pm    Post subject: Reply with quote

lfs0a wrote:
theluckyone17 wrote:
I've experienced something similar lately on my laptops (both Acer R7-572s). The system will delay the X.org start until I tap a random key or two, then wiggle the mouse/touchpad. Sometimes it launches immediately, sometimes it takes a few seconds.

Hasn't bothered me enough to chase down the exact issue. I've also a similiar line in my Xorg.?.log, not sure if it's related or not:
Code:
(EE) Failed to open authorization file "/var/run/sddm/{%blah blah blah%}": No such file or directory


Try giving the mouse a wiggle and tap the keys a bit, and see if Xorg launches in a few seconds.


https://wiki.gentoo.org/wiki/SDDM
Try to emerge sys-apps/haveged


Hi,
no that was another bug I solved some months ago. Pressing keys and moving the mouse doesn't help for me. I just noticed the following:
Upgrading from nvidia-drivers-390 to 418 or 430 locks up the system completely at the point where the login screen should show up - only black screen and a flashing bar is left over at the top left screen corner.

If I downgrade to nvidia-drivers-390 again the system is throwing me to the shell where I can normally login. So I tried to reboot again and again. After 5 times rebooting I finally saw the login screen again and was able to login graphically and start Plasma. No idea where to look for now...
_________________
Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.
Back to top
View user's profile Send private message
lfs0a
n00b
n00b


Joined: 19 Oct 2016
Posts: 62

PostPosted: Thu Jun 13, 2019 1:45 pm    Post subject: Reply with quote

koschi wrote:
lfs0a wrote:
theluckyone17 wrote:
I've experienced something similar lately on my laptops (both Acer R7-572s). The system will delay the X.org start until I tap a random key or two, then wiggle the mouse/touchpad. Sometimes it launches immediately, sometimes it takes a few seconds.

Hasn't bothered me enough to chase down the exact issue. I've also a similiar line in my Xorg.?.log, not sure if it's related or not:
Code:
(EE) Failed to open authorization file "/var/run/sddm/{%blah blah blah%}": No such file or directory


Try giving the mouse a wiggle and tap the keys a bit, and see if Xorg launches in a few seconds.


https://wiki.gentoo.org/wiki/SDDM
Try to emerge sys-apps/haveged


Hi,
no that was another bug I solved some months ago. Pressing keys and moving the mouse doesn't help for me. I just noticed the following:
Upgrading from nvidia-drivers-390 to 418 or 430 locks up the system completely at the point where the login screen should show up - only black screen and a flashing bar is left over at the top left screen corner.

If I downgrade to nvidia-drivers-390 again the system is throwing me to the shell where I can normally login. So I tried to reboot again and again. After 5 times rebooting I finally saw the login screen again and was able to login graphically and start Plasma. No idea where to look for now...



Google the error message,that's what I would do.
Back to top
View user's profile Send private message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 121
Location: Tianjin, CN

PostPosted: Sun Jun 16, 2019 11:58 pm    Post subject: Reply with quote

My logs but they don't give me a hint...

/var/log/sddm.log:
Code:
[07:25:51.592] (II) DAEMON: Initializing...
[07:25:51.596] (II) DAEMON: Starting...
[07:25:51.596] (II) DAEMON: Console kit interface found
[07:25:51.597] (II) DAEMON: Adding new display on vt 7 ...
[07:25:51.597] (II) DAEMON: Loading theme configuration from ""
[07:25:51.597] (II) DAEMON: Display server starting...
[07:25:51.597] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{00fffc44-d09e-4a8e-b59d-774ee1aa3eec} -background none -noreset -displayfd 17 -seat seat0 vt7



/var/log/Xorg.0.log:
Code:
[     6.814] (--) Log file renamed from "/var/log/Xorg.pid-2108.log" to "/var/log/Xorg.0.log"
[     6.814]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[     6.814] Build Operating System: Linux 4.19.27-gentoo-r1 x86_64 Gentoo
[     6.814] Current Operating System: Linux mobiletux 4.19.49-gentoo #2 SMP Sun Jun 16 14:08:32 CST 2019 x86_64
[     6.814] Kernel command line: \vmlinuz-4.19.49-gentoo ro root=/dev/sda1 rootflags=subvol=ROOT_latest i8042.nopnp mtrr_gran_size=8M mtrr_chunk_size=8M i915.fastboot=1 pcie_aspm=off
[     6.814] Build Date: 27 April 2019  04:08:41PM
[     6.814] 
[     6.815] Current version of pixman: 0.38.4
[     6.815]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[     6.815] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     6.815] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 17 07:25:51 2019
[     6.816] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     6.816] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     6.816] (==) ServerLayout "layout"
[     6.816] (**) |-->Screen "nvidia" (1)
[     6.816] (**) |   |-->Monitor "<default monitor>"
[     6.816] (**) |   |-->Device "nvidia"
[     6.816] (==) No monitor specified for screen "nvidia".
   Using a default monitor configuration.
[     6.816] (**) |-->Inactive Device "intel"
[     6.816] (==) Automatically adding devices
[     6.816] (==) Automatically enabling devices
[     6.816] (==) Automatically adding GPU devices
[     6.816] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     6.819] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF/,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
[     6.819] (**) ModulePath set to "/usr/lib/xorg/modules,/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules"
[     6.819] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[     6.819] (II) Loader magic: 0x55eb9630cc60
[     6.819] (II) Module ABI versions:
[     6.819]    X.Org ANSI C Emulation: 0.4
[     6.819]    X.Org Video Driver: 24.0
[     6.819]    X.Org XInput driver : 24.1
[     6.819]    X.Org Server Extension : 10.0
[     6.819] (II) xfree86: Adding drm device (/dev/dri/card1)

_________________
Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.
Back to top
View user's profile Send private message
Troopo
Apprentice
Apprentice


Joined: 14 Jun 2015
Posts: 177

PostPosted: Thu Nov 28, 2019 10:12 pm    Post subject: Reply with quote

koschi wrote:
My logs but they don't give me a hint...

/var/log/sddm.log:
Code:
[07:25:51.592] (II) DAEMON: Initializing...
[07:25:51.596] (II) DAEMON: Starting...
[07:25:51.596] (II) DAEMON: Console kit interface found
[07:25:51.597] (II) DAEMON: Adding new display on vt 7 ...
[07:25:51.597] (II) DAEMON: Loading theme configuration from ""
[07:25:51.597] (II) DAEMON: Display server starting...
[07:25:51.597] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{00fffc44-d09e-4a8e-b59d-774ee1aa3eec} -background none -noreset -displayfd 17 -seat seat0 vt7



/var/log/Xorg.0.log:
Code:
[     6.814] (--) Log file renamed from "/var/log/Xorg.pid-2108.log" to "/var/log/Xorg.0.log"
[     6.814]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[     6.814] Build Operating System: Linux 4.19.27-gentoo-r1 x86_64 Gentoo
[     6.814] Current Operating System: Linux mobiletux 4.19.49-gentoo #2 SMP Sun Jun 16 14:08:32 CST 2019 x86_64
[     6.814] Kernel command line: \vmlinuz-4.19.49-gentoo ro root=/dev/sda1 rootflags=subvol=ROOT_latest i8042.nopnp mtrr_gran_size=8M mtrr_chunk_size=8M i915.fastboot=1 pcie_aspm=off
[     6.814] Build Date: 27 April 2019  04:08:41PM
[     6.814] 
[     6.815] Current version of pixman: 0.38.4
[     6.815]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[     6.815] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     6.815] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 17 07:25:51 2019
[     6.816] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     6.816] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     6.816] (==) ServerLayout "layout"
[     6.816] (**) |-->Screen "nvidia" (1)
[     6.816] (**) |   |-->Monitor "<default monitor>"
[     6.816] (**) |   |-->Device "nvidia"
[     6.816] (==) No monitor specified for screen "nvidia".
   Using a default monitor configuration.
[     6.816] (**) |-->Inactive Device "intel"
[     6.816] (==) Automatically adding devices
[     6.816] (==) Automatically enabling devices
[     6.816] (==) Automatically adding GPU devices
[     6.816] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     6.819] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF/,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
[     6.819] (**) ModulePath set to "/usr/lib/xorg/modules,/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules"
[     6.819] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[     6.819] (II) Loader magic: 0x55eb9630cc60
[     6.819] (II) Module ABI versions:
[     6.819]    X.Org ANSI C Emulation: 0.4
[     6.819]    X.Org Video Driver: 24.0
[     6.819]    X.Org XInput driver : 24.1
[     6.819]    X.Org Server Extension : 10.0
[     6.819] (II) xfree86: Adding drm device (/dev/dri/card1)


If this is still unresolved i had a similar issue at:
https://forums.gentoo.org/viewtopic-p-8393174.html

That was solved by making sure gl is switched to nvidia:
Code:
eselect opengl list
Back to top
View user's profile Send private message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 121
Location: Tianjin, CN

PostPosted: Wed Dec 18, 2019 11:13 am    Post subject: Reply with quote

Short update:
I upgraded from nvidia-drivers-390.xx to 440.36 some days ago. So far no issues anymore. SDDM login screen always appears.

Marking the topic as solved now.
_________________
Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1453

PostPosted: Wed Dec 18, 2019 9:36 pm    Post subject: Reply with quote

Didn't show up at reboot after qt 5-12 -> qt-5.13 upgrade + emerge @preserved-rebuild.
Rebuilding sddm did the trick.
Thinking about pushing sddm ebuildl to local repo in order to fix that for the next qt upgrade.
Guess I should post a bug in this regard.
but for some reason I don't feel like doing it;
I find bugs.gentoo.org quite desagrable these days.

Thks 4 ur attention.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7480
Location: Austria

PostPosted: Wed Dec 18, 2019 10:22 pm    Post subject: Reply with quote

CaptainBlood wrote:
I find bugs.gentoo.org quite desagrable these days.

What does that even mean.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum