LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to retrieve that I kill accidentally (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-retrieve-that-i-kill-accidentally-890160/)

gerard.zapata 07-06-2011 02:46 AM

How to retrieve that I kill accidentally
 
Hello I am having problem retrieving the desktop that I accidentally point out and clicked on it by xkill. How can I retrieve it?

Knightron 07-06-2011 03:10 AM

if you're at a command prompt, try "startx"

gerard.zapata 07-06-2011 04:41 AM

Quote:

Originally Posted by Knightron (Post 4406509)
if you're at a command prompt, try "startx"

after entering 'startx' this is what I get:

"xauth: creating new authority file /root/.serverauth.6604


Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again."

My desktop now turned to black wallpaper also I cannot right click on the desktop. My OS is CentOS Gnome GUI.

colucix 07-06-2011 05:12 AM

First you have to kill the current gnome-session. The xkill command terminates the graphic objects but not the parent process that created them. Switch to a virtual console, e.g. Alt-Ctrl-1, login and do:
Code:

pkill -9 gnome-session
then logout and switch again to the graphic console Alt-Ctrl-7. You should see the login page again.

gerard.zapata 07-06-2011 05:34 AM

Quote:

Originally Posted by colucix (Post 4406604)
First you have to kill the current gnome-session. The xkill command terminates the graphic objects but not the parent process that created them. Switch to a virtual console, e.g. Alt-Ctrl-1, login and do:
Code:

pkill -9 gnome-session
then logout and switch again to the graphic console Alt-Ctrl-7. You should see the login page again.

Thanks COLUCIX. It is now working!

I have one more problem. I cannot access any websites now before I can. Connection Timeout!
All my configuration are correct but I cannot access the web. Why is this?

colucix 07-06-2011 05:38 AM

Quote:

Originally Posted by gerard.zapata (Post 4406631)
I have one more problem. I cannot access any websites now before I can. Connection Timeout! All my configuration are correct but I cannot access the web. Why is this?

I don't know. What does make you to suspect the problem is related to the xkill of the desktop? Maybe did you connect using a desktop (GUI) application which has been killed as well? Which kind of connection do you have (LAN, DSL, wireless, ...)?

gerard.zapata 07-06-2011 07:45 PM

Quote:

Originally Posted by colucix (Post 4406637)
I don't know. What does make you to suspect the problem is related to the xkill of the desktop? Maybe did you connect using a desktop (GUI) application which has been killed as well? Which kind of connection do you have (LAN, DSL, wireless, ...)?

LAN connection in our office (static IP). not related to xkill. After the blackout then I power on again and boom I have no internet access.

Config.

Static IP - Good
Gateway - Good
DNS Primary and secondary - Good
connected to domain

unSpawn 07-06-2011 08:03 PM

Quote:

Originally Posted by gerard.zapata (Post 4406577)
"xauth: creating new authority file /root/.serverauth.6604

You shouldn't be running Xorg and browsing the 'net as root user.


As for your connection problems can you access LAN servers and services? Can you (tcp!)traceroute known sites?


All times are GMT -5. The time now is 11:42 AM.