Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Plasma Shutdown/Restart/Logout Fail to Stop xdm
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
640x480
n00b
n00b


Joined: 12 Jan 2019
Posts: 2

PostPosted: Sat Jan 12, 2019 9:19 pm    Post subject: [SOLVED] Plasma Shutdown/Restart/Logout Fail to Stop xdm Reply with quote

I have a strange issue where using the shutdown, restart, and logout buttons in Plasma cause the screen to go black with a cursor in the top left of the screen. Gentoo will just hang here until the computer is forcibly shut off.
I've found this problem doesn't happen when pressing the shutdown/restart buttons in SDDM, which appear to function normally. "shutdown -h now" and "restart" also funtion normally.
Looking in my syslog I found that the culprit is likely xdm
Code:

Jan 12 12:43:21 --- init: Trying to re-exec init
Jan 12 12:43:31 --- /etc/init.d/xdm[5619]: start-stop-daemon: 1 process refused to stop
Jan 12 12:43:31 --- /etc/init.d/xdm[5594]: ERROR: xdm failed to stop
Jan 12 12:43:31 --- crond[4836]: (CRON) INFO (Shutting down)
Jan 12 12:43:31 --- NetworkManager[4743]: <info>  [1547325811.5008] caught SIGTERM, shutting down normally.
Jan 12 12:43:31 --- NetworkManager[4743]: <info>  [1547325811.5054] exiting (success)
Jan 12 12:43:31 --- kernel: [   30.101312] NetworkManager (4743) used greatest stack depth: 12304 bytes left
Jan 12 12:43:31 --- kernel: Kernel logging (proc) stopped.
Jan 12 12:43:31 --- kernel: Kernel log daemon terminating.
Jan 12 12:43:32 --- exiting on signal 15

My sddm.log shows some strange behavior too where it attempts to create a new screen on shutdown.
Code:

[12:43:11.202] (II) DAEMON: Message received from greeter: Login
[12:43:11.202] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop"
[12:43:11.203] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop"
[12:43:11.203] (II) DAEMON: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startkde"
[12:43:11.215] (II) HELPER: [PAM] Starting...
[12:43:11.215] (II) HELPER: [PAM] Authenticating...
[12:43:11.218] (II) HELPER: [PAM] Preparing to converse...
[12:43:11.218] (II) HELPER: [PAM] Conversation with 1 messages
[12:43:11.260] (II) HELPER: [PAM] returning.
[12:43:11.262] (II) DAEMON: Authenticated successfully
[12:43:11.285] (II) HELPER: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startkde\""
[12:43:11.286] (II) HELPER: Adding cookie to "/home/---/.Xauthority"
[12:43:11.290] (II) DAEMON: Session started
[12:43:11.345] (II) HELPER: [PAM] Closing session
[12:43:11.346] (II) HELPER: [PAM] Ended.
[12:43:11.346] (II) DAEMON: Auth: sddm-helper exited successfully
[12:43:11.346] (II) DAEMON: Greeter stopped.
[12:43:20.298] (II) HELPER: [PAM] Closing session
[12:43:20.299] (II) HELPER: [PAM] Ended.
[12:43:20.299] (II) DAEMON: Auth: sddm-helper exited successfully
[12:43:20.299] (II) DAEMON: Socket server stopping...
[12:43:20.299] (II) DAEMON: Socket server stopped.
[12:43:20.299] (II) DAEMON: Display server stopping...
[12:43:25.303] (II) DAEMON: Removing display ":0" ...
[12:43:25.303] (II) DAEMON: Adding new display on vt 7 ...
[12:43:25.303] (II) DAEMON: Loading theme configuration from ""
[12:43:25.303] (II) DAEMON: Display server starting...
[12:43:25.303] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{f3113ff2-4fea-4921-8ca8-fa40efd3788c} -background none -noreset -displayfd 18 -seat seat0 vt7

I already have dbus and consolekit on runlevel default, so I doubt this is an issue related to them. I'm running nvidia-drivers-415.25 if that helps at all.

Thanks in advance.
Back to top
View user's profile Send private message
640x480
n00b
n00b


Joined: 12 Jan 2019
Posts: 2

PostPosted: Fri Feb 01, 2019 1:59 am    Post subject: Reply with quote

So I decided to try and install nouveau instead of nvidia-drivers to see if anything would change and was able to see the verbose shutdown information.
Turns out pulseaudio was locking up the CPU and preventing / from mounting as readonly.
I've excised the disease that is pulse and everything is works just fine.
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