On 1/9/24 22:05, David C. Rankin wrote:
My .xinitrc is just your normal setup for startx. I just have it start fluxbox (you can have it start any desktop you want, but icewm, fluxbox, etc.. are instantaneously available and blistering fast). You can run full Plasma if you want. It doesn't really matter since you will start the server and it will already have the desktop running before you connect to it.
Sorry Marc, I forgot to post the contents of .xinitrc in the earlier post. For completeness, it is shown without comments here: $ noc .xinitrc userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap 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 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 [ -f ~/.xprofile ] && . ~/.xprofile xsetroot -cursor_name left_ptr & session=${1:-fluxbox} case $session in fluxbox ) xscreensaver & exec startfluxbox;; i3 ) exec i3;; esac Usually you just need to worry about the last few lines starting with session=${1:-fluxbox} (or whatever you want) and then you can change the case/esac contents to handle however you want to start your desktop of choice. Check your file already has the 'xsetroot -cursor_name left_ptr &' line or grab that line too. Some distros call .xprofile and .xinit by slightly different names -- double check what your Server uses. Just fit this into the post right before the "END OF CONFIG ON SERVER - Rest you can do on host." in the first post. Good luck. Simon -- make sure you add this is you saved the other as a howto. I hate missing pieces. -- David C. Rankin, J.D.,P.E.