LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-06-2009, 01:20 PM   #1
abelito8
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
unable to log into ubuntu using the graphical mode


Good evening,

I have kubuntu 9.04 installed in my computer and I am normally using a Gnome environment desktop (though I get back to KDE or Xfce if I have any troubles with Gnome)

This afternoon I restarted my computer and since ever I am unable to log in. I press the on button, get to the partition page and select Ubuntu 9.04 and the computer shows the login page

however, once I type in my password, the computer tries to log in but then brings me back to the login page asking for the password again. I have tried to login as Xfce, Gnome, KDE, Failsafe mode and the result is the same. The only way to get through is to login through the terminal, but then I am unable to get back to the graphical mode. Any help?
 
Old 08-07-2009, 06:29 AM   #2
arckane
Member
 
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 308

Rep: Reputation: 39
Sounds like there could be some permissions screwed on your home directory.

This is highly not recommended but may help. Drop to the console, login.

sudo chmod -R 777 .

That'll give full permissions to all files in your home directory, reboot and try again. Good luck.
 
Old 08-07-2009, 04:49 PM   #3
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by arckane View Post
This is highly not recommended but may help. Drop to the console, login.

sudo chmod -R 777 .
I agree it sounds like a permissions problem, but that does sound a little drastic. And irreversible unless you have recorded all of the permissions first.

Before trying that I suggest you look for a log of what is going wrong. If your GUI login was controlled by gdm, I would suggest looking in /var/log/gdm/:0.log to see if you could spot what might be the problem. Since you're using Kubuntu, I imagine you are using kdm as the login manager. I don't know where kdm would log to but I would expect errors to be logged somewhere.

You also might check /var/log/auth.log for information. That file has to be accessed as root
 
Old 08-17-2009, 09:00 AM   #4
abelito8
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks a million, it worked!
(late reply because I took some holiday)

still I do not understand what happened for I did nothing new to cause such a thing

are permissions now granted permantently or shall I do anything else to fix the bug?

All the best (and thanks again, you made my day!)
 
Old 08-17-2009, 09:09 AM   #5
abelito8
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Original Poster
Rep: Reputation: 0
The above reply was for arckane, i tried the sudo chum 777 and it worked
I was unable, though, to use the command

/var/log/gdm/:0.log

yes blackhole 54, I login using gdm but I was unable to spot the problem (as you might have understood I am quite new, though enthusiast, in Linux)

thank you for your thread in any case,
 
Old 08-17-2009, 08:04 PM   #6
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by abelito8 View Post
I was unable, though, to use the command

/var/log/gdm/:0.log
Sorry if I was not clear, but /var/log/gdm/:0.log is not a command. It is a text file. I usually look at such things with the less command:

Code:
less /var/log/gdm/:0.log
You can also look at it with gedit if you are more comfortable using a graphical tool. (Actually, since it is a text file, you can use any of the text utilities on it. Except you shouldn't try to modify it, and as a normal user, you can't.)

I don't know if your error would have shown up in there, but I thought it was someplace that you should look. Of course, now that there isn't an error, looking won't help you -- except possibly to satisfy your curiosity.
 
  


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
The installer is unable to run in graphical mode! sajdutt Linux - Software 2 01-18-2011 05:09 PM
how to enable graphical mode for ubuntu 8.04 kedidie Linux - Newbie 7 07-07-2008 10:26 AM
unable to install linux 5 64bit in graphical mode dj_rowdiiee Linux - Hardware 3 07-17-2006 02:13 PM
installer unable to run in graphical mode mcanallyd Linux - General 1 04-09-2006 08:14 PM
i am not able to log in graphical mode. i am getting the looging screen. nbhalala Linux - General 3 12-07-2004 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 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
Open Source Consulting | Domain Registration