LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
  Search this Thread
Old 07-06-2011, 03:46 AM   #1
gerard.zapata
LQ Newbie
 
Registered: May 2011
Posts: 6

Rep: Reputation: Disabled
Unhappy 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?
 
Old 07-06-2011, 04:10 AM   #2
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,390
Blog Entries: 7

Rep: Reputation: 164Reputation: 164
if you're at a command prompt, try "startx"
 
Old 07-06-2011, 05:41 AM   #3
gerard.zapata
LQ Newbie
 
Registered: May 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by Knightron View Post
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.
 
Old 07-06-2011, 06:12 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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.
 
Old 07-06-2011, 06:34 AM   #5
gerard.zapata
LQ Newbie
 
Registered: May 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by colucix View Post
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?
 
Old 07-06-2011, 06:38 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by gerard.zapata View Post
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, ...)?
 
Old 07-06-2011, 08:45 PM   #7
gerard.zapata
LQ Newbie
 
Registered: May 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colucix View Post
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
 
Old 07-06-2011, 09:03 PM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Quote:
Originally Posted by gerard.zapata View Post
"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?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
What if 'kill -9' fails to kill a task? chii-chan Linux - Newbie 15 03-27-2013 04:47 PM
Unable to kill process with kill -9 pgb205 Linux - Software 5 01-13-2011 04:55 PM
[SOLVED] Kill a hung task when kill -9 doesn't help 10110111 Linux - General 4 04-02-2009 12:10 PM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 07:35 PM
cannot kill process (kill -9 does not work) mazer13a Linux - General 1 05-27-2005 03:32 PM


All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration