Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

start kde on bootup of gentoo

Posted on 2006-10-29
7
Medium Priority
?
716 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
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 2000 total points
ID: 17830327
(the -3.5 is assuming you have kde-3.5.x installed)
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

688 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