LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 11-19-2012, 05:33 AM   #1
vignesh4sh
Member
 
Registered: Oct 2012
Posts: 69

Rep: Reputation: Disabled
Gui not working after system shut down unexpectedly (ubuntu 12.04)


Hi,

my machine shutdown unexpectively due to cable fault
when i start the machine.Graphical mode is not worked. only konsole has opened.
i tried "startx" command.
Quote:
$startx
unable to connect to x server
server error
server terminal with error
After then
I installed "apt-get install kde"
I getting blue screen not even that konsole mode.Blue screen with login options not root and sudo users.
I used recovery mode also.but its saying gnome not supported
I struggling with this. please give me any idea.
my remote server auth keys are there in this machine.

Thanks
 
Old 11-20-2012, 12:51 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,208

Rep: Reputation: 230Reputation: 230Reputation: 230
Have you tried running file system check after the unexpected shutdown?

Quote:
~# fsck /filesystem_partition
There should be no need to reinstall KDE if it was running before hand.
 
Old 11-20-2012, 02:55 AM   #3
vignesh4sh
Member
 
Registered: Oct 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Thanks for reply

Now, i am able to use gui mode by using single user mode

Quote:
# service kdm start
# startx
But, by default, i not able to use gui mode and terminal mode.
Getting error

Quote:
saned disabled
/etc/default/saned
Quote:
Stopping System V runlevel compatibility
then stucked

Thanks.

Last edited by vignesh4sh; 11-20-2012 at 03:29 AM.
 
Old 11-20-2012, 12:20 PM   #4
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,208

Rep: Reputation: 230Reputation: 230Reputation: 230
I hope somebody from the ubuntu corner will come in, I cannot figure out with assurance. Cases like that I usually clear off the garbage:

Quote:
sudo find /var -iname \*kde\*\*cache\* | xargs rm -fr
and also

Quote:
sudo find /tmp -iname \*.kde\* | xargs rm -fr
You may try delete the lock nodes at the /tmp:

Quote:
sudo find /tmp -iname \*lock | xargs rm -f
Press Ctl+Alt+Del to reboot. It might work.

Hope that helps. Good luck.

Last edited by malekmustaq; 11-20-2012 at 12:21 PM.
 
Old 11-20-2012, 08:33 PM   #5
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,613

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
Another test you could to, while logged into single user mode, is to create a new user. Then try logging in to regular mode as the new user. If the new user is able to log in and have functionality, odds are that one of the hidden dot-configuration files in your /home/[username] directory got scrambled in the mess.

You could try renaming one of them as root, then testing your login, and repeating until you identify the culprit. I'd start with the ones directly related to your desktop environment.

Alternatively, you could transfer your data to the new /home/[username] and go on with your life.
 
  


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
selinux in ubuntu not allowing me to shut my system down. unix1adm Ubuntu 1 08-04-2011 10:38 AM
Ubuntu upgrade to 11.04 GUI not working bpeacock Ubuntu 2 06-11-2011 07:42 AM
[solved] After upgrading Ubuntu, system blacks out in the Shut Down process didland Linux - Newbie 5 11-09-2009 12:56 PM
shut down won't shut system down taoweijia Linux - General 3 03-03-2004 06:05 PM
ALSA not working with system (GUI) sounds. martinman Linux - General 3 11-01-2003 06:30 PM


All times are GMT -5. The time now is 10:09 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