Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
trouble with X, /root/.serverauth.13141 does not exist error
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
PCC322
n00b
n00b


Joined: 29 May 2019
Posts: 48

PostPosted: Thu Jun 13, 2019 6:37 pm    Post subject: trouble with X, /root/.serverauth.13141 does not exist error Reply with quote

I am trying to get X working on Intel Atom laptop with integrated intel graphics.

After following the instructions in the Gentoo handbook, when i attempt to
Code:
 startx

the first line I am getting is:
Code:
 xauth:  file /root/.serverauth.13141 does not exist


I am also getting:

Code:
 The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:         Unsupported high keycode 372 for name <I372> ignored
>                        X11 cannot support keycodes above 255.
>                        This warning only shows for the first high keycode.
> Internal error:    Could not resolve keysym XF86MonBrightnessCycle
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7511
Location: Saint Amant, Acadiana

PostPosted: Thu Jun 13, 2019 10:34 pm    Post subject: Reply with quote

Do not run X as root, put the whole Xorg log into a pastebin and provide the link.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
PCC322
n00b
n00b


Joined: 29 May 2019
Posts: 48

PostPosted: Fri Jun 14, 2019 6:31 pm    Post subject: Reply with quote

Jaglover wrote:
Do not run X as root, put the whole Xorg log into a pastebin and provide the link.


How do I put the log into a pastebin?

X is also not coming up with a non-root user. Why should X not be run as root?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 23553
Location: here

PostPosted: Fri Jun 14, 2019 6:32 pm    Post subject: Reply with quote

PCC322 wrote:
How do I put the log into a pastebin?

X is also not coming up with a non-root user. Why should X not be run as root?

https://wiki.gentoo.org/wiki/Wgetpaste
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
PCC322
n00b
n00b


Joined: 29 May 2019
Posts: 48

PostPosted: Fri Jun 14, 2019 7:46 pm    Post subject: Reply with quote

fedeliallalinea wrote:
PCC322 wrote:
How do I put the log into a pastebin?

X is also not coming up with a non-root user. Why should X not be run as root?

https://wiki.gentoo.org/wiki/Wgetpaste


That is amazing!

log is here: http://dpaste.com/0CG8NSP
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 901
Location: Italy

PostPosted: Sat Jun 15, 2019 10:09 am    Post subject: Reply with quote

I suggest to add the following line to /etc/portage/package.use:
Code:
x11-apps/xinit -twm

Then you should run:
Code:
emerge -1 x11-apps/xinit
Back to top
View user's profile Send private message
PCC322
n00b
n00b


Joined: 29 May 2019
Posts: 48

PostPosted: Sun Jun 16, 2019 5:41 pm    Post subject: Reply with quote

fturco wrote:
I suggest to add the following line to /etc/portage/package.use:
Code:
x11-apps/xinit -twm

Then you should run:
Code:
emerge -1 x11-apps/xinit


I seem to be having the same problem after this.

Output is here: http://dpaste.com/3XBXAAZ

it seems that the only thing that has changed is the .serverauth number, which is changing every time I
Code:
 startx
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7511
Location: Saint Amant, Acadiana

PostPosted: Sun Jun 16, 2019 6:05 pm    Post subject: Reply with quote

Is this your whole /var/log/Xorg.0.log ?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
etnull
Apprentice
Apprentice


Joined: 26 Mar 2019
Posts: 289

PostPosted: Sun Jun 16, 2019 7:38 pm    Post subject: Reply with quote

fturco wrote:
I suggest to add the following line to /etc/portage/package.use:
Code:
x11-apps/xinit -twm

Then you should run:
Code:
emerge -1 x11-apps/xinit

What it does?
Back to top
View user's profile Send private message
PCC322
n00b
n00b


Joined: 29 May 2019
Posts: 48

PostPosted: Mon Jun 17, 2019 4:55 am    Post subject: Reply with quote

Jaglover wrote:
Is this your whole /var/log/Xorg.0.log ?


no, the log is here http://dpaste.com/0AGZF5B
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 901
Location: Italy

PostPosted: Mon Jun 17, 2019 11:42 am    Post subject: Reply with quote

etnull wrote:
fturco wrote:
I suggest to add the following line to /etc/portage/package.use:
Code:
x11-apps/xinit -twm

Then you should run:
Code:
emerge -1 x11-apps/xinit

What it does?

Your log contains the following errors:
Code:
/etc/X11/xinit/xinitrc: line 58: twm: command not found
/etc/X11/xinit/xinitrc: line 62: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 60: xterm: command not found

