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:

#!/bin/bash

#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]
Encoding=UTF-8
Name=Fvwm
Comment=Fvwm
Exec=fvwm
Terminal=False
TryExec=fvwm
Type=Application

[Window Manager]
SessionManaged=true

##

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

maybe you should ask here
http://fvwm.lair.be/viewtopic.php?t=41

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

– Thomas Adam

hello,
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