LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-23-2004, 12:09 PM   #1
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 46
KDE hijacks my XFCE


I had installed Slack 10, with KDE and XFCE. I selected XFCE as my default display manager. To my surprise, KDE pops was the display manager at runlevel 4. And I cannot see any mention of XFCE at the session selection (KDE logon stage). Startx does bring up XFCE however. Why?
 
Old 07-23-2004, 12:13 PM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,444

Rep: Reputation: 94
Have you a xinitrc.xfce file in your /etc/X11/xinit directory ?
 
Old 07-23-2004, 12:14 PM   #3
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Original Poster
Rep: Reputation: 46
OK I think I have an answer for the why. The answer lies in /etc/rc.d/rc.4. and kde is checked for before xdm.

So, if I move xdm a notch up the script, I should get XFCE. Am I getting this right? But XFCE does not let you select your session manager like KDE does... and KDE does not bring up XFCE in its option.

Last edited by ppuru; 07-23-2004 at 12:16 PM.
 
Old 07-23-2004, 12:16 PM   #4
netmask
Member
 
Registered: Jul 2004
Location: Sherbrooke, Quebec, Canada, North America, World, Milky Way
Distribution: Gentoo
Posts: 103

Rep: Reputation: 15
Because init 4 uses session managers and your session manager is probably kdm.


Take a look at /etc/rc.d/rc.4 to see which session managers the system tries to load.

If you want to boot directly X, try booting in init 5.
 
Old 07-23-2004, 12:19 PM   #5
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,444

Rep: Reputation: 94
If you have not /opt/kde/share/apps/kdm/sessions/xfce.desktop file, create it :
Code:
cat > /opt/kde/share/apps/kdm/sessions/xfce.desktop
[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=xfwm
TryExec=xfwm
Name=XFce
Comment=The Cholesterol Free Desktop Environment. A desktop environment reminiscent of CDE
<CTRL-d>
 
Old 07-23-2004, 12:33 PM   #6
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Original Poster
Rep: Reputation: 46
Tried moving xdm entry in rc.4 above the kdm entry... result - I get a XFCE login... GREAT ...
after I login, KDE takes over :P

xfce.desktop does exist in /opt/kde/share/apps/kdm/sessions.

I cannot do away with KDE. 2 very important users ( my kids ) need it for their GCompris and other KDE games.

So I need to find a way to get KDE logon screen to allow me to select XFCE OR be content with using KDE.
 
Old 07-23-2004, 12:44 PM   #7
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,444

Rep: Reputation: 94
That can not be configured in kde control center at session manager ?
 
Old 07-23-2004, 11:02 PM   #8
c0in
LQ Newbie
 
Registered: May 2004
Location: Rio de Janeiro - Brazil
Posts: 7

Rep: Reputation: 0
I also use XFCE and it does not get listed in kdm as well, there is a way to insert it in kdm however i do not record it ... and it is too much trouble anyway ....

Just use GDM instead of xdm or kdm ... i think it best login manager ...

With it i have all desktops listed.

c0in.

Last edited by c0in; 07-23-2004 at 11:06 PM.
 
Old 07-24-2004, 04:56 AM   #9
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Original Poster
Rep: Reputation: 46
There should be a way to get XFCE included in the sessons list. Can you recollect something coin? file / directory names, anything...

I have been combing the /opt/kde directory for config file that will give me even the smallest clue on going about configuring it ...
 
Old 07-24-2004, 05:23 AM   #10
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,444

Rep: Reputation: 94
I would try : /opt/kde/bin/genkdmconf --no-old
to regenerate kdm conf files, maybe it will take in account the xfce.desktop file.
 
Old 07-25-2004, 01:27 AM   #11
fcaraballo
Member
 
Registered: Feb 2004
Location: WA
Distribution: Slackware
Posts: 230

Rep: Reputation: 31
I fixed this problem by doing the following.

Edit (as root): /opt/kde/share/apps/kdm/sessions/xfce.desktop

Change:

Code:
Exec=xfwm
TryExec=xfwm
To:

Code:
Exec=startxfce4
TryExec=startxfce4
Save the file and log out.
XFce should now be listed in the drop down menu of KDM.

I hope this helps someone.

MagicMan
 
Old 07-25-2004, 10:14 PM   #12
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Original Poster
Rep: Reputation: 46
Thanks for the Magic, man. Will post the results tonight.
 
Old 07-26-2004, 10:20 AM   #13
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Original Poster
Rep: Reputation: 46
Its Magic man ... I did get the XFCE listed under Sessions on the KDE login screen.

Thanks everyone.
 
  


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
remove Xfce and install KDE No2002 Linux - General 11 07-27-2005 09:12 PM
KDE and Gnome applications in XFCE Fritz_Monroe Linux - Newbie 1 07-27-2005 01:26 PM
Windows hijacks my computer. Boot flags. necromantik Linux - General 2 12-30-2004 12:48 AM
KDE vs. Xfce JCdude2525 Linux - Software 12 11-02-2004 03:06 PM
xfce and kde integrated uday Linux - Software 1 02-24-2004 01:16 PM


All times are GMT -5. The time now is 05:35 AM.

Main Menu
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