-   Debian (
-   -   XDM and compiled xfce (

Cataract 06-03-2006 09:15 AM

XDM and compiled xfce

After long time of using kde, i decided to try xfce.
Now i have deleted all kde and kdm librares.

The problem is that i have compiled the XFCE version (Xfce 4.4 BETA1) on my etch Debian and Xdm can not see the compiled xfce, but the xfce 4.2 that i have installed from the debian packages.

My question is how i can fix it. Kdm on the other hand can see my compiled xfce.

after boot, in command line, i write

/etc/init.d/xdm start
and then

or startxfce4 and start the debian installed xfce and not the compiled.

Thanks in advance. :D

Dead Parrot 06-03-2006 09:32 AM

You can make .xsession file into your home directory and make the contents of that file to look something like this:

exec /path_to_your_local_xfce_bin_directory/startxfce4

Xdm reads this .xsession file and starts your local xfce. :)

Cataract 06-03-2006 04:17 PM

basically my main problem, is to make xdm or wdm to see my compiled xfce.
i don't know why, but kdm in some way can find the compiled xfce.

is there any way to succed this?

Dead Parrot 06-03-2006 05:32 PM

Xdm reads ~/.xsession and executes the Xsession exectable (startxfce4) that you've set in that file. Wdm also reads ~/.xsession if you choose the default session from the wdm sessions list.

Supposing you've installed your locally compiled xfce to /usr/local/xfce/ (and you have startxfce4 in /usr/local/xfce/bin/), you need to make the contents of ~/.xsession to look like this:

exec /usr/local/xfce/bin/startxfce4
After that, xdm should start your local version of xfce. Also, wdm should start your local version of xfce if you choose the default session from the wdm sessions list.

If you're sure that the path in ~/.xsession is correct and xdm still doesn't start your local xfce, you probably need to make ~/.xsession executable:

chmod +x .xsession
After that it should work.

For wdm you can also make a new .desktop file in /usr/share/xsessions/ (take a look at the other Xsession files under that directory to see what it should look like) and edit this new .desktop file to point to your local startxfce4. This should add a new entry to the wdm sessions list.

Cataract 06-04-2006 07:27 AM

Thanks! :)

problem fixed.
wdm don't see the .xsession, but xdm does.
i have edited wdm-config. but nothing happend.
i am now using xdm.


All times are GMT -5. The time now is 03:30 AM.