rozniak / xfce-winxp-tc

Windows XP stuff for XFCE
Other
1.11k stars 37 forks source link

lock screen #375

Closed PoPCaT6800 closed 1 week ago

PoPCaT6800 commented 1 week ago

Whenever i close my device (it's a laptop), even though I set up the lock screen using the instructions, it does not work, instead showing a window with the error "none of the screen lock tools ran successfully, so the screen will not be locked". i installed with the arch package.

rozniak commented 1 week ago

Lock screen... do you mean the LightDM greeter, or something else?

PoPCaT6800 commented 1 week ago

Yes, i was refferring to the lightDM greeter. I set the greeter-session to wintc-logonui, but it still shows the xfce logon screen when i turn on my computer

rozniak commented 1 week ago

Can you post your lightdm.conf here?

PoPCaT6800 commented 1 week ago

here is the conf file lightdm.txt

rozniak commented 1 week ago

Perhaps it's because you have the greeter-session=wintc-logonui too high in the config file. Try moving it underneath #greeter-session=example-gtk-gnome so that it falls under the [Seat:*] section. :thinking:

PoPCaT6800 commented 1 week ago

this did fix the initial issue, however the lock screen accounts section contained numerous package names including systemd-coredump and git along with my user account name. Would it have mattered where i put the argument in the file?

rozniak commented 1 week ago

I'm not really sure what you mean?

PoPCaT6800 commented 1 week ago

i couldn't really find another way to put it into words so here's a video of my problem. the scrolling continues for a while with my name in the middle of the list. it's too big for github so this is a google drive link

rozniak commented 1 week ago

Hm... well the actual user list that displays there comes from LightDM (it calls lightdm_user_list_get_users() to populate that list). I've not come across the same problem before... out of curiosity, do you have AccountsService installed? I did try to do a bit of searching to figure out how LightDM distinguishes between an actual human's account vs. a service account, I think it relies on AccountsService to work correctly, though I don't know for sure.

BTW what screen resolution is that? The list shouldn't be appearing so tiny either, that is something I need to fix.

PoPCaT6800 commented 1 week ago

installing accountsservice completely fixed that issue. only my account shows up now. I am using a screen resolution of 1366x768 (i know its weird). This lock screen does still not work when i close my lid, only when i restart lightdm or restart my pc, when i lock it by closing it comes up with the previous error.

rozniak commented 1 week ago

I don't think the greeter has any impact on that message. Does xflock4 work when you run it? If so, perhaps try manually setting that under Settings Editor > xfce4-session > general > LockCommand

PoPCaT6800 commented 1 week ago

xflock4 did not have an affect when i ran it, but i added it to the argument as there was nothing in it's place. closing the lid does not do anything now.

rozniak commented 1 week ago

Have you got light-locker installed?

PoPCaT6800 commented 1 week ago

i installed light locker and restarted lightdm, and now it seems to be fixed! I can't thank you enough for getting back to me so quick and helping me out, i really appreciate it!