LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-27-2013, 01:44 AM   #1
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,165

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
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:

Code:
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:

Code:
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?

Last edited by astrogeek; 03-27-2013 at 04:17 AM.
 
Old 03-27-2013, 04:15 AM   #2
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Rep: Reputation: 196Reputation: 196
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/
Code:
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.
 
Old 03-27-2013, 04:22 AM   #3
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,165

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by w1k0 View Post
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.
 
Old 03-27-2013, 04:56 AM   #4
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,165

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
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?
 
Old 03-27-2013, 05:02 AM   #5
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Rep: Reputation: 196Reputation: 196
Inspect /usr/bin/startx file – especially the section:

Code:
    # set up default Xauth info for this machine
    case `uname` in
    Linux*)
        if [ -z "`hostname --version 2>&1 | grep GNU`" ]; then
            hostname=`hostname -f`
        else
            hostname=`hostname`
        fi
        ;;
    *)
        hostname=`hostname`
        ;;
    esac
Why it does that I don’t know but the comment gives a hint that’s necessary for the authorization.
 
1 members found this post helpful.
Old 03-27-2013, 05:05 AM   #6
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,165

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
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 127.0.0.1 and hostname by IP.
 
  


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
Fresh Install Shows Udev Failure carlosinfl Debian 1 05-10-2011 01:35 PM
[SOLVED] Is it possible to do a 'fresh install' using Slackware -current? Robert.Thompson Slackware 8 03-25-2011 11:05 AM
[SOLVED] A solution for nouveau problems with fresh install of slackware64-current colorpurple21859 Slackware 8 02-27-2011 12:24 PM
xorg monitor setup fresh install twinkers Debian 2 08-08-2006 01:59 PM
fresh install 10.2 or current? bogey Slackware 5 03-24-2006 10:44 PM


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