LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-08-2008, 09:47 AM   #1
Pyro In A Cage
LQ Newbie
 
Registered: Feb 2006
Posts: 18

Rep: Reputation: 0
(EE) AIGLX: Screen 0 is not DRI capable


I am getting the following output from startx

Quote:
hostname: Unknown host
xauth: creating new authority file /root/.serverauth.13085


X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN
Current Operating System: Linux bench 2.6.23-gentoo-r6 #1 SMP Mon Feb 4 15:42:07 Local time zone must be set--see zic m i686
Build Date: 05 February 2008
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 8 07:40:31 2008
(==) Using config file: "/etc/X11/xorg.conf"
(EE) No devices detected.

Fatal server error:
no screens found
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
I would post my configuration file but I can't figure out how to copy it.
I am using nano. What would be the equivalent of ^ac in windows for select_all+copy?

Last edited by Pyro In A Cage; 02-09-2008 at 09:38 PM.
 
Old 02-08-2008, 10:00 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
You really should check the wiki.x.org as suggested! http://wiki.x.org/wiki/FAQErrorMessa...b4f1c2724244ed scroll down to: I keep getting the message: "no screens found".
 
Old 02-08-2008, 10:22 AM   #3
Pyro In A Cage
LQ Newbie
 
Registered: Feb 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Okay, thank you.

Now X starts, but it's just a gray screen with a black X in the middle.

Code:
X -fbbpp 8 -depth 8
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/bench:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN
Current Operating System: Linux bench 2.6.23-gentoo-r6 #1 SMP Mon Feb 4 15:42:07 Local time zone must be set--see zic m i686
Build Date: 05 February 2008
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb  8 08:20:11 2008
(==) Using config file: "/root/xorg.conf"
(II) Module already built-in
(II) Module already built-in
(EE) AIGLX: Screen 0 is not DRI capable
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
 
Old 02-08-2008, 12:10 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
This AIGLX: Screen 0 is not DRI capable could be the problem. You could maybe try some of the suggestions in this thread: http://www.linuxquestions.org/questi...ver...-498247/ or google: AIGLX: Screen 0 is not DRI capable or do a search in this forum. If you're not bothered about using AIGLX then change your driver to vesa.

Last edited by {BBI}Nexus{BBI}; 02-08-2008 at 12:12 PM.
 
Old 02-08-2008, 02:09 PM   #5
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Quote:
xauth: creating new authority file /root/.serverauth.13085
You should NEVER run X windows as root. That is the height of foolishness. Most distros don't even allow a root X session, unless you modify some configs. The reason for that is anything you do as root can affect the entire system. A large part of what makes linux so much more secure than certain other (Redmond based) systems is the longstanding security it has, including the use of non-root user accounts, which can't write or abuse system files. Running as user jim all I can mess up is /home/jim if I click on something malicious on a website. Running as root, your entire system can become compromised in a heartbeat. It is not worth it. Run as a user, and if you need root for a task, give the password.

Peace,
JimBass
 
Old 02-08-2008, 03:33 PM   #6
rg.viza
Member
 
Registered: Aug 2006
Posts: 74

Rep: Reputation: 15
Quote:
Originally Posted by JimBass View Post
You should NEVER run X windows as root. That is the height of foolishness. Most distros don't even allow a root X session, unless you modify some configs. The reason for that is anything you do as root can affect the entire system. A large part of what makes linux so much more secure than certain other (Redmond based) systems is the longstanding security it has, including the use of non-root user accounts, which can't write or abuse system files. Running as user jim all I can mess up is /home/jim if I click on something malicious on a website. Running as root, your entire system can become compromised in a heartbeat. It is not worth it. Run as a user, and if you need root for a task, give the password.

Peace,
JimBass
Anyone that's ever done an
# rm -rf ./*
from a root shell knows this to be true. A malicious script can do this pretty easy. You shouldn't even unzip a file as root (unless you made the gz yourself) if you know what's good for you. That .05% chance that you will screw up hurts pretty bad when it actually happens on a system that matters.

I suggest you grab a distro install it and try this. Then imagine the server you just destroyed was your company's main db server ; )

