Ok this is what I have in my .fvwm2rc file under menus:
+"&3. Logon (Net)" Exec exec gksudo xterm -e ssh -l -C
When I open .xsession-erros after I have tried to select the Logon (Net) option it looks like this:
(I included the whole file. I think Its only the first part and especially the last part that is interesting )
/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x “/var/lib/gdm/:0.Xservers” -h “” -l “:0” “johs”
/etc/gdm/Xsession: Beginning session setup…
[FVWM][scanForPixmap]: <> Couldn’t load image from /usr/share/gnome-system-tools/pixmaps/runlevel.png
[FVWM][scanForPixmap]: <> Couldn’t load image from gnome_apps.png
[FVWM][scanForPixmap]: <> Couldn’t load image from default-applications-capplet
[FVWM][Read]: <> file ‘/ect/X11/fvwm/menudefs.hook’ not found
_cdim: — not moved 0x0814b2d0 mailto:'emacs@localhost.localdomain’
(gksudo:4436): Gtk-WARNING **: Unable to locate theme engine in module_path: “gtkqt”,
/etc/gtk-2.0/gtkrc:12: Unable to locate image file in pixmap_path: “22x22/actions/text_bold.png”
[color=red]…and many more of these…[/color]
/etc/gtk-2.0/gtkrc:540: Unable to locate image file in pixmap_path: “22x22/actions/viewmag-.png”
KThemeStyle cache seems corrupt!
/home/johs/.gtk_qt_engine_rc:309: error: unexpected character {', expected character
}’
gksudo: invalid option – e
GKsu version 1.2.0
Usage: gksudo [-u ] [-k] [-l]
–user , -u
Calls as the specified user
–message , -m
Replaces the standard message shown to ask for
password for the argument passed to the option
–title , -t
Replaces the default title with the argument
–icon , -i
Replaces the default window icon with the argument
–print-pass, -p
Asks gksu to print the password to stdout, just
like ssh-askpass. Useful to use in scripts with
programs that accept receiving the passowrd on
stdin.
–disable-grab, -g
Disables the “locking” of the keyboard, mouse,
and focus done by the program when asking for
password
–ssh-fwd, -s
Strip the host part of the $DISPLAY variable, so that
GKSu will work on SSH X11 Forwarding.
–login, -l
Makes this a login shell. Beware this may cause
problems with the Xauthority magic. Run xhost
to allow the target user to open windows on your
display!
–preserve-env, -k
Preserve the current environments, does not set $HOME
nor $PATH, for example.
_cdim: — not moved 0x0814b920 mailto:'emacs@localhost.localdomain’
[color=red]Edited by theBlackDragon:
–> Removed repetitive uninteresting error messages[/color]