You are not logged in.
Pages: 1
I have xorg installed but when trying to login to a plasma xorg session with sddm it just kicks me out, I tried disabling sddm and then running $ startx from the tty and it works but outputs this
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
Current Operating System: Linux god 6.4.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000 x86_64
Kernel command line: initrd=\initramfs-linux.img root=PARTUUID=6b389c33-a62b-4586-a717-f3d09373e13d rw nvidia-drm.modeset=1
Current version of pixman: 0.42.2
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: "/home/forest/.local/share/xorg/Xorg.0.log", Time: Sat Sep 2 16:18:16 2023
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
(EE) event11 - UGTABLET 10 inch PenTablet Mouse: libinput bug: missing tablet capabilities: xy pen btn-stylus resolution. Ignoring this device.
xterm: xterm: xterm: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
Warning: Missing charsets in String to FontSet conversion
xinit: connection to X server lost
waiting for X server to shut down X connection to :0 broken (explicit kill or server shutdown).
xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":0"
xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":0"
(II) Server terminated successfully (0). Closing log file.
(EE)
(EE) Backtrace:
(EE) 0: /usr/lib/Xorg (dri3_send_open_reply+0xdd) [0x55b4ca5bb4bd]
(EE) 1: /usr/lib/libc.so.6 (__sigaction+0x50) [0x7f455c23e710]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 2: /usr/lib/libnvidia-glcore.so.535.104.05 (?+0x0) [0x7f4559771682]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 3: /usr/lib/libGLX_nvidia.so.0 (?+0x0) [0x7f455b4f6817]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 4: /usr/lib/libGLX_nvidia.so.0 (?+0x0) [0x7f455b4f6f3f]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 5: /usr/lib/libGLX_nvidia.so.0 (?+0x0) [0x7f455b585009]
(EE) 6: /usr/lib/libc.so.6 (erand48_r+0x1c6) [0x7f455c240cc6]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 7: ? (?+0x0) [0x7f455c525000]
(EE)
(EE) Segmentation fault at address 0x8
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(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 "/home/forest/.local/share/xorg/Xorg.0.log" for additional information.
(EE) the log that is asks you to check out at the https://pastebin.com/LsvHeVt5 since it almost 500 lines long
I am using the nvidia-dkms drivers
Last edited by hiracat (2023-09-02 20:32:57)
Offline
Server terminated successfully (0). Closing log file.His is xinitrc configured? What did it try to start that was missing or just exited?
Last edited by loqs (2023-09-02 20:36:34)
Offline
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name loginthis is my xinitrc in /etc/X11/xinit/xinitrc
I dont know what you mean by "what did it try to start that was missing or just excited", i installed the xorg group in order to hopefully fix this so i should not be missing anything but it did not work
Offline
It tries to run twm and some xterm - likely neither and esp. not the latter are installed so the script just runs through and the server terminates immediately w/it.
https://wiki.archlinux.org/title/KDE#From_the_console
Edit: or almost
You've xterm but it seems to fail?
xterm: xterm: xterm: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
Warning: Missing charsets in String to FontSet conversionNevertheless, replace the entire xterm/twm block w/
export DESKTOP_SESSION=plasma
exec startplasma-x11nb. that nothing after the first "exec" line will be executed.
Last edited by seth (2023-09-02 21:02:20)
Offline
None of xorg-twm xorg-xclock xterm are in the xorg group.
Offline
He has xterm installed, but I'm not even sure anymore whether xterm failed or he terminated the server (somehow) - it's running for ~7 seconds.
@hiracat, if you just get a couple of white windows from startx, hover one w/ the mouse and enter "startplasma-x11"
Otherwise please detail on the events that lead to the output and the log (what did you see/do)
Offline
i made this .xinitrc and put in my home directory
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
export DESKTOP_SESSION=plasma
exec startplasma-x11when trying to boot from the tty it just goes to a black screen and when using sddm it just kicks me out
Offline
If we ignore plasma for the moment, what was the behavior when you ran an xterm as session process?
Ideally also post the system journal after a kde session has failed
sudo journalctl -b | curl -F 'file=@-' 0x0.stOffline
If you mean running xterm in plasma then it works fine and if you mean running xterm running by default with the default config of x11 then it works fine and when trying to launch startx from the tty the screen goes black and i cant even open the tty by pressing ctrl+alt+f5
Offline
running xterm running by default with the default config of x11 then it works fine
and
when trying to launch startx from the tty the screen goes black
cannot be true at the same time.
When using the xinitrc from #3 and running "startx", what does happen?
Just to be sure: there isn't a parallel plasma/wayland session running, is there?
And you also stopped SDDM before running "startx", you're not just switching to another tty while SDDM is still running, are you?
Boot the multi-user.target (2nd link below) and run startx from there.
Offline
So when i run startx without an xinitrc in my home directory it opens a few xterm windows and the clock
when i have this one in my home directory,
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
export DESKTOP_SESSION=plasma
exec startplasma-x11It either open firefox if i did not close it or just the mouse cursor shows up but plasma it not working
The way i run startx is by disabling sddm and then rebooting.
Just now i booted into the tty because i did not know that i all i needed to do was stop sddm but i did know that i needed to reboot but anyway what happeded was this, i ran startx the first time and it failed with this output
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
Current Operating System: Linux god 6.4.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000 x86_64
Kernel command line: initrd=\initramfs-linux.img root=PARTUUID=6b389c33-a62b-4586-a717-f3d09373e13d rw nvidia-drm.modeset=1
Current version of pixman: 0.42.2
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: "/home/forest/.local/share/xorg/Xorg.0.log", Time: Sat Sep 2 17:48:37 2023
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
(EE) event5 - UGTABLET 10 inch PenTablet Mouse: libinput bug: missing tablet capabilities: xy pen btn-stylus resolution. Ignoring this device.
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.then i ran startx again and it sort of worked, the mouse cursor showed up but i could not do anything
Offline
So when i run startx without an xinitrc in my home directory it opens a few xterm windows and the clock
Splendid.
In doubt, "pkill twm" and then run "DESKTOP_SESSION=plasma startplasma-x11" from one of the xterms. Watch out for errors it produces.
"DESKTOP_SESSION=plasma startplasma-x11 > /tmp/plasma.errors 2>&1" would redirect all output into /tmp/plasma.errors
Wrt your other thread, you can also try to launch obsidian in the twm session.
Offline
this is the output of launching plasma on x11
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.plasma never finished launching, it runs all of the apps that i did not close before rebooting but then it breaks
the obsidian things is probably a bug in electron so ill just wait it out as it works fine on xorg, i ran it from xterm and it works fine
Last edited by hiracat (2023-09-02 22:33:33)
Offline
You probably somewhere globally and unconditionally export QT_QPA_PLATFORM=wayland ?
Offline
Pages: 1