LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-16-2004, 02:35 PM   #1
carlos1
LQ Newbie
 
Registered: Dec 2004
Distribution: FC3
Posts: 9

Rep: Reputation: 0
GDM could not write to my authorization file ?&*%$^


I posted this on another forum but got no answer.
Can someone please help?
I am running FC# on a Dell Inspiron 4100 (dual boot with some other O/S....)
I was answering an e-mail and when I attempted to send, it told me it "couldn't create a mail message".
Then I ran up2date, and when I got to the updates to install (not much, as I ran in a couple of days ago) I was told I didn't have enough disk space, as the selected packages were 3KB! I haev plenty of disk space.
Anyway, I logged out, then tried to log back in and got this error:
[QUOTE:]
GDM could not write to your authorization file. This could mean that you are out of disk space or that your home directory could not be opened for writing. In any case, it is not possible to log in. Please contact your system administrator.
[/QUOTE]

Then I tried to log in as root, and got:
[QUOTE:]
Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or that you may be out of disk space. Try logging in with one of the failsage sessions to see if you can fix this problem.
[/QUOTE]

Then in the same box, under "view details" it said:
Quote:
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp

[QUOTE:]
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers -h "" -1 ":0" "root"
Agent pid 4712
Not enough free disk space on /tmp
[/QUOTE]

So I logged in in failsade terminal mode as root, went to /tmp, but there's nothing that I can recognize as large in there, just a few dozen .tmp files and a couple of confd folders for me and root, and a couple of other files that didn't seem to be large files.
Anyway, I deleted a bunch of files from my /home dir just in case, and rebooted, and the same thing happened.

Any suggestions? Please help if you can.
I want my linux back
 
Old 12-16-2004, 03:35 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
I think that you first should figure out how much space is available in your partition and how much you are using. You can use:
fdisk -l /dev/hda
to list the partition table. This will tell you how much space each partition has.

Then you can use df to check how much space your file system has available. Check this number against the partition size to see if you have any missing free space.

You can use du and df to find out how much of your file system space is actually allocated. Check this against the total file system space.

See the man pages for df, du, and fdisk.

-------------------------
Steve Stites
 
Old 12-16-2004, 03:55 PM   #3
carlos1
LQ Newbie
 
Registered: Dec 2004
Distribution: FC3
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks jailbit.
I knew fdisk and know the partition size which is 13GB.
My main Linux parition is 13GB on /dev/hda7 mount on /, that is, plus 100MB boot and 1GB swap paritions.
I ran
df /dev/hda7
and got 0 space available, and 100% used! I don't know what that is, it seems to be reading it as used when it isn't?
Is there a fix for this?
Many thanks.
 
Old 12-16-2004, 07:23 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"and got 0 space available, and 100% used! I don't know what that is, it seems to be reading it as used when it isn't?"

Use du to see how much space you have in allocated files. If it is less than 13G that means that you have partition space that is neither allocated space nor free space. To use du umount all of the other disk partitions because du will count every partition system in the filepath it is counting. Then use this command:

du / -s -h

If it turns out that you have missing space in the partition then there are two possible remedies.

1) Boot a rescue CD and run fsck against the partition (assuming that it is ext3):

fsck -t ext3 /dev/hda7

2) If fsck does not fix it you will have to copy your /dev/hda7 partition to backup, reformat /dev/hda7 with mkfs, and restore /dev/hda7 from backup.

----------------------------
Steve Stites
 
Old 09-09-2005, 01:55 AM   #5
rtn
LQ Newbie
 
Registered: Sep 2005
Location: New Delhi, India
Distribution: FC 3
Posts: 1

Rep: Reputation: 0
gdm authorization error

I too had the same problem as carlos1 and am running FC3 and found may way to this thread.. I ran the
du / -s -h and found that the total space was used up.. Even webmin reported 0% free space...

Then I deleted some files from the .trash folder and other useless stuff and I was able to log in!

I guess mostly it is really due to some space lost in hidden folders or some such thing.. While this does not explain the 0% free space on a 13G root filesystem, my root partition was about 6-7G and du reported 6.9G!!

so the problem might be straight forward... lack of space .. or as jailbit suggested.. go ahead and fix the partition...

anyways.. thanx to all ... my login is working!!!
 
  


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
read & write binary file error in redhat xcmore Programming 11 06-17-2005 08:48 AM
xdm/gdm/kdm domain authorization daft Linux - Networking 0 05-22-2005 10:42 AM
How to write gdm themes pranith Programming 4 03-03-2005 05:53 PM
GDM could not write authorisation file distantlyyours Slackware 3 02-25-2004 07:27 AM
GDM could not write to your authorisation file... rahaydenuk Linux - General 1 01-25-2004 10:46 AM


All times are GMT -5. The time now is 03:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration