-   Slackware (
-   -   Xorg / nouveau failure on fresh -current install (

astrogeek 03-27-2013 01:44 AM

Xorg / nouveau failure on fresh -current install
UPDATED: To save you reading time...

I have found that this is not nouveau related.

I found that I can start an X session as root or normal user with:


xinit [client]
with the normal client xinitrc files, or the default.

But startx fails... or so I thought. It turns out that if I invoke startx and just wait about 30 seconds it will in fact start the X session (patience is a virtue...).

The only message I get is:


xauth: file .../.serverauth.xxxx does not exist
and my guess is that startx is waiting for X authorization??

I am out of my knowledge zone with that...

Any tips why startx would fail in this manner?

w1k0 03-27-2013 04:15 AM

0. Move the possible /etc/X11/xorg.conf file to /etc/X11/xorg.conf.old one.

1. Try something like this:

startx /etc/X11/xinit/ xinitrc.blackbox

2. Try the same way all window managers and desktop environments from:

ls /etc/X11/xinit/

xinitrc.blackbox  xinitrc.fluxbox  xinitrc.fvwm2  xinitrc.kde  xinitrc.twm  xinitrc.wmaker xinitrc.xfce
3. Try the command:

X > X.log

Exit X with Ctrl+Alt+Backspace.

Inspect ~/X.log file.

4. If you encounter something strange report that here.

astrogeek 03-27-2013 04:22 AM


Originally Posted by w1k0 (Post 4919718)
0. Move the possible /etc/X11/xorg.conf file to /etc/X11/xorg.conf.old one.

1. Try something like this:

startx /etc/X11/xinit/ xinitrc.blackbox


I was updating my post while you were answering - thanks!

Please see the update - I can in fact start it with xinit and the clients - it is startx that seems to have a problem.

astrogeek 03-27-2013 04:56 AM

OK I got it going, but am unsure whether I feel more confused or more simply dumb...

I had a typo in my nameserver entry during setup - bad IP address.

I was using my local hosts file and had used ssh and sftp to local machines so I knew the network was up - but I had not yet hit anything outside my LAN so I did not know my nameservers were incorrect.

But I am still confused why startx would need to use the nameservers anyway - I have localhost and hostname entries in my hosts file (using static IPs for all local machines).

So I am going to mark this solved - but can anyone tell me whay startx/xauth would need to look beyond my hosts file?

w1k0 03-27-2013 05:02 AM

Inspect /usr/bin/startx file Ė especially the section:


    # set up default Xauth info for this machine
    case `uname` in
        if [ -z "`hostname --version 2>&1 | grep GNU`" ]; then
            hostname=`hostname -f`

Why it does that I donít know but the comment gives a hint thatís necessary for the authorization.

astrogeek 03-27-2013 05:05 AM

Thanks w1k0 - looks like our posts crossed in transit again!

It was an xauth timeout (see previous post) - but I am unsure why it needed to look beyond my hosts file.

I have entries in my /etc/hosts for both localhost and hostname by IP.

All times are GMT -5. The time now is 04:59 PM.