Starting xfce4 from xdm?
Pasi Orovuo
pasi.ov at gmail.com
Tue Mar 22 09:05:27 CET 2005
If it's possible for you to make Xfce the default destop environment for
all users in your system, this can be achieved by creating a new file
"xfce-4.2.0" under /etc/X11/Sessions:
pasi at cain Sessions $ cat /etc/X11/Sessions/xfce-4.2.0
#!/bin/sh
/usr/bin/startxfce4
Remember +x permissions.
Then, in your /etc/rc.conf add (or modify) the XSESSION environment
variable:
XSESSION="xfce-4.2.0"
This is how I've solved this in my Gentoo installation.
-Pasi
Peter Humphrey wrote:
> On Mon, 21 Mar 2005 20:50:37 +0300
> Buck <xfce at fatcat.ru> wrote:
>
>
>>There might be two files that should be present, and they both should
>>reside in your home directory.
>>.xsession that contains
>>#/bin/bash
>>/path/to/startxfce4
>>
>>and .xinitrc
>>that just contains
>>startxfce4
>>
>>You should make .xsession executable.
>>
>>Well, does this help?
>
>
> Sorry, but no, it doesn't - I still get twm.
>
> prh at wstn ~ $ cat /home/prh/.xsession
> #!/bin/bash
> /usr/bin/startxfce4
> prh at wstn ~ $ cat /home/prh/.xinitrc
> startxfce4
> prh at wstn ~ $ ls -l .x*
> -rw-r--r-- 1 prh users 11 Mar 21 18:00 .xinitrc
> -rw-r--r-- 1 prh users 10187 Mar 19 11:17 .xscreensaver
> -rwxr-xr-x 1 prh users 32 Mar 21 17:23 .xsession
> -rw------- 1 prh users 0 Mar 21 18:01 .xsession-errors
>
> You see why I've resorted to bothering you good people with my
> problem...
>
More information about the Xfce
mailing list