-Viz
 
Old 02-08-2008, 07:05 PM   #7
Pyro In A Cage
LQ Newbie
 
Registered: Feb 2006
Posts: 18

Original Poster
Rep: Reputation: 0
I'm about to leave but I will try using the vesa driver when I get back.

I will also switch to a normal user.
The reason I stayed root is because I thought the main reason non-root account usage was stressed so much was because of malware. Because of that, I remained root based on principle, since this will be a local server and there would be no reason for it to get any virii.
But I didn't think of the fact that I am fairly inexperienced with linux and might accidentally mess something up.


Thanks for your advice. If anyone else has any, please feel free to contribute and I will look at it when I get back.
 
Old 02-09-2008, 08:24 AM   #8
Pyro In A Cage
LQ Newbie
 
Registered: Feb 2006
Posts: 18

Original Poster
Rep: Reputation: 0
K I did what was suggested, and fixed a couple more following errors by googling.

Now, I get the following output from a remote console, and a blank screen on the server.
Quote:
skyler@bench /etc/X11 $ startx
hostname: Unknown host
xauth: creating new authority file /home/skyler/.serverauth.10535


X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN
Current Operating System: Linux bench 2.6.23-gentoo-r6 #1 SMP Mon Feb 4 15:42:07 Local time zone must be set--see zic m i686
Build Date: 05 February 2008
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Feb 9 06:20:45 2008
(==) Using config file: "/etc/X11/xorg.conf"
(II) Module already built-in
(EE) AIGLX: Screen 0 is not DRI capable
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
xset: bad font path element (#62), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
startkde: Starting up...
startkde: Running kpersonalizer...
/usr/bin/iceauth: creating new authority file /home/skyler/.ICEauthority
Do you think it's the aiglx error causing this problem?
 
Old 02-09-2008, 01:09 PM   #9
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Ok, two things. First off, when you say this:

Quote:
I get the following output from a remote console, and a blank screen on the server
do you mean that you issue the startx command over a ssh session and expect the X session to happen on the screen? That won't work. All linuxes are true multi-user machines. That means if you startx over an ssh session, it only exists for that session, not visible on the machine. Think of it this way, if 4 users ssh in and all startx, which one would the server show on a monitor connected to it? The answer is none of them. If you want an X session to be on a connected monitor, you have to sign in locally and startx that way, or play with exporting the display variable to have it appear on a monitor. It will not just magically happen. Also, you have to have xforwarding enabled in the sshd_config file to get an x session forwarded over ssh.

Secondly to that, you have 2 errors that happen during the startup. The only one that is listed as a major error is this:

Code:
(EE) AIGLX: Screen 0 is not DRI capable
I don't know what AIGLX is, but xorg doesn't like something about it. I suggest you do as the startup output says, and check http://wiki.x.org. Also you have a problem with fonts, it complains about the fonts not existing, but it can work around that.

Peace,
JimBass
 
Old 02-09-2008, 05:46 PM   #10
Pyro In A Cage
LQ Newbie
 
Registered: Feb 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Yes, that's what I mean. I know you know alot more about linux than I do, but I don't know what to tell you because when I issue the startx command from liquidfx, I get output on that console and a blank screen on the bench.
(liquidfx is this computer, and bench is the server I installed gentoo on)

The reason I do it that way is so that I can see what's going on. If I issue the startx command locally on bench, I can't see the output because of the blank screen. I'm sure there's some command to work around that, but I don't know what it is.


I know that the error is with AIGLX, but I don't know what it is either.
I have checked wiki.x.org, and also googled it. I always look around before asking for help, hence my small post count here.

I noticed the font errors, but that's another problem for another time; right now I just want to get this working. All of the non-fatal errors can wait.
 
Old 02-09-2008, 08:53 PM   #11
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You have multiple sources of problems doing things that way. In addition to the problems getting X to run normally, you have the additional problem of getting it to run over a ssh session.

Everything that is appearing over the ssh session is also getting logged to /var/log/Xorg.0.log, so you don't need to worry about it not being logged. The entire output that you are finding over the ssh session will also be in that log file.

So in the first place, please issue the startx command on "the bench".

Also, I remember way back when the "startx" would give a graphical screen, but instead of starting gnome or KDE or whatever, it just gave you the bare minimum of X environments, which was a "blank" blue-green-grayish screen, no icons, no start button, or anything of that nature. IIRC, you had to right-click to get a choice of creating anything, like a terminal session.

Secondly, if startx fails on "the bench", then comment out the line in /etc/X11/xorg.conf that AIGLX, and see if that improves things any.

Peace,
JimBass
 
Old 02-09-2008, 10:07 PM   #12
Pyro In A Cage
LQ Newbie
 
Registered: Feb 2006
Posts: 18

Original Poster
Rep: Reputation: 0
I'm doing it locally now.

There is nothing in xorg.conf that says AIGLX, so I can't comment it out.

Also, the blank screen is different when I use X instead of startx.

-startx results in just a black screen
-X results in a weird gray screen with a horizontal black bar about an inch away from the left edge of the screen.

Last edited by Pyro In A Cage; 02-09-2008 at 10:12 PM.
 
Old 02-10-2008, 10:40 AM   #13
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
That is odd, what is AIGLX? The xorg.conf file must be finding it somewhere, or it wouldn't call it. Can you post the xorg.conf file so we can have a look at it?

Did you install either Gnome, KDE, or any of the other multitudes of X window dressings that exist? If so, have you tried starting them directly, like startkde or startgnome rather than startx? I had never even heard of X being a command. That's a new one on me.

Peace,
JimBass
 
Old 02-10-2008, 02:22 PM   #14
Pyro In A Cage
LQ Newbie
 
Registered: Feb 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Yes, I have KDE installed. No, I haven't tried that; I thought X had to be run first.
Yeah X is a command.
I can't post my config file, I have no way of uploading it. That's why I was askign what the linux equivalent of ^ac is.

This is the output of startkde:

Quote:
skyler@bench ~ $ startkde
xsetroot: unable to open display ''
xset: unable to open display ""
xset: unable to open display ""
xsetroot: unable to open display ''
startkde: Starting up...
ksplash: cannot connect to X server
xprop: unable to open display ''
usage: xprop [-options ...] [[format [dformat]] atom] ...

where options include:
-grammar print out full grammar for command line
-display host:dpy the X server to contact
-id id resource id of window to examine
-name name name of window to examine
-font name name of font to examine
-remove propname remove a property
-set propname value set a property to a given value
-root examine the root window
-len n display at most n bytes of any property
-notype do not display the type field
-fs filename where to look for formats for properties
-frame don't ignore window manager frames
-f propname format [dformat] formats to use for property of given name
-spy examine window properties forever

kdeinit: Aborting. $DISPLAY is not set.
Warning: connect() failed: : No such file or directory
ksmserver: cannot connect to X server
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...
xprop: unable to open display ''
usage: xprop [-options ...] [[format [dformat]] atom] ...
 
Old 02-10-2008, 03:27 PM   #15
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Yes you can post it, by copying the file across a ssh session to a machine with functioning graphical environment.

This command (issued from the liquidfx computer) would copy the xorg.conf file I want to see onto the liquidfx machine. I'll use pyro_in_a_cage as your username on both machines, obviously replace that with your real username(s). Also, if "thebench" isn't resolved by name, but by IP, than replace thebench with the IP.

Code:
scp pyro_in_a_cage@thebench:/etc/X11/xorg.conf /home/pyro_in_a_cage/
That will put the file in your home directory on liquidfx, and from there you can open the file and copy/paste it into here.

I expect the problem is one line in xorg that needs to be edited out.

Peace,
JimBass

Last edited by JimBass; 02-10-2008 at 03:28 PM.
 
  


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
startx command not found Deelk Debian 3 04-08-2006 05:22 AM
Debian startx Fatal Error : Failed to initialize core devices TextBrowserAddict Debian 2 08-21-2005 10:42 PM
startX 'command not found' ? phil81 Debian 20 01-05-2005 08:59 AM
startx not found xibitz Linux - Newbie 9 08-09-2004 12:49 PM
startx command not found desluscious Linux - Newbie 6 08-25-2003 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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