Sunday, November 16, 2025

Start xfce without a graphical manager

cat ~/.xinitrc 

#!/bin/sh
# enable numlock *after* X11 starts

numlockx on &

# start XFCE
exec startxfce4

cat .bash_profile 

#numlockx on &

if [ -z "${DISPLAY}" ] && [ $(tty) = /dev/tty1 ]; then

  startx

fi



No comments:

Post a Comment