Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-12-10 20:19:03

Andiru
Member
From: Germany
Registered: 2021-12-08
Posts: 11

[SOLVED] Lockscreen login window on multiple monitors

Hello!

I'm new to xfce, after using it for a while i wonder if it is possible to have the login window be displayed on multiple screens simultaneously when you lock the screen like with KDE for example.

I use three monitors and when i lock the screen all monitors turn black. However only one monitor displays the login window after I move my mouse, so it's sometimes a gamble whether I can see the login window or not.

Thanks

Last edited by Andiru (2021-12-14 20:12:29)

Offline

#2 2021-12-10 22:33:49

CwF
Member
Registered: 2018-01-28
Posts: 289

Re: [SOLVED] Lockscreen login window on multiple monitors

The logon screen will follow the mouse, you should be able to drag it onto every screen.
Yes, blindly.

Offline

#3 2021-12-10 23:18:33

Andiru
Member
From: Germany
Registered: 2021-12-08
Posts: 11

Re: [SOLVED] Lockscreen login window on multiple monitors

Hmm, moving the mouse does nothing, it just disappears when i go to another screen (with and without clicking).

What seems to kinda work is pressing ESC and moving the mouse however sometimes I don't reach the other screen. Holding it down works the best however that results in canceling the login screen over and over which is not the nicest to look at, but I guess it kind of works.

I still wonder if there is another way, maybe going so far as to installing a different screensaver or locker?

Offline

#4 2021-12-11 01:40:04

CwF
Member
Registered: 2018-01-28
Posts: 289

Re: [SOLVED] Lockscreen login window on multiple monitors

CwF wrote:

you should be able to drag

I should not have said drag. I use no buttons, just a flick of a trackball ball.

Offline

#5 2021-12-11 01:44:18

CwF
Member
Registered: 2018-01-28
Posts: 289

Re: [SOLVED] Lockscreen login window on multiple monitors

Andiru wrote:

maybe going so far as to installing a different screensaver or locker?

as I evolve, I've been removing such things. Most the newer stuff uses nothing, no lightdm, no locker, no sceensaver...

Last edited by CwF (2021-12-11 01:44:54)

Offline

#6 2021-12-11 01:49:46

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,006

Re: [SOLVED] Lockscreen login window on multiple monitors

Andiru wrote:

I use three monitors and when i lock the screen all monitors turn black. However only one monitor displays the login window after I move my mouse, so it's sometimes a gamble whether I can see the login window or not.

Which screen locker/saver program are using? Which distro? Which version of Xfce?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#7 2021-12-11 10:11:39

Andiru
Member
From: Germany
Registered: 2021-12-08
Posts: 11

Re: [SOLVED] Lockscreen login window on multiple monitors

CwF wrote:

I should not have said drag. I use no buttons, just a flick of a trackball ball.

I don't really understand what that means (English is not my native language). I feel like i tried everything tho.

But let's make sure we are talking about the same thing. I do not mean the logon screen you get after you logout with let's say

xfce4-session-logout

but the login screen that you get after you press [Ctrl] + [Alt] + [L] or type

xfce4-screensaver-command --lock

can you also just move(?) your mouse when you in that locked state?

Offline

#8 2021-12-11 10:12:39

Andiru
Member
From: Germany
Registered: 2021-12-08
Posts: 11

Re: [SOLVED] Lockscreen login window on multiple monitors

ToZ wrote:

Which screen locker/saver program are using? Which distro? Which version of Xfce?

I'm using EndeavourOS with Xfce version 4.16, I have just installed it a few days ago and I haven't done any changes at the screen locker/saver, so I assume it's the default(?), so Xfce Screensaver.

How could I check what screensaver I have?

Offline

#9 2021-12-11 11:52:49

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,006

Re: [SOLVED] Lockscreen login window on multiple monitors

Andiru wrote:

How could I check what screensaver I have?

ps -ef | grep -E 'saver|locker'

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#10 2021-12-11 12:08:54

Andiru
Member
From: Germany
Registered: 2021-12-08
Posts: 11

Re: [SOLVED] Lockscreen login window on multiple monitors

ToZ wrote:
ps -ef | grep -E 'saver|locker'

This returns:

