LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 02-01-2007, 11:51 AM   #1
Li...
Member
 
Registered: Feb 2004
Posts: 31

Rep: Reputation: 15
X Server crashes after login


Hi,

few days ago I've upgraded my system to Xorg 7.1.1 and KDM is the default session manager. After I've logged in, the X server crashes, thus I become a black screen and the login appears again afte few seconds. In the .xsession-errors file I get the following message:

Xsession: X session started for Li... at Thu Feb 1 01:35:39 CET 2007
open: Permission denied

What did X tried to open?
What can I do to get more detailed information about this error? strace'ing X by inserting "/usr/bin/strace -f -F -o /tmp/outfile /usr/X11R6/bin/X -br -nolisten tcp :0 ....." in /etc/kde3/kdm/kderc didn't work.
Could it be possible, that the DRI module can't be loaded? ((EE) AIGLX: DRI module not loaded)

Neither KDE nor Afterstep, Gnome etc. are currently running.


Before I've done the upgrade I've had nearly the same problem with the XFree86. I must at first login as root, logout and re-login as user to get KDE running. Otherwise KDE crashes at the point "initialize system" the second "boot-point" beneath the splash-screen. With xorg root can't log in due to security reasons I think.

Li
 
Old 02-01-2007, 03:18 PM   #2
ststroud
LQ Newbie
 
Registered: May 2006
Location: Greenville
Distribution: Slackware 11
Posts: 12

Rep: Reputation: 0
I also recently upgraded to Xorg 7.1, but I am having different problems enabling DRI. Anyways, it sounds like perhaps users do not have access privileges to the x server. I am not certain, nor an expert, but I would assume it was trying to open the display, but could not because of improper access privileges for users. I do not know the solution off the top of my head. Perhaps you could search for similar problems along those lines.

Also post any errors listed in the Xorg log file (/var/log/Xorg.0.log)

Last edited by ststroud; 02-01-2007 at 03:19 PM.
 
Old 02-02-2007, 11:12 AM   #3
shorun
Member
 
Registered: Mar 2006
Location: belguim
Distribution: fedora, mandriva, suse
Posts: 148

Rep: Reputation: 15
this is a rights issue i think, try to see if you can get X running as root.
if root can start X, then the user does not have the correct groups.
 
Old 02-02-2007, 07:33 PM   #4
Li...
Member
 
Registered: Feb 2004
Posts: 31

Original Poster
Rep: Reputation: 15
first I would say thanks to you for your answers. I regret that i'm late to answer due to no-connectivity to the internet caused by a non-working X-server... (I should not go online at work)

The problem is fixed by me yesterday. Teh X-server is now up and running. to fix this problem I've installed gdm and started gdm from shell. Then I get the warning, that gdm can't write a file (.X0-lock??) to the /tmp diretory. The reason was the permisson to /tmp. It was set to

drwxrw-rw- 13 root root 16384 Feb 2 01:14 tmp
now
drwxrwxrwx 13 root root 16384 Feb 3 02:30 tmp

Li
 
  


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
Gaim - Crashes at Login? cudmore Linux - Software 2 10-02-2006 03:54 AM
KDE Crashes everytime I login, then continues jfaberna Fedora 2 01-27-2006 10:38 PM
Gnome 2.10 crashes after login... help! superbnerb Linux - Software 2 12-17-2005 05:19 PM
Krandrinithack crashes after kde login hotel-lima Linux - Software 5 07-15-2004 01:57 PM
Xwindow login prompt crashes uglykid Linux - Software 3 07-25-2001 08:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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