By disabling the twm USE flag you avoid relying on the twm window manager and on the xterm terminal emulator, so those errors should disappear.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 23553
Location: here

PostPosted: Mon Jun 17, 2019 11:45 am    Post subject: Reply with quote

fturco wrote:
Your log contains the following errors:
Code:
/etc/X11/xinit/xinitrc: line 58: twm: command not found
/etc/X11/xinit/xinitrc: line 62: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 60: xterm: command not found

By disabling the twm USE flag you avoid relying on the twm window manager and on the xterm terminal emulator, so those errors should disappear.

But... what the user want start? What contains his .xinitrc?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 901
Location: Italy

PostPosted: Mon Jun 17, 2019 11:47 am    Post subject: Reply with quote

Yeah, showing us his/her ~/.xinitrc configuration file is a good idea...
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7511
Location: Saint Amant, Acadiana

PostPosted: Mon Jun 17, 2019 11:57 am    Post subject: Reply with quote

Basically, X starts, there is no application set to use it and X terminates.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
PCC322
n00b
n00b


Joined: 29 May 2019
Posts: 48

PostPosted: Mon Jun 17, 2019 6:37 pm    Post subject: Reply with quote

fturco wrote:
Yeah, showing us his/her ~/.xinitrc configuration file is a good idea...


in /etc/X11/xinit/ I have a xinitrc file, is that the one you are interested?

Jaglover wrote:
Basically, X starts, there is no application set to use it and X terminates.


Am I getting ahead of myself trying to startx prior to installing lxde?
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Mon Jun 17, 2019 7:10 pm    Post subject: Reply with quote

PCC322 wrote:
fturco wrote:
Yeah, showing us his/her ~/.xinitrc configuration file is a good idea...


in /etc/X11/xinit/ I have a xinitrc file, is that the one you are interested?

Jaglover wrote:
Basically, X starts, there is no application set to use it and X terminates.


Am I getting ahead of myself trying to startx prior to installing lxde?

No i always set up base install first, then user and then configure X. I install xclock, twm and xterm just to try it out before i start compiling the other things related to WM, DE and so on.
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 901
Location: Italy

PostPosted: Mon Jun 17, 2019 8:15 pm    Post subject: Reply with quote

PCC322 wrote:
fturco wrote:
Yeah, showing us his/her ~/.xinitrc configuration file is a good idea...


in /etc/X11/xinit/ I have a xinitrc file, is that the one you are interested?

Not really. I'm interested in the configuration file in your home directory.
I never used LXDE, but I think you should add the following line to your ~/.xinitrc file (create it if it doesn't exist yet):
Code:
exec startlxde

Please read this Gentoo wiki article for more details.
Back to top
View user's profile Send private message
PCC322
n00b
n00b


Joined: 29 May 2019
Posts: 48

PostPosted: Thu Jun 20, 2019 7:07 pm    Post subject: Reply with quote

fturco wrote:
PCC322 wrote:
fturco wrote:
Yeah, showing us his/her ~/.xinitrc configuration file is a good idea...


in /etc/X11/xinit/ I have a xinitrc file, is that the one you are interested?

Not really. I'm interested in the configuration file in your home directory.
I never used LXDE, but I think you should add the following line to your ~/.xinitrc file (create it if it doesn't exist yet):
Code:
exec startlxde

Please read this Gentoo wiki article for more details.


Without lxde, this doesn't seem to be of any help.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44959
Location: 56N 3W

PostPosted: Thu Jun 20, 2019 9:29 pm    Post subject: Reply with quote

Xorg found nothing to do.

Code:
/etc/X11/xinit/xinitrc: line 58: twm: command not found
/etc/X11/xinit/xinitrc: line 62: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 60: xterm: command not found


It tried to start its default configuration but twm xterm are not installed.

Code:
emerge -1 twm xterm clock
will fix that without polluting your world file.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
PCC322
n00b
n00b


Joined: 29 May 2019
Posts: 48

PostPosted: Fri Jun 21, 2019 5:48 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Xorg found nothing to do.

Code:
/etc/X11/xinit/xinitrc: line 58: twm: command not found
/etc/X11/xinit/xinitrc: line 62: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 60: xterm: command not found


It tried to start its default configuration but twm xterm are not installed.

Code:
emerge -1 twm xterm clock
will fix that without polluting your world file.


I got it working after emerging lxde and twm and adding
Code:
 exec startlxde
to ~/.xinitrc. Was this just a result of giving x something to do? I'll go emerge exec and xterm now.

What does world file refer to?

Edit:
Code:

 xauth:  file /root/.serverauth.#### does not exist 
is still printing when I startx even though X and lxde seem to both be working fine. Is this a problem?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7511
Location: Saint Amant, Acadiana

PostPosted: Fri Jun 21, 2019 6:02 pm    Post subject: Reply with quote

Code:
xauth:  file /root/.serverauth.#### does not exist

This is weird error, your user has no right to access /root/ and anything in there. Or you are still running X as root? This is what clueless noobs do, you one of them?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
PCC322
n00b
n00b


Joined: 29 May 2019
Posts: 48

PostPosted: Fri Jun 21, 2019 6:21 pm    Post subject: Reply with quote

Jaglover wrote:
Code:
xauth:  file /root/.serverauth.#### does not exist

This is weird error, your user has no right to access /root/ and anything in there. Or you are still running X as root? This is what clueless noobs do, you one of them?


Sorry, I was trying to read the text as it passed quickly. Running from normal user it is giving a similar error, but not in /root/

log is here: http://dpaste.com/0MVPVTM

It seems I have the .serverauth error and a keyboard error.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44959
Location: 56N 3W

PostPosted: Fri Jun 21, 2019 8:49 pm    Post subject: Reply with quote

PCC322,

Thats not the log, its an on screen summary. The log will not start
Code:
$ startx


The log is at /var/log/Xorg.0.log put that log onto a pastebin site and tell us the link.
wgetpaste is your friend.

Gentoo gives you
a) the things you ask for
b) the thing required by the things you ask for.