andiru      4040    1928  0 11:00 ?        00:00:01 /usr/bin/xfce4-screensaver
andiru      9602    9428  0 13:08 pts/0    00:00:00 grep -E saver|locker

Offline

#11 2021-12-11 15:05:30

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,006

Re: [SOLVED] Lockscreen login window on multiple monitors

Okay, so you are using xfce4-screensaver. I just tested with multiple monitors and xfce4-screensaver doesn't seem to support displays on multiple monitors when locked. There is nothing in the current list of open bug reports so you may consider creating one.

Light-locker, on the other hand, does support multiple screens when locked in the same manner that KDE does. As an option, you could uninstall xfce4-screensaver and install/use light-locker instead.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#12 2021-12-12 12:26:38

Andiru
Member
From: Germany
Registered: 2021-12-08
Posts: 11

Re: [SOLVED] Lockscreen login window on multiple monitors

I just tried running

sudo pacman -Rs xfce4-screensaver
sudo pacman -S light-locker

but I am not sure if that is right or you need to do additional configuration.

It did remove xfce4-screensaver and I was able to lock the screen however one thing I noticed was YouTube suddenly being extremely laggy. I was trying this in a VM, so I thought that might be the problem, but after reinstalling xfce4-screensaver it went back to normal.

How would I properly remove xfce4-screensaver and install light-locker? Can I also tell it to lock the screen with the screensaver?

Offline

#13 2021-12-12 16:44:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,006

Re: [SOLVED] Lockscreen login window on multiple monitors

Andiru wrote:

I just tried running

sudo pacman -Rs xfce4-screensaver
sudo pacman -S light-locker

but I am not sure if that is right or you need to do additional configuration.

Probably log out and log back in again so the xfce4-screensaver process ends and the light-locker process starts. You can also do this manually by killing xfce4-screensaver and starting light-locker.

It did remove xfce4-screensaver and I was able to lock the screen however one thing I noticed was YouTube suddenly being extremely laggy. I was trying this in a VM, so I thought that might be the problem, but after reinstalling xfce4-screensaver it went back to normal.

Interesting. Maybe both were somehow still running?

How would I properly remove xfce4-screensaver and install light-locker? Can I also tell it to lock the screen with the screensaver?

The commands you ran were fine. Maybe restart your system and check that only "light-locker" is running:

ps -ef | grep -E 'saver|locker'

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#14 2021-12-13 18:12:12

Andiru
Member
From: Germany
Registered: 2021-12-08
Posts: 11

Re: [SOLVED] Lockscreen login window on multiple monitors

So I ran the commands again and rebooted and it shows that only light-locker is running.

andiru       828     633  0 18:55 ?        00:00:00 light-locker
andiru      1052    1035  0 18:56 pts/0    00:00:00 grep -E saver|locker

And whatever was happening with YouTube is also not happening.

But I am only able to lock the screen with

ligh-locker-command -l

Do I have to add light-locker to xflock4? And how would I do that?

Offline

#15 2021-12-13 20:09:55

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,006

Re: [SOLVED] Lockscreen login window on multiple monitors

Run the following command to register it with xfce4-session:

xfconf-query -c xfce4-session -p /general/LockCommand -s "light-locker-command -l" --create -t string

This will work assuming your /usr/bin/xflock4 file sources this LockCommand setting. See https://git.xfce.org/xfce/xfce4-session … ts/xflock4.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#16 2021-12-13 20:26:34

Andiru
Member
From: Germany
Registered: 2021-12-08
Posts: 11

Re: [SOLVED] Lockscreen login window on multiple monitors

Thanks, that worked!

Can I also tell light locker to automatically lock the screen after e.g. 10 minutes?

Offline

#17 2021-12-13 20:51:27

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,006

Re: [SOLVED] Lockscreen login window on multiple monitors

I believe there is a light-locker-settings package that provides that functionality. Which distro are you using?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#18 2021-12-13 21:09:33

Andiru
Member
From: Germany
Registered: 2021-12-08
Posts: 11

Re: [SOLVED] Lockscreen login window on multiple monitors

I'm on EndeavourOS. There is an aur package for light-locker-settings and it works. Thank you again!

Offline

Board footer

Powered by FluxBB