User-initiated shutdown

Collins Richey erichey2 at
Sat Apr 5 03:03:57 CEST 2003

On Fri, 4 Apr 2003 16:32:42 -0800 (PST)
Rich Shepard <rshepard at> wrote:

>   I bought my fiancee a replacement laptop (IBM ThunkPad 600) to
>   replace the
> dead AST. Currently, the IBM has Libranet (a debian derivative)
> installed and it boots into GDM for login. One of the Gnome thingies
> on the bottom panel is a menu icon that offers shutting down (or
> rebooting) the system as an option. That's a Good Thing because I
> don't want to give her root access just to shut down.
>   But, I don't know just how it's done, and I'd like to know how to do
>   this
> under Xfce. This weekend I'll replace the Libranet with Slackware-9.0
> and Xfce-3.8.18.
>   How can I set xfce up so that when she logs out she has the option
>   of
> shutting down or rebooting? Something to do with sudo?

First of all, if you are running xfce from a terminal login, i.e.
startxfce or startx, when you quit from xfce, must distros including
Slackware allow by default the three fingered salute (ctl-alt-del) to
invoke a reboot.  You don't need to do anything to permit that.

Secondly, if you like a gui login program, but aren't impressed by all
the bloat in kdm/gdm or by xdm (unaltered, you can't reboot), give this
one a try.

It's simple and small.  It does require WindowMaker to be installed
(that's on Slack 9.0), but you certainly don't need to actually run

All you need to do is
	download and unpack the source
	cd to source directory
	./configure --enable-shadow --prefix=/usr

(this must be done as root)

	make install

Then edit the /usr/etc/wdm/ files. 

		DisplayManager*wdmWm:           WindowMaker:KDE:xfce
			(add your choices here)
		DisplayManager*wdmVerify:       false
			(allow reboot/halt/exit login without userid/password)


		Duplicate and modify one of the WM start stanzas for additional
		WMs (startxfce for example)


Collins - Slack 9.0 EXT3

More information about the Xfce mailing list