LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to unlock a screen in x (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-unlock-a-screen-in-x-605803/)

mathimca05 12-10-2007 08:37 AM

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.

dracolich 12-10-2007 02:36 PM

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?

mathimca05 12-11-2007 05:39 AM

unlock a screen
 
hi
thanks for ur reply.i couldn't find any file like xorg.lock in /tmp.

dracolich 12-11-2007 07:17 AM

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.


All times are GMT -5. The time now is 03:32 PM.