LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-17-2001, 11:09 AM   #1
JHuizingh
Member
 
Registered: Jun 2001
Distribution: Gentoo 1.4
Posts: 140

Rep: Reputation: 15
Default Window Manager


Somebody Pleeeeeaaaaase help. I am running slackware 8.0. When I startx as root, it always starts Window Maker. I would like to use kde. I have edited the xinitrc file (i forget the location right now and i'm not at my computer), as I thought that is the file where you set it. It has kde in there, but it still starts window maker. I also ran the utility xwmconfig that comes with slackware and sets the default window manager, but that did not fix it either. Can anyone point me to somewhere else I can change it to the proper setting? Thanks in advance.
 
Old 08-17-2001, 03:17 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
check the rc.conf file - most times there's an option in there to change the default window manager.

but, to start kde manually :

#WINDOWMANAGER = "/usr/X11R6/bin/kde"
#startx

that should get things working.
 
Old 08-17-2001, 03:41 PM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
The default Window manager (for all users) is controller by /usr/X11R6/lib/X11/xinit/xinitrc which is a symlink to one of the other files in /usr/X11R6/lib/X11/xinit/ Have a look in that Dir.

cheers

Jamie...
 
Old 08-17-2001, 07:02 PM   #4
JHuizingh
Member
 
Registered: Jun 2001
Distribution: Gentoo 1.4
Posts: 140

Original Poster
Rep: Reputation: 15
Thanks for the help guys, but unfotunately my problem is still not fixed.

Typing #WINDOWMANAGER = "/usr/X11R6/bin/kde"
#startx

still caused window maker to come up.

I also determined that there's no rc.conf file on my system by doing:

updatedb (to make sure all files were in the database)
locate rc.conf

and getting no results. Tell me if I came to the wrong conclusion about this file not being there.

As far as the symlink, jharris, i changed xinitrc so it pointed to xinitrc.kde which has the line "exec startkde" in it, meaning that it should start kde. Window maker still comes up though. It doesn't make any sense to me.

I'm doing this all as root. Is there a place where root settings would be stored that somehow override the default settings? Let me know if there's any more suggestions. Thanks again.
 
Old 08-18-2001, 01:06 AM   #5
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
ok... my apologies... that should have been rc.config... the full path name should be /etc/rc.config

also... are you sure that you have kde installed? make sure the binary kde file is somewhere on your box.
 
Old 08-18-2001, 05:06 PM   #6
JHuizingh
Member
 
Registered: Jun 2001
Distribution: Gentoo 1.4
Posts: 140

Original Poster
Rep: Reputation: 15
Well, I did a little sleuthing and I figured out what the problem was. I made a new temp user and logged on and that user. I ran startx and... KDE!!!!! I dug around for a while and found that /root/.xinitrc (which if i remember right was a symlink to /usr/X11R6/lib/X11/xinit/xinitrc.wm) was causing X to start up in window maker when I ran it as root. I deleted this file and it started KDE. Thanks for helping me learn how all this stuff works, I appreciate it.
 
Old 08-19-2001, 11:43 AM   #7
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
Quote:
Originally posted by JHuizingh
Thanks for helping me learn how all this stuff works, I appreciate it.
i think that's how the majority of the advice we dish out here goes... you end up having to figure out most of it for yourself anyway. ain't linux great?
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Default Window Manager Brian031168 Ubuntu 4 10-07-2005 01:11 PM
default window manager srinis Linux - General 2 01-24-2005 04:02 AM
gdm default window manager kodon Slackware 2 08-27-2004 08:22 PM
Switch default window manager? vdogvictor Linux - Newbie 6 04-18-2004 10:46 PM
Default Window manager concoran Linux - General 2 11-04-2001 02:04 PM


All times are GMT -5. The time now is 06:50 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