View previous topic :: View next topic |
Author |
Message |
Perfect Gentleman Veteran
Joined: 18 May 2014 Posts: 1252
|
Posted: Wed Sep 13, 2017 4:09 am Post subject: [Solved] Problem with xdm & sddm & openrc |
|
|
Since some update openrc to 0.30 or sddm to 0.15, I got following
Code: | ~ $ sudo rc-service xdm stop
xdm | * Stopping sddm ...
xdm | * start-stop-daemon: no matching processes found [ ok ]
~ $ sudo rc-service xdm restart
xdm | * Setting up sddm ...
xdm | * start-stop-daemon: /usr/bin/sddm is already running
xdm | * ERROR: could not start the Display Manager [ ok ]
~ $ sudo rc-service xdm restart
xdm | * Stopping sddm ...
xdm | * start-stop-daemon: no matching processes found [ ok ]
xdm | * Setting up sddm ...
xdm | * start-stop-daemon: /usr/bin/sddm is already running
xdm | * ERROR: could not start the Display Manager [ ok ] |
WTF?
Last edited by Perfect Gentleman on Tue Sep 19, 2017 3:01 am; edited 1 time in total |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Wed Sep 13, 2017 7:26 am Post subject: |
|
|
This is a guess, but I am thinking when sddm is stopped, it isn't deleting it's pid file. and/or not using it...
According to my system, the /etc/init.d/xdm file has this for sddm
Code: | sddm)
EXE="/usr/bin/sddm"
START_STOP_ARGS="-m --background"
PIDFILE=/run/sddm.pid
;;
*)
|
Just curious, could you check on your system if the PID file exists while sddm is running, and is removed when it is stopped?
You can always check the contents of the pid file (it's only a simple text file containing the process ID).
This would be good to see if this is an bug in either sddm or xdm... |
|
Back to top |
|
|
Perfect Gentleman Veteran
Joined: 18 May 2014 Posts: 1252
|
Posted: Wed Sep 13, 2017 9:51 am Post subject: |
|
|
sddm is running -> Code: | ~ $ sudo cat /run/sddm.pid
3041 |
cat /etc/init.d/xdm -> Code: | sddm)
EXE="/usr/bin/sddm"
START_STOP_ARGS="-m --background"
PIDFILE=/run/sddm.pid
;; |
|
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Wed Sep 13, 2017 12:16 pm Post subject: |
|
|
Perfect Gentleman wrote: | sddm is running -> Code: | ~ $ sudo cat /run/sddm.pid
3041 |
cat /etc/init.d/xdm -> Code: | sddm)
EXE="/usr/bin/sddm"
START_STOP_ARGS="-m --background"
PIDFILE=/run/sddm.pid
;; |
|
that doesn't show the process is running, just the pid file is present. This comes back to what ct85711 stated... maybe the pid file isn't being cleared
what is the output of sudo rc-service xdm stop; ps aux | grep -f /run/sddm.pid _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Perfect Gentleman Veteran
Joined: 18 May 2014 Posts: 1252
|
Posted: Wed Sep 13, 2017 12:34 pm Post subject: |
|
|
Code: | ~ $ sudo rc-service xdm stop; ps aux | grep -f /run/sddm.pid
xdm | * Stopping sddm ...
xdm | * start-stop-daemon: no matching processes found [ ok ]
root 3006 0.0 0.0 139832 13564 ? Ssl 19:02 0:00 /usr/bin/sddm |
Code: | ~ $ sudo rc-service xdm stop; ps aux | grep -f /run/sddm.pid
xdm | * WARNING: xdm is already stopped
root 3006 0.0 0.0 139832 13564 ? Ssl 19:02 0:00 /usr/bin/sddm |
|
|
Back to top |
|
|
Perfect Gentleman Veteran
Joined: 18 May 2014 Posts: 1252
|
Posted: Wed Sep 13, 2017 12:55 pm Post subject: |
|
|
I got that problem on both PCs with Plasma5 & SDDM |
|
Back to top |
|
|
Perfect Gentleman Veteran
Joined: 18 May 2014 Posts: 1252
|
Posted: Thu Sep 14, 2017 4:24 pm Post subject: |
|
|
any ideas? |
|
Back to top |
|
|
sleepingsun Guru
Joined: 03 May 2006 Posts: 458 Location: Bosnia
|
Posted: Wed Jun 26, 2019 7:12 am Post subject: |
|
|
have same problem with my nvidia gt710 and 430.26 driver _________________ Gentoo is Rocks |
|
Back to top |
|
|
|