LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-20-2006, 08:58 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
starting KDE automatically


I use SUSE 10 and at one point of time I was running KDE as the GUI. I had some video trouble and I manage to get TWN to work. How would I boot sequence to start using KDE instead of TWN. What file controls that?
 
Old 12-20-2006, 09:06 PM   #2
Rustylinux
Member
 
Registered: Mar 2006
Posts: 177

Rep: Reputation: 30
Check your: /<users home dir>/.xinitrc file and see which desktop manager its running if you want KDE you will have to change it to say kdm where it says desktop manager.
 
Old 12-20-2006, 09:11 PM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
there is nothing in that file that says desktop manager?
 
Old 12-21-2006, 11:21 AM   #4
Rustylinux
Member
 
Registered: Mar 2006
Posts: 177

Rep: Reputation: 30
< startx and .xinitrc >

If you use the startx command for starting up the X Window System, you'll need to edit a file called .xinitrc that is located in your home directory. If the file already is there, just open it with your favorite text editor. If you don't have such a file in your home directory, create a new file with that name. Note the dot in the file name - it shows you that the file is a hidden file and doesn't show when you do a normal directory listing.

If you already have a .xinitrc file in your home directory, it may be a huge scary-looking text file with a lot of text that makes just as much sense as a file produced with a random number generator and encrypted after writing. If you want to make a backup of this file, rename it to something like .xinitrc.backup or whatever you wish:
mv .xinitrc .xinitrc.backup

Now you can use your text editor for creating a new, blank .xinitrc file. Although the file may be a complicated multi-line geeky script, it can be very simple, too. In its simplest it just contains a single line with the name of your new window manager. So, add a line like this to your file:
exec windowmanager
where windowmanager is the command that starts the window manager you want to be your default. For example, to make Window Maker your default window manager, you'd have a line like this:
exec wmaker

The commands for starting some popular window managers and desktop environments are:

* KDE = startkde
* Gnome = gnome-session
* Blackbox = blackbox
* FVWM = fvwm (or, for FVWM2 it's fvwm2, surprise)
* Window Maker = wmaker
* IceWM = icewm

After editing the .xinitrc file, save your changes. The next time you do a startx, the new window manager will be your default.



If you are not using that file to start your windows manager check your /etc/X11/xorg.conf file for an entry of KDM i might be setup in there as your windows manager I forget, i'm pretty sure its done through the .xinitrc file tho. Look at both back them up and give them a try. No harm in it.

Let me know if this helps you get it working.
 
Old 12-26-2006, 08:10 PM   #5
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
many thanks
 
  


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
kde not starting automatically at boot google01103 SUSE / openSUSE 2 12-12-2006 07:19 AM
help starting KDE 3.3.2 automatically fcoutel Linux - Newbie 22 01-03-2005 11:34 AM
help starting KDE 3.3.2 automatically fcoutel Linux - Newbie 1 12-31-2004 02:53 AM
help starting KDE 3.3.2 automatically fcoutel Linux - Newbie 1 12-31-2004 02:53 AM
Starting KDE automatically Sinope Linux - Newbie 2 08-13-2004 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:40 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
Open Source Consulting | Domain Registration