Clight icon indicating copy to clipboard operation
Clight copied to clipboard

[BUG] multiuser => clight stop running

Open promeneur opened this issue 4 years ago • 9 comments

openSuse 15.3

clight 4.7 clightd 5.4

open a kde session for user1 open a kde session for user2 do different things in user2 session close user2 session go to user1 session read the log of clight

there is no more action by clight after 10 h 33. It is 12 h 45.

see the log Clight.log

promeneur avatar Sep 13 '21 10:09 promeneur

the status of clightd

sudo systemctl status clightd ● clightd.service - Bus service to manage various screen related properties (gamma, dpms, backlight) Loaded: loaded (/etc/systemd/system/clightd.service; disabled; vendor preset: disabled) Active: active (running) since Mon 2021-09-13 09:02:42 CEST; 3h 17min ago Main PID: 2776 (clightd) Tasks: 3 (limit: 4915) CGroup: /system.slice/clightd.service └─2776 /usr/libexec/clightd

sept. 13 11:42:54 localhost.localdomain clightd[2776]: [default]|IDLE|: Starting Client 3 sept. 13 11:42:54 localhost.localdomain clightd[2776]: [default]|IDLE|: Starting Client 2 sept. 13 11:42:54 localhost.localdomain clightd[2776]: [default]|IDLE|: Stopping Client 1 sept. 13 11:42:54 localhost.localdomain clightd[2776]: [default]|IDLE|: Stopping Client 0 sept. 13 11:42:54 localhost.localdomain clightd[2776]: [default]|IDLE|: Client 2 -> Idle: 0 sept. 13 11:42:54 localhost.localdomain clightd[2776]: [default]|IDLE|: Client 2 -> Idle: 0 sept. 13 11:42:54 localhost.localdomain clightd[2776]: [default]|IDLE|: Stopping Client 3 sept. 13 11:50:11 localhost.localdomain clightd[2776]: [default]|IDLE|: Removing inotify watSetting Pixel Format: Input/output er> sept. 13 12:00:16 localhost.localdomain clightd[2776]: Setting Pixel Format: Input/output error sept. 13 12:10:21 localhost.localdomain clightd[2776]: Setting Pixel Format: Input/output error

promeneur avatar Sep 13 '21 10:09 promeneur

Hi! Thanks for opening this issue! Clight should pause itself and resume when user session becomes inactive/active, when run on a systemd system. It seems like it is not resuming in your case. I will give this a look!

FedeDP avatar Sep 14 '21 19:09 FedeDP

You can try to right click on clight desktop file and select "Resume all clight features"; if that's the case (ie: clight does not sees your session back as Active), it should work.

FedeDP avatar Sep 15 '21 19:09 FedeDP

i don't find any desktop file !

promeneur avatar Sep 17 '21 10:09 promeneur

It's a random phenomenon.

promeneur avatar Sep 26 '21 13:09 promeneur

It's a random phenomenon.

As always :P otherwise, it would be too simple to discover it and fix it! :D I may need a verbose log when this happens!

btw, if this works:

You can try to right click on clight desktop file and select "Resume all clight features"

It would seem that "resume" signal is not properly caught by clight.

FedeDP avatar Oct 07 '21 19:10 FedeDP

Hi @promeneur ! Any news on this? Ie: has the issue happened again?

FedeDP avatar Dec 17 '21 19:12 FedeDP

How to answer with a random phenomenon ?

Today i checked there is no problem, but tomorrow I don't know.

promeneur avatar Dec 19 '21 09:12 promeneur

That's unfortunate. I hoped that perhaps you were able to relate the issue to something. Thanks anyway!

FedeDP avatar Dec 19 '21 11:12 FedeDP

Since it was like an year ago...is the issue still present? Had you experienced it during the past few months? Thank you very much for your valuable feedback!

FedeDP avatar Mar 03 '23 19:03 FedeDP

No more problem.

promeneur avatar Mar 03 '23 21:03 promeneur