Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X fails to startup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
K-Bo
n00b
n00b


Joined: 03 Feb 2012
Posts: 13

PostPosted: Fri Feb 17, 2012 11:08 pm    Post subject: X fails to startup Reply with quote

After and emerging xorg and following the tutorial for the nvidia set up. When I type start X I get a black screen for a few seconds and then X terminates with the following error message.
Code:


hostname: Host name lookup failure
xauth:  file /home/k3rb3ros/.serverauth.2092 does not exist


X.Org X Server 1.11.2
Release Date: 2011-11-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.1-gentoo-r2 x86_64 Gentoo
Current Operating System: Linux K3 3.2.1-gentoo-r2 #7 SMP PREEMPT Tue Feb 14 19:15:13 MST 2012 x86_64
Kernel command line: root=/dev/sda7 video=uvesafb:mtrr:3,ywrap,1366x768-32@60
Build Date: 03 February 2012  03:37:20PM
 
Current version of pixman: 0.24.0
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
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 17 14:45:16 2012
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "fbdev" (module does not exist, 0)
FATAL: Module fbcon not found.
/etc/X11/xinit/xinitrc: line 59: twm: command not found
/etc/X11/xinit/xinitrc: line 63: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 62: xterm: command not found
/etc/X11/xinit/xinitrc: line 60: xclock: command not found
/etc/X11/xinit/xinitrc: line 61: xterm: command not found
xinit: connection to X server lost

waiting for X server to shut down Server terminated successfully (0). Closing log file.


My system is a laptop with Intel and Nvidia hybrid graphics. I have the Intel on board graphics and enable hybrid switching compiled into the kernel and the nvidia drivers loaded as a module.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7618
Location: almost Mile High in the USA

PostPosted: Fri Feb 17, 2012 11:57 pm    Post subject: Reply with quote

I think you need a --deep --newuse emerge of xinit with USE=-minimal.

But if you want USE=minimal, it will not pull in twm, xterm, xclock, etc. Are you planning to use Gnome or KDE which don't need xterm, etc. (as they have their own gnome-terminal, konsole?)

The default xinit script will quit X11 once the startup script finishes, hence dropping you back to the shell.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2633

PostPosted: Fri Feb 17, 2012 11:59 pm    Post subject: Reply with quote

Looks like you need to give X somthing to do. Try
Code:
X -retro
That should give you an (absolutely useless) test screen with nothing in it except a large X for your mouse and a checked background. you can get back to your terminal using ctr+alt+F1 (assuming you started X from the first terminal). After If that works you can simply install your choice of window manager or desktop environment.
If I recall correctly, the message "FATAL: Module fbcon not found." is harmless.

You can also test by installing twm (emerge twm).
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Sat Feb 18, 2012 1:42 am    Post subject: Reply with quote

Regardless of the part about your incorrect assumptions about xserver, there's one more thing that needs to be addressed.

Hybrid nvidia/intel might be a problem, as for intel you need KMS and no uvesafb and I'm not sure whether that will not conflict with nvidia binary blob (if that's what you're planning to use).
Back to top
View user's profile Send private message
K-Bo
n00b
n00b


Joined: 03 Feb 2012
Posts: 13

PostPosted: Sat Feb 18, 2012 9:55 pm    Post subject: Reply with quote

Code:
X -retro
does exactly what its supposed to do.
Can anyone confirm that removing uvesafb from the kernel will benefit me?
To answer eccerr0r's question I only plan on using X directly not KDE or GNOME.
Code:
emerge --deep --newuse xinit
emerged 26 packages but not appear to fix anything.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2633

PostPosted: Sat Feb 18, 2012 10:53 pm    Post subject: Reply with quote

You will need to install xterm and twm. They are both ugly and very non functional. The black screen is X working correctly. If you want a light wm I suggest that you look at fluxbox or openbox. If you want something a little more shall we say conventional then try lxde.

Basically X does absolutely nothing useful on its own. It acts as a layer between an interface and the kernel. If you know what you are doing then best of luck to you.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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