Can't start X as regular user
by Panthan from LinuxQuestions.org on (#6CK28)
Hello.
I am running Slackware 15.0. Just ran the slackpkg upgrade sequence a few days ago, installing the 5.15.117 kernel. After the upgrade, shut down and rebooted and all was well.
Yesterday, I logged out and back in and as a regular user could not start X. When I log in as root and try, there is no problem. I have not made any customizations to X or the configuration files, either as root or user.
I only have one regular user on the system. I haven't tried creating another and seeing if that could start X.
It may be important that I log in to a CLI, and then execute 'startx'.
As user, I get the following message:
X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
Build Operating System: Slackware 15.0 Slackware Linux Project
Current Operating System: Linux dcw550mobile.TrollZone.net 5.15.117 #1 SMP PREEMPT Thu Jun 22 15:39:49 CDT 2023 x86_64
Kernel command line: BOOT_IMAGE=dev000:\EFI\Slackware\vmlinuz root=/dev/ShegoVG/root vga=normal ro ro
Build Date: 29 March 2023 01:43:21PM
Current version of pixman: 0.40.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: Thu Jun 29 07:16:27 2023
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
additional information.(EE) (II) AIGLX: Suspending AIGLX clients for VT switch(EE) Server terminated with error (1). Closing log file.t compil at http://wiki.x
.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" forxinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
The Xorg.0.log file is 430 lines long, so I don't want to post all of it. Something that might be important is:
[ 53.694] (EE) Error compiling keymap (server-0) executing '"/usr/bin/xkbcomp" -w 1 "-R/etc/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) re
ports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/tmp/server-0.xkm"'
[ 53.694] (EE) XKB: Couldn't compile keymap
[ 53.694] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[ 53.712] (EE) Error compiling keymap (server-0) executing '"/usr/bin/xkbcomp" -w 1 "-R/etc/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) re
ports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/tmp/server-0.xkm"'
[ 53.712] (EE) XKB: Couldn't compile keymap
[ 53.712] XKB: Failed to compile keymap
[ 53.712] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
[ 53.712] (EE)
Fatal server error:
[ 53.712] (EE) Failed to activate virtual core keyboard: 2(EE)
[ 53.712] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 53.712] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 53.712] (EE)
[ 53.712] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 53.761] (EE) Server terminated with error (1). Closing log file.
These are the last lines of the file. Everything above that seems to be the same in the Xorg.0.log file from successfully executing startx as root.
I installed docker and its dependencies yesterday, but don't see what effect that would have on starting X. I installed but did not invoke docker. I'm just mentioning it for completeness.
Does anybody have any ideas? I've no doubt I could reinstall Slackware and this would go away, but that seems a bit extreme.
Thank you,
Panthan
I am running Slackware 15.0. Just ran the slackpkg upgrade sequence a few days ago, installing the 5.15.117 kernel. After the upgrade, shut down and rebooted and all was well.
Yesterday, I logged out and back in and as a regular user could not start X. When I log in as root and try, there is no problem. I have not made any customizations to X or the configuration files, either as root or user.
I only have one regular user on the system. I haven't tried creating another and seeing if that could start X.
It may be important that I log in to a CLI, and then execute 'startx'.
As user, I get the following message:
X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
Build Operating System: Slackware 15.0 Slackware Linux Project
Current Operating System: Linux dcw550mobile.TrollZone.net 5.15.117 #1 SMP PREEMPT Thu Jun 22 15:39:49 CDT 2023 x86_64
Kernel command line: BOOT_IMAGE=dev000:\EFI\Slackware\vmlinuz root=/dev/ShegoVG/root vga=normal ro ro
Build Date: 29 March 2023 01:43:21PM
Current version of pixman: 0.40.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: Thu Jun 29 07:16:27 2023
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
additional information.(EE) (II) AIGLX: Suspending AIGLX clients for VT switch(EE) Server terminated with error (1). Closing log file.t compil at http://wiki.x
.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" forxinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
The Xorg.0.log file is 430 lines long, so I don't want to post all of it. Something that might be important is:
[ 53.694] (EE) Error compiling keymap (server-0) executing '"/usr/bin/xkbcomp" -w 1 "-R/etc/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) re
ports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/tmp/server-0.xkm"'
[ 53.694] (EE) XKB: Couldn't compile keymap
[ 53.694] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[ 53.712] (EE) Error compiling keymap (server-0) executing '"/usr/bin/xkbcomp" -w 1 "-R/etc/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) re
ports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/tmp/server-0.xkm"'
[ 53.712] (EE) XKB: Couldn't compile keymap
[ 53.712] XKB: Failed to compile keymap
[ 53.712] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
[ 53.712] (EE)
Fatal server error:
[ 53.712] (EE) Failed to activate virtual core keyboard: 2(EE)
[ 53.712] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 53.712] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 53.712] (EE)
[ 53.712] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 53.761] (EE) Server terminated with error (1). Closing log file.
These are the last lines of the file. Everything above that seems to be the same in the Xorg.0.log file from successfully executing startx as root.
I installed docker and its dependencies yesterday, but don't see what effect that would have on starting X. I installed but did not invoke docker. I'm just mentioning it for completeness.
Does anybody have any ideas? I've no doubt I could reinstall Slackware and this would go away, but that seems a bit extreme.
Thank you,
Panthan