LinuxQuestions.org
Register a domain and help support LQ
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 08-27-2008, 08:32 AM   #1
eggbert74
LQ Newbie
 
Registered: Aug 2008
Posts: 10

Rep: Reputation: 0
x keeps restarting in endless loop


Hi,

Whenever I try to start gdm and/or X, it keeps restarting in an infinite loop. Not sure if it's X or gdm that's crashing.

This all started after I ran alsaconf as root from the console. It somehow hosed the permissions of roots home dir, and /home as well. I tried chmoding these back to 700 and 755 to no avail. The permissions, are just all out of whack, and I'm not sure what they're supposed to be.

Can someone please help? I am running TinyMe (a pclos remaster)

Thanks.

Last edited by eggbert74; 08-27-2008 at 08:33 AM.
 
Old 08-27-2008, 09:34 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
Do you get the login screen but get kicked out when you try to log in?
 
Old 08-27-2008, 09:37 AM   #3
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 39
Can you see anything interesting in ~/.xsession-errors?
 
Old 08-27-2008, 10:13 AM   #4
eggbert74
LQ Newbie
 
Registered: Aug 2008
Posts: 10

Original Poster
Rep: Reputation: 0
It never makes it to the login screen. It tries to initially load gdm, and then just restarts over and over.

The only thing it says in .xsession-errors is something like...

s2u: cookies for :0 = '<some long uid>'
The application 's2u' lost its connection to the display :0.0;
most likely the X server was shut down or your killed/destroyed the application.
 
Old 08-27-2008, 10:28 AM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
Try to find your xorg log files and look for lines with EE on them. These are fatal errors and should give you some more information which should make it possible to diagnose the problem.

Where the xorg logfile goes varies from distro to distro. Typical locations include /var/log and the name might include xorg or x11.
 
Old 08-27-2008, 10:49 AM   #6
eggbert74
LQ Newbie
 
Registered: Aug 2008
Posts: 10

Original Poster
Rep: Reputation: 0
I looked in /var/log and found a bunch of numbered Xorg.log files, so I did a 'cat Xorg*.log | grep EE' and the only thing I saw was something saying "module AIGXL not loaded", or words to that effect.

I think this has to do with permissions, cause this only started after I tried to fix the screwed up permissions that alsaconf left me with.
 
Old 08-27-2008, 11:07 AM   #7
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
It might be that the driver you are using does not support AIGLX, but it is requested.

Edit your /etc/X11/xorg.conf file (again, I'm not 100% sure if this is the right location on pclos) and look for a line which looks something like this:
Code:
Option "AIGLX" "true"
Comment out that line by putting a # at the start of the line.
 
Old 08-28-2008, 03:37 AM   #8
__spc__
Member
 
Registered: Feb 2006
Location: Bridgend, Wales
Distribution: Kubuntu 10.04.25 (Feb 2011)
Posts: 172

Rep: Reputation: 30
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
Do you get the login screen but get kicked out when you try to log in?
I do yes - it just started happening.

Root logs-in, but no other users can.

All I have done since I last successfully logged-in was mess around with the sound devices in KDE to try and get avidemux to work with audio...

Any ideas where to go next?

EDIT: I started the system in runlevel 3 and logged in successfully as a non-root user. When I then tried to 'startx', I received an X error message saying:

"Call to lnusertemp failed (temporary directories full?). Check your installation."
What should I do to remedy this?

Last edited by __spc__; 08-28-2008 at 03:58 AM. Reason: More info
 
Old 08-28-2008, 08:24 AM   #9
__spc__
Member
 
Registered: Feb 2006
Location: Bridgend, Wales
Distribution: Kubuntu 10.04.25 (Feb 2011)
Posts: 172

Rep: Reputation: 30
Solved.

It seem, with 'df' I had indeed run out of disk space - it just took me an age to find a file hiding in /home/USER/.local/share/Trash/files/ that was 9GB (an AVI rip).
 
Old 08-28-2008, 10:08 AM   #10
Fantasio
Member
 
Registered: Nov 2007
Location: Vinsobres - Drome - France
Distribution: SuSE Linux 11.3
Posts: 152

Rep: Reputation: 19
Probably due to your /tmp is full
 
Old 08-28-2008, 12:52 PM   #11
__spc__
Member
 
Registered: Feb 2006
Location: Bridgend, Wales
Distribution: Kubuntu 10.04.25 (Feb 2011)
Posts: 172

Rep: Reputation: 30
Quote:
Originally Posted by Fantasio View Post
Probably due to your /tmp is full
/tmp was empty (ish)...
 
Old 08-28-2008, 01:16 PM   #12
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
maybe /var/tmp ?

What does this command output:
Code:
df -h
 
Old 08-28-2008, 02:13 PM   #13
__spc__
Member
 
Registered: Feb 2006
Location: Bridgend, Wales
Distribution: Kubuntu 10.04.25 (Feb 2011)
Posts: 172

Rep: Reputation: 30
Quote:
Originally Posted by matthewg42 View Post
maybe /var/tmp ?

What does this command output:
Code:
df -h
Shows I have loads of space - now the 9GB AVI's been disposed of!

(Mu Linux partition is 15GB, so the AVI pretty much filled it!)
 
Old 08-28-2008, 03:07 PM   #14
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
Please copy paste the output.
 
Old 08-28-2008, 05:15 PM   #15
__spc__
Member
 
Registered: Feb 2006
Location: Bridgend, Wales
Distribution: Kubuntu 10.04.25 (Feb 2011)
Posts: 172

Rep: Reputation: 30
Quote:
Originally Posted by matthewg42 View Post
Please copy paste the output.
Problem is solved, but here is the output regardless:
Code:
bash-3.1# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              15G  5.2G  8.6G  38% /
/dev/sda1              25G   17G  8.1G  68% /Windows
/dev/sda2             194G  162G   33G  84% /Data
/dev/sdb1             233G  233G     0 100% /HomeMovies
tmpfs                 503M     0  503M   0% /dev/shm
bash-3.1#
I recall now, as the user, that I deleted the .AVI file, but the trashcan would not allow me to empty it. I thought nothing more of it - until now!

Last edited by __spc__; 08-28-2008 at 05:15 PM. Reason: spelilng errurs
 
  


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
Hotplug endless loop AzCoder Ubuntu 4 04-30-2005 02:56 PM
Bizarre endless login loop CelticWhisper Slackware 6 04-06-2005 07:39 PM
Grub stuck in an endless loop. dikadika Linux - General 4 02-27-2005 08:46 PM
Mandrake 10.1 Install endless loop SteveI Mandriva 2 12-30-2004 10:56 AM
HELP- endless loop contrasutra Linux - Software 2 04-26-2003 12:25 PM


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