Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sometime this happen that when I had to do something on server I find that the screen is lock and I dont know the password of that user to unlock it and switch the user.

So i need to know that How to Switch the user even if the screen(User) is lock

Note :: OS is redhat 5.*

share|improve this question
Depending on what is locking the screen, this may not be possible. What is locking the screen? – Chris Down Jan 19 '13 at 8:58
Well its a simple User lock like when u press CTRL+ALT+L it locks the screen and remains lock until user enters the password. – OmiPenguin Jan 19 '13 at 10:07
And what is the process being launched by that shortcut? – Chris Down Jan 19 '13 at 10:11
Most probably the question is: Are you running KDE, Gnome, or something else. Maybe it is just enough to switch to the console (Ctrl+Alt+F1) and do whatever you want. – michas Jan 19 '13 at 19:59
Redhat is using gnome. Yes I actually did ALT+CTRL+F1-7 but the thing is it enables only Text mode or Run Level 3. I cant use Run Level 5 or graphical view(GUI) . Simply put I dont know how to Enable GUI even If i switch using CTRL+ALT+f1 – OmiPenguin Jan 19 '13 at 20:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.