Adding xfce to Redhat login

Devin Whalen devin at synapticvision.com
Wed Nov 5 17:51:32 CET 2003


On Mon, 2003-11-03 at 14:39, Amarpreet Rattan wrote: 
> If you installed from rpms it should have happened magically.
> 

I installed everything from source.

> Anyways, if you use gdm (that is, if you login manager is gdm.  It should
> be if you are using a recent redhat and you haven't changed anything) you
> have to add a file to /etc/X11/gdm/Sessions.  The following was
> automatically created for me
> 
> #!/bin/sh
> ########################################################################
> #
> # XFce 4file for GDM.  Usually in /etc/X11/gdm/Sessions.
> #
> # Add support for XIM; Modified by Babyfai Cheung.  2002/03/10
> ########################################################################
> ## Launch an XIM input server if needed
> 
> # This's for RedHat and Slackware
> for i in /etc/X11/xinit/xinitrc.d/* ; do
>     if [ -x "$i" ]; then
>         . "$i"
>     fi
> done
> 
> # This's for Mandrake
> if [ -x /etc/X11/xinit/XIM ]; then
>    . /etc/X11/xinit/XIM
> fi
> 
> exec /usr/bin/startxfce4
> 
> --
> 
> you can edit this, of course.
> 
> amps
> 

I tried this but every time I try to login it gives me this message:

"Your session only lasted less than 10 seconds.  If you have not logged
out yourself this could mean that there is some installation problem or
that you may be out of diskspace....."

And then it brings me back to the login screen.

So then I changed the file to just
exec /usr/bin/startxfce4

but the same message comes up


So, I log in in failsafe and then run: startxfce4 and it all works
fine.  What am I doing wrong?

Also, whenever I run startxfce from the command line I see this message
in the output:

** Message: xfce4-panel: Running without session manager
** Message: Cannot connect to session manager

Why am I getting this?  Did I install something incorrectly?  

Thanks




-- 
Devin Whalen
Programmer
Synaptic Vision Inc
Phone-(416) 539-0801
Fax- (416) 539-8280
1179A King St. West
Toronto, Ontario
Suite 309 M6K 3C5
Home-(416) 653-3982



More information about the Xfce mailing list