a) in recorded in
Code:
/var/lib/portage/world
at the end of a successful install. This is your world file or world set.
b) is calculated every time you run emerge.

Bad things happen if things in group b) get added to your world file. Not straight away. its storing up problems for the future.
Suppose you have a library in group b) that gets added to your world set. As its in the world set, portage treats it as something you require.
Maybe the time comes when nothing needs it. Portage will maintain it because you are saying explicitly that you want it. Its just baggage that could be removed though.
More time passes and the package is removed from the gentoo repo. Portage can no longer maintain it and you will get "There are no ebuilds to satisfy ..." errors.

World pollution is a bad thing. Use --oneshot to install things that you don't want to keep, like twm, xclock and xterm, or if you emerge odds and ends to poke at problems.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
PCC322
n00b
n00b


Joined: 29 May 2019
Posts: 48

PostPosted: Wed Jun 26, 2019 7:30 am    Post subject: Reply with quote

NeddySeagoon wrote:
PCC322,

Thats not the log, its an on screen summary. The log will not start
Code:
$ startx


The log is at /var/log/Xorg.0.log put that log onto a pastebin site and tell us the link.
wgetpaste is your friend.


The log is here: http://dpaste.com/3AF4FS6

Quote:

Gentoo gives you
a) the things you ask for
b) the thing required by the things you ask for.

a) in recorded in
Code:
/var/lib/portage/world
at the end of a successful install. This is your world file or world set.
b) is calculated every time you run emerge.

Bad things happen if things in group b) get added to your world file. Not straight away. its storing up problems for the future.
Suppose you have a library in group b) that gets added to your world set. As its in the world set, portage treats it as something you require.
Maybe the time comes when nothing needs it. Portage will maintain it because you are saying explicitly that you want it. Its just baggage that could be removed though.
More time passes and the package is removed from the gentoo repo. Portage can no longer maintain it and you will get "There are no ebuilds to satisfy ..." errors.

World pollution is a bad thing. Use --oneshot to install things that you don't want to keep, like twm, xclock and xterm, or if you emerge odds and ends to poke at problems.


Thanks, that makes a lot of sense. It looks like I have a number of things I won't be using in the log term in my world file.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44959
Location: 56N 3W

PostPosted: Wed Jun 26, 2019 10:34 am    Post subject: Reply with quote

PCC322,

[ 122.594] (II) Server terminated successfully (0). Closing log file.
So Xorg worked, found nothing to do and quit.

Thats what
Code:
emerge -1 twm xterm clock
aimed to fix.
It installs the things that startx tries to use by default, so it works with no setup.

-1 is the short form of --oneshot, because you only need these applications for testing.
Once you have your preferred GUI working, they can be removed.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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
Goto page 1, 2  Next
Page 1 of 2

 
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