Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Problem with xdm & sddm & openrc
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
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1252

PostPosted: Wed Sep 13, 2017 4:09 am    Post subject: [Solved] Problem with xdm & sddm & openrc Reply with quote

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
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Wed Sep 13, 2017 7:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1252

PostPosted: Wed Sep 13, 2017 9:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Wed Sep 13, 2017 12:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1252

PostPosted: Wed Sep 13, 2017 12:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1252

PostPosted: Wed Sep 13, 2017 12:55 pm    Post subject: Reply with quote

I got that problem on both PCs with Plasma5 & SDDM
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1252

PostPosted: Thu Sep 14, 2017 4:24 pm    Post subject: Reply with quote

any ideas?
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 458
Location: Bosnia

PostPosted: Wed Jun 26, 2019 7:12 am    Post subject: Reply with quote

have same problem with my nvidia gt710 and 430.26 driver
_________________
Gentoo is Rocks
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