I have just installed a new and fresh version of Ubuntu (10.5) I have then installed the fvwm and copied my old .fvwm2rc file to .fvwm. But when I “reboot” from my menu nothing happens!
This is what I have:
AddToMenu MenuFvwmQuitVerify "Really Quit Fvwm?" Title
+ "Restart" Restart
+ "Log out" Quit
+ "Reboot" exec sudo shutdown -r now
+ "Shutdown" exec sudo shutdown -h now
I wa working perfectly before I reinstalled, any ideas?
[color=red]Edited by theBlackDragon:
–> Moved from Basic questions[/color]
I have used visudo and have changed /etc/sudoers to:
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
Cmnd_Alias SHUTDOWN = /usr/sbin/shutdown
Cmnd_Alias SYNAPTIC = /usr/sbin/synaptic
Cmnd_Alias KONQUEROR = /usr/bin/konqueror
Cmnd_Alias KFMCLIENT = /usr/bin/kfmclient
# Defaults
Defaults !lecture,tty_tickets,!fqdn
# User privilege specification
root ALL=(ALL) ALL
# Added by Ubuntu installer
mos ALL=(ALL) NOPASSWD: ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
I use that to give everyone in wheel premission to run sudo without root pass (I know, I’m lazy )
Anyway, If that doesn’t work you can always start the command in a terminal and type in the password after which it would then reboot
[code]+ “Reboot” Exec xterm -e sudo shutdown -r now