LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-12-2006, 11:59 PM   #1
kajensen
Member
 
Registered: Aug 2003
Location: Santo Domingo, R.D.
Distribution: Ubuntu 14.04 LTS, Xubuntu 14.04 LTS
Posts: 90

Rep: Reputation: 15
Question No GDM Access





I am making my way through Keir Thomas' "Beginning Ubuntu Linux." I needed to delete SBackup folders from /var and /home. Both, in fact, all of my directories were locked (shell misstep). In the process of trying chown syntax I evidently made a serious error as sudo. I can access tty1 but not gdm. My username/password is accepted but returns to log-in screen. Gnome "safe-mode" fails. The error message is: "GDM could not write to your authorization file. . . Your Home Directory could not be opened for writing."

Is there a "newbie-possible" way to solve this from tty1 or should I reformat my hard drive?

Update:

To my surprise, I can get to a new GDM in this way: (By new, I mean I am root on a virgin desktop with all my programs and internet access.

1. boot to log-in
2. Alt+Ctrl+F1 to tty1
3. sudo shutdown now
4. give root password for maintenance
5. startx
6 in a virgin GDM -- not sure about the runlevel

In this post I am recording my observations but I really don't know what's going on. I would really appreciate a "heads-up" on what is happening and what I should do. I can't find wiki to decribe this state of affairs and right now I feel like I'm in Windows with no choice but to reformat my hard drive. Thanks a lot for any help.
 
Old 09-13-2006, 12:48 AM   #2
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
you could boot from a rescue cd then chmod your home directories permissions back to something like rwxr-x---
Code:
chmod 0750 /home/your-home
 
  


Reply



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 is /etc/x11/gdm/gdm.conf ? Floreen Linux - Newbie 2 04-30-2007 12:22 PM
gdm C4bo Debian 3 10-08-2005 06:05 AM
could not access GDM configuration file error buchalkalan Linux - Software 1 10-08-2005 04:22 AM
gdm overwrites /etc/gdm/Session/fluxbox _flaab_ Mandriva 0 12-21-2003 10:58 AM
Configuring Xdm / Gdm / Kdm For Remote Access AntWarrior Linux - Networking 3 10-14-2003 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:06 PM.

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