Unclear unlock problem

Good morning,

I am experiencing an interesting problem with my manjaro xfce install.
The problems might be related to a complicated system repair some weeks ago:

Anyway, I think the problem is, that my system seems to not unlock properly under certain conditions.
Example: If I let the system lock itself after a few minutes of inactivity (just lock, not standby!), and then enter my password for unlocking, my desktop opens up, but with certain limitations. These are not being able to start certain applications (f.e. teminal emulator ->i/o error), or some programs not receiving keyboard input (like the browser). If I want to resolve this, I usually press “switch user” and reenter my password for the same account. After that, everything is working.
Sometimes I also get two unlock promts after each other, meaning after entering the correct password I am promted again to enter it in a new field.

What I notice, is that I get different looking unlock dialogs: one in the left upper corner, that usually fully unlocks the system and one in the center of the screen, that leads to the “partial unlock” described above.
So I guess, that during the mentioned system repair I might have installed a package, that is conflicting with my regular unlock process.

I just don’t know what to look for :smiley:
Thanks for any pointers or hints, how I can figure out, what is causing this inconvenience.

Thank you for linking the old topic - it confirms what I reached at while reading this.

The only situation which can be described as a ‘partial unlock’ is when using auto-login for a specific username.

From your description this seems not to be the case, but rather a defective unlock - but it is certainly unclear - and my thoughts here is what it is - thoughts, guessing, ideas - call it anything but a fact.

Such error is usually file-system errors caused by a defective storage medium.

Said in layman’s terms - you have a disk with bad sectors - and with SSD it translate to bad memory cell readings.

The fact that it manifest the way that it does, could point to power fluctuations inside the system, some times the power is good and the read is good - at other points the power is low, resulting in bad reads.

I have no idea why the system behaves like this, but it does point somewhat in the direction of a bad SSD disk.

As for immediate action - I recommend

  • backup your important data to external device ASAP
  • replace the system disk

Thanks again for the quick reply!
I do regular backups of everything important, so I am not worried about data loss at this point. Like with the other thread, this is more of a learning journey, bear with my stupid questions and my stubborness is getting to the core of things :smiley:
While I can’t say that my SSD is ok, and I agree that with just an I/O error I would think of that as well, I feel like there must be something else.
Why? Well, the consistency of the problem (in the described way it is fully reproducible and fixable for me), makes me doubt a bad disk. From other experiences, that would lead to more “random” errors.
And also the two different types of login screen must have a reason besides having a corrupted disc or not.
The working login in the upper left corner is going along with my light dm configutation. I can’t figure out though, where the other login prompt is coming from (package and/or settings). I looked for the typical display-managers that I have heard of, but so far I only found light dm in the package list…

The xfce edition uses lightdm to manage the graphical login.

The login-manager and the lock-screen are two different applications.

If you have a clear distinction between the two login/unlock prompts - it may be caused by your your lock-screen settings.

1 Like

Thanks, that seems to be the correct idea.
light-locker seems to have various issues which could be connected with this situation.
After disabling the lock screen in screen saver preferences, I am presented with the correct login prompt!
That doesn’t really explain to me, what goes wrong there though :distorted_face:
Also I can’t really figure out, what is causing the lock now. Because the screen still gets locked automatically…

It is known that with xfce, light-locker should be replaced with the xfce equivalent.

ok, removed light-locker and everything works (still) as expected :slight_smile:
But the other question remains: can you point me to the setting, that locks the screen, even though lock screen is disabled?

No, I cannot because I do not know. I just remember that I have seen topic related to light-locker on Xfce, beyond that, I have no more knowledge than that.

Ok, no problem :slight_smile:
Thanks anyway, the problem is solved!

You could look in :
Xfce Param Manager > Power Supplu Mgr > Screen tab
and also in
Session and Start > Main > Lock screen before sleep

The xfce lock screen setting is in Xfce Screensaver (xfce4-screensaver).

sudo pacman -S xfce4-screensaver

If everything works as expected, it should be xfce4-screensaver and its settings (which will be interlinked in other dialogs like power. Can you manually lock now from menu? If no there is one more little thing to change.

@Denis_Pom
On Power Managers Display tab I only set a brightness reduction. On the system tab I set the system to suspend after a certain time, but the screen lock happens much earlier.
@jrichard326
That setting is turned off after @linux-aarhus hint, that it could be the cause of my original problem.
@Teo
No, I can’t lock from the whiskers menu. But the screen does lock itself after about 1 minute of idle time (I don’t know through which setting).
Before removing light-locker, the system would suspend properly after a timeout of 10 minutes, but that gives an error/a warning now, that says “None of the screen lock tools ran successfully. the screen will not be locked. Do you still want to continue to suspend the system? Y/N”

Just to be sure we are on the same page, light-locker is completely deinstalled, xfce4-screensaver is installed and you have rebooted, right?

Does it lock if you manually run in a terminal

xfce4-screensaver-command --lock

I think I figured it out myself..
Two things:

  1. In the xfce settings-editor I changed the lock command from light-locker to “dm-tool lock”
  2. The irritating screen lock after one minute comes from the setting “lock screen with screensaver”. That is unexpected for me, because the whole page is greyed out after disabling “lock screen”. So to turn it off, I had to reenable “lock screen” first, then disable the mentioned setting, and then disable “lock screen” again. Somehow a design-flaw in the GUI I would say.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.