LinuxQuestions.org
Register a domain and help support LQ
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 04-19-2005, 06:46 AM   #1
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Rep: Reputation: 30
kdm starts gnome not kde


Should be an easy one - maybe I am just dumb.....
Just installed slack 10.1 on the machine of my Significant Other who happens to be afraid of command lines (one step at a time). When I boot into run level 3 and startx kde appears as it should. But when I change the default run level to 4 and have the machine use kdm, the gnome desktop appears after login not kde. I've already commented out the lines in /etc/rc.d/rc.4 that have it load gdm by default. So how do I get kdm to load kde?

-geomatt
 
Old 04-19-2005, 06:55 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,174
Blog Entries: 4

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
Open a console and, as the user account, run
Code:
xwmconfig
and select KDE as the default desktop manager. Log out and back in again
 
Old 04-19-2005, 07:03 AM   #3
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
Thanks for the response.
Just tried that, and I still get gnome as desktop.
 
Old 04-19-2005, 07:04 AM   #4
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 45
hi there,

do you have some file called
Code:
.xinitrc
.xsession
in your home?
if you have, post the content here.

are you sure kde is installed?

regards

slackie1000
 
Old 04-19-2005, 07:09 AM   #5
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
Yes kde is installed and as I said it runs on startx from run level 3. ~/.xinitirc has the line startkde at the end, no mention of gnome.

Should I symlink ~/.xinitrc to /etc/X11/xinit/xinitrc.kde maybe?
 
Old 04-19-2005, 07:14 AM   #6
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 45
hi there,

if you have nothing calling gnone (.xinitrc or .xsession) this is weird.
i would suggest move, your file $HOME/.xinitrc somewhere else and try to log again.
also post the following output
Code:
ls -lrt /etc/X11/xinit/
cat /etc/X11/xinit/xinitrc
regards

slackie1000
 
Old 04-19-2005, 07:26 AM   #7
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
slackie, thanks for yer help on this. It is weird....
I just moved ~/.xinitrc to ~/.xinitrc.orig rebooted and after logging in in kdm I still get gnome.

/etc/X11/xinit/xnitrc is a symlink to xinitrc.kde

ls -lrt gives me:
Code:
total 20
-rw-r--r--  1 root root 630 2004-06-19 19:16 xinitrc.gnome
-rwxr-xr-x  1 root root 536 2004-12-18 21:42 xinitrc.kde
-rw-r--r--  1 root root 560 2005-01-22 13:34 xinitrc.fluxbox
-rw-r--r--  1 root root 664 2005-01-23 23:45 xinitrc.twm
-rw-r--r--  1 root root 321 2005-01-23 23:48 README.Xmodmap
lrwxrwxrwx  1 root root  11 2005-04-18 01:08 xinitrc -> xinitrc.kde
 
Old 04-19-2005, 07:31 AM   #8
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 45
hi there,

ok. you wrote that running in level 3 - startx - kde starts ok. this only happens when you change the runlevel. is this correct?
are you sure that you don't have a .xsession file somewhere? this is the only way to put you into gnome env.
check you home and /etc for a xsession file
Code:
cd $HOME
ls .xsession
cd /etc/X11
find . -name "*xsession*" -print
regards

slackie1000

ps. sorry, i am not in slackware now. everything comes from the top of my head.
 
Old 04-19-2005, 07:35 AM   #9
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
doh - I am really dumb. Just figured it out. In the kdm startup screen there is a tab to select the wm. Switched it to kde instead of its default gnome, and now it works. Gimmee fluxbox!!

Thanks!
-geomatt
 
  


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
Gnome not listed in KDM (KDE 3.4) tisource Linux - Software 1 07-02-2005 10:52 PM
Problem xinitrc, Gnome starts instead of KDE McCloud Debian 7 09-05-2004 08:03 AM
Editing inittab & rc.4 works, but starts Gnome, not KDE Magnabrau Slackware 9 07-17-2004 05:53 PM
Problem starting Debian KDE 3.2 - Gnome starts rockee Linux - Newbie 1 03-19-2004 12:02 PM
install KDE but GNOME starts (may soon lose mind) keirobyn Linux - Software 3 12-17-2001 07:28 PM


All times are GMT -5. The time now is 08:00 PM.

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