LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2003, 10:28 PM   #1
supermatt
Member
 
Registered: Nov 2003
Posts: 31

Rep: Reputation: 15
startx with window manager ...


hello,

i just reinstalled xfree86 and it tries to start gnome (gnome isn't even installed) when i type startx is there any way to change the window-manager/login that X uses when it starts?

(i want to run KDE or blackbox)

Thankyou for any help you may provide

-Matt
 
Old 11-24-2003, 10:39 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
yep.....

cd into your home directory
cd ~/

set kde as the window manager
echo "startkde" > .xinitrc

anyway, now exit back to command line, and issue the command startx.

(oops, is startkde the correct command ? maybe its kdestart, not sure, try both.)
 
Old 11-24-2003, 10:41 PM   #3
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
if you are running HIGH resolution like me its not very visible, but the config file is called
.xinitrc (with the DOT at the start of the name)
 
Old 11-24-2003, 10:44 PM   #4
supermatt
Member
 
Registered: Nov 2003
Posts: 31

Original Poster
Rep: Reputation: 15
thanks, but will that configure it to start if i have my inittab setting to runlevel 5 (id:5:defaultrunlevel: or something like that) and will it have access to my previos kde sessions?
 
Old 11-24-2003, 10:57 PM   #5
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
nope, .xinitrx is only executed when X is startd with the startx command.
i dont know what scripts are run when init 5 starts X...

try as root
cd /usr/
find | grep xinitrc (without the dot)

see if it finds any other xinitrc scripts (apart from the ones in your home directory, if it does, have a look inside, edit it to load kde or whatever with the same command as before, "startkde"
 
  


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
What's the best X-Window System window manager in your opinion? t3gah Linux - Software 9 12-16-2006 11:10 PM
startx/graphical login manager darkleaf Linux - Security 18 10-10-2004 10:11 AM
How to startx window maker? bruno buys Debian 19 09-16-2004 03:59 AM
X-Window startx:command not found rawkstar59 Linux - Software 10 05-21-2003 12:43 PM
startx + windows manager ? jamaso Slackware 5 05-10-2002 10:54 PM


All times are GMT -5. The time now is 10:13 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration