Solved

start kde on bootup of gentoo

Posted on 2006-10-29
7
692 Views
Last Modified: 2013-12-15
Experts,
I have recently installed Gentoo on my computer.  I also have KDE.  When I boot up, I start at a command prompt.  I then type:

1) startx
2) startkde

to get kde up and running.  What do I have to do to start up in kde when I boot up so I don't have to type these lines?

Thanks,
Dan
0
Comment
Question by:dwcronin
  • 5
7 Comments
 
LVL 40

Expert Comment

by:noci
ID: 17828450
emerge xdm

see that xdm is started through rc-update add xdm default

als see to it that kdm is referenced:
in /etc/conf.d/xdm put:

DISPLAYMANAGER="xdm"

(this setting should be removed from /etc/rc.conf).
0
 

Author Comment

by:dwcronin
ID: 17828611
Anything else?  I booted over to linux and did the things that you said.  It still doesn't start up with kde running. (!)  

Dan
0
 
LVL 9

Expert Comment

by:gtkfreak
ID: 17829328
you need to do the following:
login as root on your system
Create a backup of your /etc/inittab file by:
# cd /etc
# cp inittab inittab.backup

Then,
# vi /etc/inittab
Search for the line with:
x:3:once:
and change the 3 to 5.
This is for the graphical startup.
Save the file using :wq

After this your system would be able to start up with the graphical desktop.

Note the above steps work for Fedora Core 4, but for gentoo, please try them out.
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 40

Expert Comment

by:noci
ID: 17830089
Gentoo uses a VERY different startup from fedora....,
the boot phases are named boot (for minimum),
default for normal etc.

For gentoo this should be in your inittab (I expect it to be there)
----------------------
# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the "default" runlevel.
x:a:once:/etc/X11/startDM.sh
----------------------

Are you up to date with all the modules???
There have been some changes in the setup of base-modules that
might influence things if not up to date.
To synchronize
------
emerge --sync               # to sync
emerge -vuaDN world         # to check and if you agree, Y ...
------

0
 
LVL 40

Expert Comment

by:noci
ID: 17830215
I just noticed an error..,
it should be:

DISPLAYMANAGER="kdm"

And remove the line from /etc/rc.conf if there is a DISPLAYMANAGER= line..
(that is an old one)
0
 
LVL 40

Expert Comment

by:noci
ID: 17830270
Also check this setting in /etc/rc.conf
(it is the window manager, of choice to start)

XSESSION=kde-3.5
0
 
LVL 40

Accepted Solution

by:
noci earned 500 total points
ID: 17830327
(the -3.5 is assuming you have kde-3.5.x installed)
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question