xauth: file /home/user/.serverauth.6692 does not exist
xauth: file /home/user/.serverauth.6692 does not exist
All,
I have a CentOS 7 machine it had GNOME desktop. The PC did not have a clean shutdown,
After restarting the machine I can't get GNOME Desktop (GUI)
When I do startx I get the following error.
Error:-----
startx
xauth: file /home/user/.serverauth.6692 does not exist
(EE)
Fatal server error:
(EE) PAM authentication failed, cannot start X server.
Perhaps you do not have console ownership?
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
Any suggestions what is the issue here?
Any help is appreciated. I am new to Linux
I have a CentOS 7 machine it had GNOME desktop. The PC did not have a clean shutdown,
After restarting the machine I can't get GNOME Desktop (GUI)
When I do startx I get the following error.
Error:-----
startx
xauth: file /home/user/.serverauth.6692 does not exist
(EE)
Fatal server error:
(EE) PAM authentication failed, cannot start X server.
Perhaps you do not have console ownership?
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
Any suggestions what is the issue here?
Any help is appreciated. I am new to Linux
Last edited by ronel on 2021/09/27 19:05:11, edited 1 time in total.
Re: xauth: file /home/user/.serverauth.7162 does not exist
Since you have one filename in the subject of the post and another one in the body, I am guessing that the filename it complains about changes each time you try it? Title says .serverauth.7162, body has .6692. In which case, it most likely is not the file that's missing, it's that something that creates that and is meant to be using it has crashed and deleted it.
Looks more like the problem.(EE) PAM authentication failed, cannot start X server.
Perhaps you do not have console ownership?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: xauth: file /home/user/.serverauth.7162 does not exist
TrevorH,
Whenever I run "startX" I get the error and the file name keeps changing (the numbers).
Do I need to login as root user to execute "Startx" ?
Whenever I run "startX" I get the error and the file name keeps changing (the numbers).
Do I need to login as root user to execute "Startx" ?
Re: xauth: file /home/user/.serverauth.6692 does not exist
Running startx has been unsupported by Red Hat for some time. They say you should use gddm/lightdm/sddm or some other *dm and get a graphical login as well. What's the output from ls -la /dev/console and ls -laZ /dev/console ? Also worth reading viewtopic.php?t=4743 and if that doesn't help then https://access.redhat.com/solutions/24464
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: xauth: file /home/user/.serverauth.6692 does not exist
Here is the output
ls -la /dev/console
crw-------. 1 root root 5, 1 Sep 27 10:27 /dev/console
ls -laZ /dev/console
crw-------. root root system_u:object_r:console_device_t:s0 /dev/console
ls -la /dev/console
crw-------. 1 root root 5, 1 Sep 27 10:27 /dev/console
ls -laZ /dev/console
crw-------. root root system_u:object_r:console_device_t:s0 /dev/console
Re: xauth: file /home/user/.serverauth.6692 does not exist
I also tried the steps from the link you sent. But I get this error now
startx
xauth: file /home/user/.serverauth.18729 does not exist
X.Org X Server 1.17.2
Release Date: 2015-06-16
X Protocol Version 11, Revision 0
Build Operating System: 2.6.32-573.18.1.el6.x86_64
Current Operating System: Linux centos 3.10.0-514.21.1.el7.x86_64 #1 S MP Thu May 25 17:04:51 UTC 2017 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-514.21.1.el7.x86_64 root=/dev/mapper/centos00-root r o crashkernel=auto rd.lvm.lv=centos00/root rd.lvm.lv=centos/swap rd.lvm.lv=centos00/swap rhgb quiet LANG=en_US.UTF-8
Build Date: 06 November 2016 12:43:39AM
Build ID: xorg-x11-server 1.17.2-22.el7
Current version of pixman: 0.34.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.5.log", Time: Tue Sep 28 10:13:18 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
touch: cannot touch ‘/home/user/.cache/imsettings/log’: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
xinit: connection to X server lost
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
Couldn't get a file descriptor referring to the console
startx
xauth: file /home/user/.serverauth.18729 does not exist
X.Org X Server 1.17.2
Release Date: 2015-06-16
X Protocol Version 11, Revision 0
Build Operating System: 2.6.32-573.18.1.el6.x86_64
Current Operating System: Linux centos 3.10.0-514.21.1.el7.x86_64 #1 S MP Thu May 25 17:04:51 UTC 2017 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-514.21.1.el7.x86_64 root=/dev/mapper/centos00-root r o crashkernel=auto rd.lvm.lv=centos00/root rd.lvm.lv=centos/swap rd.lvm.lv=centos00/swap rhgb quiet LANG=en_US.UTF-8
Build Date: 06 November 2016 12:43:39AM
Build ID: xorg-x11-server 1.17.2-22.el7
Current version of pixman: 0.34.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.5.log", Time: Tue Sep 28 10:13:18 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
touch: cannot touch ‘/home/user/.cache/imsettings/log’: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
/usr/libexec/imsettings-functions: line 37: /home/user/.cache/imsettings/log: Permission denied
xinit: connection to X server lost
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
Couldn't get a file descriptor referring to the console
Re: xauth: file /home/user/.serverauth.6692 does not exist
Does that file exist and who owns it (and its parent directory)?touch: cannot touch ‘/home/user/.cache/imsettings/log’: Permission denied
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: xauth: file /home/user/.serverauth.6692 does not exist
The file doesn't exist. the directory is "/home/user/"
Re: xauth: file /home/user/.serverauth.6692 does not exist
And who owns /home/user? and the permissions on it?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: xauth: file /home/user/.serverauth.6692 does not exist
drwxrwxrwx. 24 user user 4096 Sep 28 11:54 /home/user/
ls -ld /home/
drwxrwxrwx. 4 root root 48 Sep 7 09:19 /home/
ls -ld /home/
drwxrwxrwx. 4 root root 48 Sep 7 09:19 /home/
Last edited by ronel on 2021/09/29 13:35:46, edited 1 time in total.