Problems when building awesomewm for source in Fedora 33

When I run sudo startx with exec awesome in my .xinitrc, this happens

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


X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
Build Operating System:  5.8.7-200.fc32.x86_64 
Current Operating System: Linux no81X2 5.9.8-200.fc33.x86_64 #1 SMP Tue Nov 10 21:58:19 UTC 2020 x86_64
Kernel command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.9.8-200.fc33.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet
Build Date: 08 October 2020  12:00:00AM
Build ID: xorg-x11-server 1.20.9-1.fc33 
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.2.log", Time: Sun Nov 22 22:22:16 2020
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
Failed to import environment: Process org.freedesktop.systemd1 exited with status 1
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

And then an error screen pops up.
Trying to select awesome from GDM results in my computer freezing.
What is the problem and how can I fix it?

1 Like

For what reason are you using “sudo startx”.?

It has for many years been a major issue when X is run as root (even to the point that it can break the system), so it is suggested that you always use “startx” as your regular user. That will likely fix the problem.

2 Likes

I still had the problem the running just startx. Here is the output:

xauth:  file /home/no/.serverauth.3546 does not exist

/usr/libexec/Xorg.wrap: Only console users are allowed to run the X server
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.

Another person seems to have the same issue and they solved it I think, but I am not technical enough to know what he or she did.

I don’t use awsome, but that post seems pretty self explanatory if you follow the steps he did.

I think he and I had different problems.
His .xinitrc’s exec gnome-session conflicted with his exec awesome I think while I just have exec awesome my mine so they are different problem.
Also I did what he did, it still resulted in the same error.

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


X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
Build Operating System:  5.8.7-200.fc32.x86_64 
Current Operating System: Linux no81X2 5.9.9-200.fc33.x86_64 #1 SMP Thu Nov 19 21:25:45 UTC 2020 x86_64
Kernel command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.9.9-200.fc33.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet
Build Date: 08 October 2020  12:00:00AM
Build ID: xorg-x11-server 1.20.9-1.fc33 
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.1.log", Time: Tue Nov 24 11:55:25 2020
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) AMDGPU(0): [KMS] Kernel modesetting enabled.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
Failed to import environment: Process org.freedesktop.systemd1 exited with status 1
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.