View previous topic :: View next topic |
Author |
Message |
Wizumwalt Guru
Joined: 20 Aug 2006 Posts: 547
|
Posted: Tue Mar 24, 2009 2:44 am Post subject: help w/ startx |
|
|
I've built gnome and when I tried startx from the command line, I get the following error. Anyone have ideas?
Code: |
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: Mon Mar 23 20:40:50 2009
(EE) Unable to locate/open config file
New driver is "nv"
(==) Using default built-in configuration (55 lines)
(EE) open /dev/fb0: No such file or directory
(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
(EE) AIGLX: Screen 0 is not DRI capable
xinit: No such file or directory (errno 2): Cannot register with ConsoleKit: org.freedesktop.CkConnector.Error: Unable to open session: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
/home/winky/.xinitrc: line 1: exec: gnome-session: not found
waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.
|
|
|
Back to top |
|
|
FlorianSchmidt Tux's lil' helper
Joined: 20 May 2008 Posts: 77 Location: Germany
|
Posted: Tue Mar 24, 2009 8:12 am Post subject: |
|
|
It seems like you have trouble with your xorg.conf.
What does
give?
If you're missing an xorg.conf you should read this and create one. _________________ -bash: :wq: command not found |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Mar 24, 2009 11:03 am Post subject: |
|
|
For the record, you don't need any /etc/X11/xorg.conf if you use Xorg-Server 1.3 and higher.
Can you post :
Code: |
# cat /etc/X11/xorg.conf
# lspci
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Tue Mar 24, 2009 11:11 am Post subject: |
|
|
Wizumwalt,
It looks like you did not make Xorg work before you added gnome. Thats ok, we just need to amke Xorg work alone first.
Please post your /var/log/Xorg.0.log file (all of it).
From your error, Xorg is trying to run in framebuffer mode, thats what /dev/fb0 is, your first framebuffer device.
You probably don't want that. When you post your lspci output, as d2_racing asked, we can advise what drivers you will need. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Mar 24, 2009 11:13 am Post subject: |
|
|
Also, you should post your emerge --info too
|
|
Back to top |
|
|
jsowoc n00b
Joined: 29 May 2005 Posts: 22 Location: Calgary, AB, Canada
|
Posted: Fri Apr 03, 2009 6:06 pm Post subject: same problem |
|
|
Hi, I have the exact same problem, where I did a clean install, did emerge gnome, and get the same error.
I don't have any xorg.conf file:
Code: | root@jsowoc-desktop:/mnt/root# ls -l ../etc/X11/
total 36
-rwxr-xr-x 1 root root 1496 2009-04-01 09:23 chooser.sh
drwxr-xr-x 2 root root 4096 2009-04-02 14:29 Sessions
-rwxr-xr-x 1 root root 858 2009-04-01 09:23 startDM.sh
drwxr-xr-x 3 root root 4096 2009-04-01 09:23 xinit
-rw-r--r-- 1 root root 17925 2009-04-01 09:26 xorg.conf.example
|
I *could* post my Xorg.0.log file, but it is rather large. Is there an easy way to attach files to a post?
In it, it detected that it should use the nv driver, and gives a long list of nvidia video cards, but mine (7100) is not on the list:
Code: | (...) (list of supported cards)
(II) FBDEV: driver for framebuffer: fbdev
(II) VESA: driver for VESA chipsets: vesa
(II) Primary Device is: PCI 00@00:10:0
(WW) NV: Ignoring unsupported device 0x10de07e1 (GeForce 7100/nForce 630i) at 00@00:10:0
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib64/xorg/modules/linux//libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.5.3, module version = 0.0.2
ABI class: X.Org Video Driver, version 4.1
(EE) open /dev/fb0: No such file or directory
(WW) Falling back to old probe method for vesa
(EE) No devices detected.
Fatal server error:
no screens found |
I can try the instructions for creating an xorg.conf file, and will let you know if it worked in my case. |
|
Back to top |
|
|
bobspencer123 Guru
Joined: 19 Dec 2005 Posts: 544
|
Posted: Fri Apr 03, 2009 11:11 pm Post subject: Re: same problem |
|
|
jsowoc wrote: | Hi, I have the exact same problem, where I did a clean install, did emerge gnome, and get the same error.
I don't have any xorg.conf file:
Code: | root@jsowoc-desktop:/mnt/root# ls -l ../etc/X11/
total 36
-rwxr-xr-x 1 root root 1496 2009-04-01 09:23 chooser.sh
drwxr-xr-x 2 root root 4096 2009-04-02 14:29 Sessions
-rwxr-xr-x 1 root root 858 2009-04-01 09:23 startDM.sh
drwxr-xr-x 3 root root 4096 2009-04-01 09:23 xinit
-rw-r--r-- 1 root root 17925 2009-04-01 09:26 xorg.conf.example
|
I *could* post my Xorg.0.log file, but it is rather large. Is there an easy way to attach files to a post?
In it, it detected that it should use the nv driver, and gives a long list of nvidia video cards, but mine (7100) is not on the list:
Code: | (...) (list of supported cards)
(II) FBDEV: driver for framebuffer: fbdev
(II) VESA: driver for VESA chipsets: vesa
(II) Primary Device is: PCI 00@00:10:0
(WW) NV: Ignoring unsupported device 0x10de07e1 (GeForce 7100/nForce 630i) at 00@00:10:0
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib64/xorg/modules/linux//libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.5.3, module version = 0.0.2
ABI class: X.Org Video Driver, version 4.1
(EE) open /dev/fb0: No such file or directory
(WW) Falling back to old probe method for vesa
(EE) No devices detected.
Fatal server error:
no screens found |
I can try the instructions for creating an xorg.conf file, and will let you know if it worked in my case. |
you should start your own thread. But it looks like you need to install nvidia proprietary drivers: "emerge -va nvidia-drivers" |
|
Back to top |
|
|
jsowoc n00b
Joined: 29 May 2005 Posts: 22 Location: Calgary, AB, Canada
|
Posted: Sat Apr 04, 2009 2:04 pm Post subject: it works now :-) |
|
|
Simply installing the nvidia-driver did not solve the problem. I have an old xorg.conf file lying around that I used with a binary-based distro with this specific monitor, video card, and binary nvidia driver. It worked.
Because my initial error as it appeared on-screen was identical to what the 1st person posted, I added myself to this thread. The output (which was different) was in my x.org log file.
I suspect that Wizumwalt might have luck with emerging the nvidia-drivers (I see the driver being used is "nv"). I'm posting my xorg.conf (which worked for me, YMMV).
Code: | Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection
Section "Device"
Identifier "Configured Video Device"
Boardname "NVIDIA GeForce 7 Series"
Busid "PCI:0:16:0"
Driver "nvidia"
Screen 0
Vendorname "NVIDIA"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1280x1024"
Horizsync 31.5-64.0
Vertrefresh 56.0 - 65.0
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
Gamma 1.0
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1280 1024
Modes "1280x1024@60" "1280x960@60" "1024x768@60"
"800x600@60" "800x600@56" "640x480@60"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
EndSection
Section "Module"
Load "glx"
Load "v4l"
EndSection
Section "ServerFlags"
EndSection
|
I do strongly recommend adjusting the monitor section of this xorg.conf, unless you have a 1280x1024 LCD. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|