Reply to topic

I can't login at lock screen (no UI)

ablake
Registered Member
Posts
7
Karma
0
I edited the lockscreen UI code to try to allow the up/down arrows to remove the UI but I somehow managed to bork it so that I don't see any UI, no login/password, no session, nothing! Here's what I copy/pasted:

viewtopic.php?f=289&t=137721&p=405900#p405900

I'd appreciate any help as I'm stuck and can't login or do anything since this is a laptop which doesn't allow easy access to the battery to do a hard reset!

Thanks
User avatar Rog131
Registered Member
Posts
828
Karma
10
The sessions can be unlocked with the command:
Code: Select all
loginctl unlock-sessions


More:
Code: Select all
$ loginctl --help
loginctl [OPTIONS...] {COMMAND} ...

Send control commands to or query the login manager.

.
.
.
Session Commands:

  unlock-sessions          Screen unlock all current sessions
.
.
.




=>

1) Log in with the virtual console: https://en.wikipedia.org/wiki/Virtual_console
Example, press : Ctrl + Alt + F5
Log in.

2) Type
Code: Select all
sudo loginctl unlock-sessions


3) Jump to the unlocked session with the Ctrl + Alt + function key
At here it is Ctrl + Alt + F1
ablake
Registered Member
Posts
7
Karma
0
Thank you very much Rog131.

Following your clear instructions I was able to get into virtual console with ctrl + alt + F5 and was able to use the cmd
Code: Select all
 sudo loginctl unlock-sessions
but was not able to then do the final step:

3) Jump to the unlocked session with the Ctrl + Alt + function key
At here it is Ctrl + Alt + F1



Any idea why the ctrl + alt + F1 did not work? it put me back into the lockscreen! so I just used the shutdown cmd to get out and start up the computer again

More importantly, what was wrong with the code that I copy/pasted in the original thread? did I put it in the wrong place within the unlockscreen qml file?
User avatar Rog131
Registered Member
Posts
828
Karma
10
ablake wrote:
...Following your clear instructions I was able to get into virtual console with ctrl + alt + F5 and was able to use the cmd
Code: Select all
 sudo loginctl unlock-sessions
but was not able to then do the final step:

3) Jump to the unlocked session with the Ctrl + Alt + function key
At here it is Ctrl + Alt + F1



Any idea why the ctrl + alt + F1 did not work? it put me back into the lockscreen! so I just used the shutdown cmd to get out and start up the computer again

More importantly, what was wrong with the code that I copy/pasted in the original thread? did I put it in the wrong place within the unlockscreen qml file?


What was the output of the ?
Code: Select all
sudo loginctl unlock-sessions


Any error messages ?

You also should/could (working here):
Code: Select all
$ loginctl list-sessions


=> session id

and then with the session id
Code: Select all
$ loginctl unlock-session id



If you start the lock greeter in testing mode it should show what is the problem.

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], boudewijn, davide445, Google [Bot], hiteshshah, madkhoram, Mamarok, millaan, philippea, raphaelra