LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 12-10-2007, 08:37 AM   #1
mathimca05
Member
 
Registered: Oct 2007
Posts: 66

Rep: Reputation: 15
Thumbs up How to unlock a screen in x


hai
i m using fc6.i had one problem.i was downloading some files from net as root.without knowing i selected locked option.and the screen got locked.when i tried 2 press enter r space bar it didn't ask for password.instead it didn't show anything in the screen.i got struck.then i shut down the system.now x windows is not working.
The message i got is
"Waiting for X server to shut down FreeFont path:FPE "uinx/:7100" refcount is 2.should be 1;fixing."
"screen o is not DRI capable"
"unable 2 open /dev/agpgart"

i could enter through terminal(console).when i login as root and gave startx command it is giving
"httpd already running"
"xhost:unable 2 open display"
it also gives this terminal is running(ttpy1) with pid.

how can i solve this problem?

can anyone give a solution for that?

thanks in advance.
 
Old 12-10-2007, 02:36 PM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
You shut off the computer while X was still running? It may have left a lock file on disk so X can't create the new one. Check your home directory and /tmp for something like =Xorg.lock.

Quote:
i was downloading some files from net as root
Why?
 
Old 12-11-2007, 05:39 AM   #3
mathimca05
Member
 
Registered: Oct 2007
Posts: 66

Original Poster
Rep: Reputation: 15
unlock a screen

hi
thanks for ur reply.i couldn't find any file like xorg.lock in /tmp.
 
Old 12-11-2007, 07:17 AM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
I'm back at my Linux computer now. I was on a public XPee machine before. With X running I have, in /tmp, a file called .X0-lock with the PID number and a directory .X11-unix with =X0 in it.

Also, this happened occasionally with KDE, I don't know if it affects GNOME, but I would get the "unable to open display" error if my ~/.ICEauthority was corrupt. Delete it so it can be recreated.

Looking back at the errors, did you check the ownership and permission for /dev/agpgart?
Quote:
i was downloading some files from net...and the screen got locked...i got stuck
Another possibility, maybe you didn't lock the screen yourself. Maybe your disk got full so X can't write the temporary files and logs that it needs to. Check that with df -h / and df -h /tmp
Quote:
and the screen got locked.when i tried 2 press enter r space bar it didn't ask for password.instead it didn't show anything in the screen
Next time try Ctrl+Alt+BkSpc to kill X without shutting down.

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lock screen (requiring password to unlock) when resuming from suspend theoldman Linux - Laptop and Netbook 2 12-17-2009 09:35 PM
How do I unlock screen? anindyanuri Linux - Software 2 12-19-2006 11:21 PM
The password to unlock the screen cheez_m Ubuntu 2 11-13-2005 07:43 AM
changed passwd doesn't unlock the screen cheez_m Ubuntu 1 11-13-2005 07:40 AM
Can unlock screen with root password in my user account - want to change this sm1 Linux - Newbie 2 07-24-2005 05:54 AM


All times are GMT -5. The time now is 02:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration