Cannot switch to FVWM

Switchdesk? Hmm, I assume you’re running RedHat, or Fedora? Either way, you’ll just want to edit your ~/.xsession file, most likely, such that it looks like this:


#program &

exec fvwm

Make sure you “chmod 700 ~/.xsession” if you haven’t already.

– Thomas Adam

in ubuntu: go to /usr/share/xsessions/
then add a file called fvwm.desktop

add the following lines to fvwm.desktop

## /etc/dm/Sessions/Fvwm.desktop ##

[Desktop Entry]

[Window Manager]


next time you ask something let us know what distro you’re using

maybe you should ask here

No, this thread is fine for his question – the other thread is a poll and as such, questions don’t belong there.

– Thomas Adam

if redhat or fedora edit the file ~/Xclient-defaults - here is what mine looks like, I have one of those keyboards that has a bunch of extra buttons - that is what the xmodmap stuff is

xmodmap -e "remove Lock = Caps_Lock"
xmodmap -e "keycode 196 = F1"   
xmodmap -e "keycode 197 = F2"
xmodmap -e "keycode 110 = F3"
xmodmap -e "keycode 202 = F4"
xmodmap -e "keycode 103 = End"
# Turn system bell off
xset -b
exec fvwm

The only thing you need is exec fvwm - BTW - fvwm is in my path, you may need to have something like exec /usr/local/bin/fvwm