Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed 4 Parabola systems (Parabola is a pacman GNU system, https://parabola.nu) in my same machine in different kernels, hardened, PCK, generic, LTS, EVERY systems are being suffered against X server unknown error, manually commanding startx not restarting, commanding xkill to force kill still not killing, Liri is my only desktop working and based on Wayland server, but no Gtk+ apps are working under Liri, Liri itself is yet alpha (https://liri.io/download).
Code:
My display manager is SDDM which is X and Wayland compatible, but auto running with startx, manually running SDDM is never working.
Code:
My runlevel is always 5 (graphical runlevel), but should this be temp switched to 2 or 3 or 4, as to help to try fixing X issues?
Nothing special here but it still dsnt tell where are my errors to us, the indifferent output like that not running under sudo, so dsnt seem to be an issue of my permissions.
Code:
hd_scania@hd-scania.nu ~ $ sudo startx >/data/terminal/pacman/Xorg.122117.log 2>&1
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE)
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
Invalid MIT-MAGIC-COOKIE-1 keyxinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
hd_scania@hd-scania.nu ~ $
Quote:
Originally Posted by business_kid
Have you asked on the Parabola site? What did they say?
I would go to runlevel 3, check out /var/log/Xorg.0.log, or as type
Code:
startx >~/Xerr.txt 2>&1
and pastebin it or post it.
It would probably be worth trying as root, in case it's a permissions thing.
And also I have unset my VT instead of 7 (/etc/conf.d/xdm, remains DISPLAYMANAGER=sddm, DISPLAY_MANAGER=sddm, DISPLAY=sddm),
rc runlevel remains 5 and dsnt seem to be related (id:5:initdefault: in both files /usr/share/openrc/support/sysvinit/inittab and /etc/inittab, my init system is OpenRC)
but also exec startlxqt in my .xinitrc, and sometimes XDG_RUNTIME_DIR missing, also having set it to ~/.xdg in files ~/.xinitrc and ~/.bash_profile.
I have also found a strange stuff, during OpenRC init prompt from a Parabola (a pacman GNU system) kernel to boot Devuan (a no-systemd deb system), and I have found my keypads and mice are frozen, it seems that the session dsnt load the X devices for Devuan, but does this get help to this startx error?
Quote:
Originally Posted by business_kid
Code:
Invalid MIT-MAGIC-COOKIE-1 keyxinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
I have removed Xauthority and tried to reinstall the kernel with its headers and xauth, xinit, but later reinstall the full X which I need to back to my homepage for all X packages I have instaled.
but I am still facing the same error, it looks that Ubuntu question dsnt seem to work for me, I am OpenRC but Ubuntu is proposed to systemd.
Quote:
Originally Posted by business_kid
The guy deleted ~/.XAuthority and reinstalled X completely, IIRC. Did you look at the link? If not why ask me?
I have Slackware, not Parabola. But it's an idea for you. If you don't want to try things why did you post the problem?
MIT-MAGIC-COOKIE-1 is an xauth bug as informed in the xauth manual,
Code:
Users that have unsecure networks should take care to use encrypted file transfer mechanisms to copy authorization entries between machines. Similarly, the MIT-MAGIC-COOKIE-1 protocol is not very useful in unsecure envuronments. Sites that are interested in additional may need to use encrypted authorization mechanisms such as Kerberos.
Spaces are currently not allowed in the protocol name. Quoting could be added for the truly preverse
Now MIT-MAGIC-COOKIE-1 has been disappeared which I have installed the every xorg-drivers, but the X server death is not yet over. What to do this step?
There's ~/.Xsession or something like it to tells you the nitty gritty of how the DE started (My variant is ~/.xfce4-session.verbose-log). There's also /var/log/Xorg.0.log, and I did suggest startx > /tmp/x.err 2>&1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.