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
 
LinkBack Search this Thread
Old 02-06-2013, 12:14 PM   #1
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 143
Blog Entries: 1

Rep: Reputation: 12
Lightbulb Full disk makes xinit fail in unexpected way


I'm on Debian Squeeze with XFCE (minus gdm).
Today X wouldn't start. Screen remained black. CTRL+ALT+F1 back to original terminal revealed errors. First it would say: waiting for X server to begin accepting connections. And then it would repeatedly output "protocol not specified" (or something) for a while until it gave up.
The log didn't show anything funny. If I wouldn't have remembered that I had tried to copy some files which resulted in a full home directory/partition(?), I would have never fixed it. Deleted some files and it worked again.
What the heck?
Posting here for future reference.
 
Old 02-06-2013, 12:37 PM   #2
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,168
Blog Entries: 23

Rep: Reputation: 275Reputation: 275Reputation: 275
Quote:
What the heck?
Figures. There are two explanations here. First, your disk is (I assume) set up in ONE partition. Feasable, but dangerous. Otherwise, you may need to set up logrotate somewhat to delete old(er) logs on time.
THE (second) explanation is simple: all *nix processes use disk-based sockets to communicate. What happened is simple: your box booted one process after the other, each time claiming a bit of disk space. X is a process that has need for disk space too, for the sockets. No space, no socket, no socket no start up and a black screen...

You're safe...for now, but one day...pow! and you're back where you just escaped from...

Thor
 
1 members found this post helpful.
Old 02-15-2013, 06:03 AM   #3
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 143
Blog Entries: 1

Original Poster
Rep: Reputation: 12
Quote:
First, your disk is (I assume) set up in ONE partition. Feasable, but dangerous. Otherwise, you may need to set up logrotate somewhat to delete old(er) logs on time.
Definitely multiple partitions. Logrotate (thanks for pointing it out) appears to be running as log directory contains zips.
Quote:
THE (second) explanation is simple: all *nix processes use disk-based sockets to communicate.
Erp :-/ Good to know. Does seem like a detour to handle things... I thought /tmp was RAM-disk, and that such files would end up there.
Thanks for the explanation.
 
Old 02-15-2013, 08:23 AM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 1,702

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
It depends on the disk that the X authority is on.

When X starts it updates the authority file by generating a new key. If the key cannot be written, then X fails.

You can find out where the X authority is by running "xauth". With no options it will go to the default location.
 
1 members found this post helpful.
Old 02-15-2013, 04:54 PM   #5
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,168
Blog Entries: 23

Rep: Reputation: 275Reputation: 275Reputation: 275
Hope to have helped a bit...Linux is on your side, but sometimes, it needs a little help too...
 
Old 02-16-2013, 02:03 AM   #6
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 143
Blog Entries: 1

Original Poster
Rep: Reputation: 12
Yes. Definitely helped.
Debian apparently has the Xauth file in the home directory by default.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.xsessionrc makes start-up fail Weapon S Linux - Desktop 2 11-28-2012 01:31 AM
update after wubi install makes ubuntu fail to load dispozable Linux - Newbie 5 04-29-2011 06:40 PM
Commands fail with disk full messages, but df says I've got plenty of space rsgrimes Linux - Newbie 14 02-11-2010 05:03 PM
SIlicon Image 3112 PCI SATA controller; connecting harddrives makes boot fail infinity42 Linux - Hardware 3 12-31-2005 05:39 AM
ALI USB2 card makes my external Hdd fail. Sm1ler Linux - Hardware 0 04-28-2005 07:44 AM


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