Tricky question about XFce on MDK 9.1

Todd Slater dontodd at columbus.rr.com
Tue Jul 1 19:38:33 CEST 2003


On Tue, Jul 01, 2003 at 01:48:58PM -0300, Xtian Xultz wrote:
> Hello all!
> 
> I instaled the XFce 4 on my Mdk 9.1 using the rpm packages, and
> XFce works great (Im using right now and cant stop using it! )
> 
> But I have a little problem: Im using the GDM login manager.
> Because I have users using XFce 3, I didnt borrow the original
> XFCE call on the GDM Sessions configuration.
> So, on the /etc/X11/gdm/Sessions I created a file called XFce4,
> did a chmod +x on it and inside I call the XFce 4 desktop. Works
> great.
> 
> But (always have a but...) when I restart the computer, the file
> I created doens have the execution flag. I have to do a chmod +x
> on the file to XFce4 appear on the GDM options. I tryed to put
> a chmod +x on the rc.local but didnt worked. 
> 
> Someone perhaps know swhy this???

I don't know why. Here's my story.

I just switched to gdm from kdm. To add an entry for xfce4 in kdm I
created a file, /etc/X11/wmsession.d/19xfce4. You have to use a number >= 19 as 1-18 are reserved by Mandrake.

In that file you write:

NAME=XFce4
ICON=xfce4.png
EXEC=/usr/local/bin/startxfce4
DESC=The best desktop 
SCRIPT:
exec /usr/local/bin/startxfce4

Of course, change EXEC and SCRIPT to your own startup settings if you
like.

Then I edited /usr/share/config/kdm/kdmrc and added XFce4 to the list of
Session Types (this is case sensitive and has to be the same as NAME
above).

When I switched over to gdm, the xfce4 entry was there.

Somebody with more knowledge can probably point you to a more direct
route :)

Todd



More information about the Xfce mailing list