LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 06-03-2006, 10:15 AM   #1
Cataract
Member
 
Registered: Feb 2006
Distribution: Debian Etch+Sid
Posts: 31

Rep: Reputation: 15
XDM and compiled xfce


Hi.

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 4.3.90.1 (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
Code:
/etc/init.d/xdm start
and then
Code:
startx
or startxfce4 and start the debian installed xfce and not the compiled.


Thanks in advance.
 
Old 06-03-2006, 10:32 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
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.
 
Old 06-03-2006, 05:17 PM   #3
Cataract
Member
 
Registered: Feb 2006
Distribution: Debian Etch+Sid
Posts: 31

Original Poster
Rep: Reputation: 15
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?
 
Old 06-03-2006, 06:32 PM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
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:
Code:
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:
Code:
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.
 
Old 06-04-2006, 08:27 AM   #5
Cataract
Member
 
Registered: Feb 2006
Distribution: Debian Etch+Sid
Posts: 31

Original Poster
Rep: Reputation: 15
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.

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xfce problems with task bar and xfce-panel aeruzcar Linux - Software 4 06-26-2006 06:29 AM
xdm >minimalist< Linux - Software 1 05-05-2004 07:35 PM
XDM opens XDM after login jpbarto Linux - Software 1 01-26-2004 11:23 PM
Xdm smaug Linux - Newbie 2 07-17-2002 11:19 AM
xdm hommih Linux - Networking 4 04-16-2002 07:58 PM


All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration