Iniciar X sin administrador de pantalla

Iniciar X sin administrador de pantalla

Instalé Arch con KDE Plasma. Quiero iniciar KDE sin un administrador de pantalla y archivos configurados siguiendo las instrucciones deKDE - ArchWiki, pero después de configurar todo eso, cuando reinicio, muestra un error y vuelvo a tty1 con la pantalla de inicio de sesión.

(II) modset(0): Initializing kms color map for depth 24,8 bpc.
(II) modset(60): Initializing kms color map for depth 24, 8bpc.
/home/user/.xinitrc: line 51: twm: command not found
/home/user/.xinitrc: line 52: xclock: command not found
/home/user/.xinitrc: line 53: xterm: command not found
/home/user/.xinitrc: line 55: exec: xterm: not found
/home/user/.xinitrc: line 54: xterm: command not found
xinit: connection to X server lost
waiting for X server to shut down (II) server terminated successfully (0). Closing log files.

Mi archivo .xinitrc

#!/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 login
export DESKTOP_SESSION=plasma
exec startplasma-x11

Mi archivo .xserverrc:

#!/bin/sh
exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR`

Mi .bash_profile:

#
# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
   exec startx
 fi

Todos estos archivos están en /home/user.

Respuesta1

El error te dice lo que está mal:

Error grave del servidor: (EE) Opción no reconocida: Vt1

La mayoría de las cosas en Unix distinguen entre mayúsculas y minúsculas; en este caso, debe cambiar su archivo .xserverrc para usar la opción vt(en lugar de Vt, tenga en cuenta las minúsculas v).

#!/bin/sh
exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR`

información relacionada