$ cat .xinitrc ##!/bin/sh if [ -d /etc/X11/xinit/xinitrc.d ] ; then for f in /etc/X11/xinit/xinitrc.d/?* ; do [ -x "$f" ] && . "$f" done unset f fi exec ck-launch-session dbus-launch --sh-syntax --exit-with-session startkde $ cat .xserverrrc #!/bin/sh exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR $ cat .bash_profile # /etc/skel/.bash_profile [[ -f ~/.bashrc ]] && . ~/.bashrc # Autostartx if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then startx fi