Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with xauth and startx (no errors, no warnings)
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
redocpot
n00b
n00b


Joined: 12 Nov 2011
Posts: 7

PostPosted: Wed Nov 30, 2011 8:40 am    Post subject: Problem with xauth and startx (no errors, no warnings) Reply with quote

Hi,

Everytime I execute startx in the cmd line, I get this msg:

Code:

xauth: file /root/.serverauth.XXXXX does not exist


Finally, I get this:

Code:


xinit: connection to X server lost

waiting for X server to shut down



Neither warnings nor errors are showed.

I think I should get something like this, after "startx"

Code:

xauth: creating new authority file /root/.serverauth.xxxxx


Do anybody know how to fix this problem? Thank you all.

My output after "startx":
Code:

tux # startx
xauth: file /root/.serverauth.17206 does not exist

X.Org X Server 1.10.4
Release Date: 2011-08-19

X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.6-gentoo x86_64 Gentoo
Current Operating System: Linux tux 3.0.6-gentoo #1 SMP Mon Nov 28 06:12:34 CET 2011 x86_64
Kernel command line : real_root=/dev/sda10
Build Date: 28 November 2011 07:00:29AM

Current version of pixman: 0.22.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: Wed Nov 30 09:09:33 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.

xinit: connection to X server lost

waiting for X server to shut down

Back to top
View user's profile Send private message
gentoo_lan
l33t
l33t


Joined: 08 Sep 2004
Posts: 891
Location: Charles Town, WV

PostPosted: Wed Nov 30, 2011 10:06 am    Post subject: Reply with quote

It looks like X is not installed. To install X, edit /etc/make.conf and add VIDEO_CARDS="<your video card here>" and emerge xorg-server or emerge xorg-x11 to get X.
Back to top
View user's profile Send private message
rootor
n00b
n00b


Joined: 05 Dec 2011
Posts: 25

PostPosted: Wed Dec 07, 2011 3:50 pm    Post subject: me too Reply with quote

Did you resolved this problem?

It seems that I got the same problem with you:
Code:

nehc cc # startx
xauth:  file /root/.serverauth.25044 does not exist

X.Org X Server 1.10.4
Release Date: 2011-08-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.6-gentoo x86_64 Gentoo
Current Operating System: Linux nehc 3.0.6-gentoo #1 SMP Thu Dec 8 05:19:49 CST            2011 x86_64
Kernel command line:
Build Date: 08 December 2011  06:47:10AM

Current version of pixman: 0.22.2
        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: Thu Dec  8 06:52:01 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(II) [KMS] Kernel modesetting enabled.
which: no keychain in (/sbin:/bin:/usr/sbin:/usr/bin)
/etc/X11/xinit/xinitrc: line 59: twm: command not found
/etc/X11/xinit/xinitrc: line 63: exec: xterm: not found
xinit: connection to X server lost

waiting to X server to shutdown



:evil: :evil: ... SOS !!
Back to top
View user's profile Send private message
golagoda
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2011
Posts: 105
Location: Australia

PostPosted: Thu Dec 08, 2011 4:02 am    Post subject: Re: me too Reply with quote

You don't even have a desktop environment installed or set to be used, not even the default one (TWM).

No offence, but honestly.. do people never read error messages anymore, it's not like they're extremely complex debug logs that only wizards with 30 years computer knowledge can interpret.

Note the lines "/etc/X11/xinit/xinitrc: line 59: twm: command not found"
and "/etc/X11/xinit/xinitrc: line 63: exec: xterm: not found"

If you want to use the default X wm which is twm (which you probably don't). Do
Code:
 emerge twm xterm


Or emerge your desktop environment or window manager of choice and put 'exec <wm or de>' in ~/.xinitrc so for example gnome would be 'exec gnome-session' and openbox would be 'exec openbox-session'
Back to top
View user's profile Send private message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 652

PostPosted: Sun Mar 11, 2012 11:21 pm    Post subject: Reply with quote

Not an especially helpful answer. I seem to be having the same problem. I *have* a DE installed, am using it right now. But another user on this machine gets the exact errors shown above. I suspect it's from accidentally deleting dot files.

What does this missing serverauth file do? Why is it missing?

Jon
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2125
Location: Here and Away Again

PostPosted: Mon Mar 12, 2012 12:47 am    Post subject: Reply with quote

jesnow wrote:
Not an especially helpful answer. I seem to be having the same problem. I *have* a DE installed, am using it right now. But another user on this machine gets the exact errors shown above. I suspect it's from accidentally deleting dot files.

What does this missing serverauth file do? Why is it missing?

Jon

Does the "other user" also have a .xinitrc with the desired content?
Deleting "dot files" could indeed do away with said file and produce such results.

I can't tell about the serverauth-file 'issue' as I have never looked into it (yet), however, I can say that for as long as I can remember, I have been getting that too, and I have not had any noticeable problems with running xorg-server.
_________________
Kind regards,
Chiitoo.

You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Mon Mar 12, 2012 3:35 pm    Post subject: Reply with quote

jesnow wrote:
another user on this machine gets the exact errors shown above. I suspect it's from accidentally deleting dot files.

If you are using 'startx' to start your X session, the only file you need is .xinitrc
Is the other user in the 'video' group?

BTW, have you considered using a login manager? If you want a lighweight system, try using SLiM: http://wiki.gentoo.org/wiki/SLiM
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2125
Location: Here and Away Again

PostPosted: Tue Mar 13, 2012 11:06 am    Post subject: ><)))°ß Reply with quote

Oh, I forgot to include in my previous post, that if you want to define it 'globally' as a default for all users, you can do this in /etc/env.d/90xsession as explained here:

_________________
Kind regards,
Chiitoo.

You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 652

PostPosted: Tue Mar 13, 2012 2:36 pm    Post subject: Reply with quote

gorkypl wrote:
jesnow wrote:
another user on this machine gets the exact errors shown above. I suspect it's from accidentally deleting dot files.

If you are using 'startx' to start your X session, the only file you need is .xinitrc
Is the other user in the 'video' group?

BTW, have you considered using a login manager? If you want a lighweight system, try using SLiM: http://wiki.gentoo.org/wiki/SLiM


.xinitrc that she accidentally deleted was the key.

Login manager? Why?

Jon
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