View previous topic :: View next topic |
Author |
Message |
Qman n00b
Joined: 27 Aug 2004 Posts: 8
|
Posted: Wed Sep 08, 2004 6:55 pm Post subject: KDE/X environment questions (Linux rating: n00b) |
|
|
After much trial and error, I finally have a working Gentoo system with the KDE desktop package installed...yay me.
However, I am running into a small problem - I dont want to type "startx" then "startkde" to get into the KDE desktop - I end up with two windows that way (KDE Desktop and Kicker, and half the time I cant see the kicker window....). I have another Linux box (an actual production server, so I cant monkey with it too much...) here that automatically loads into KDE - is there anyway I can get my box to load the KDE desktop from a command line? I've tried "startkde" but I just get a message about "Cannot connect to Kserver..."
FWIW, on the production server, I type "startx" and thats how I get into the KDE desktop... |
|
Back to top |
|
|
inode77 Veteran
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
Posted: Wed Sep 08, 2004 6:59 pm Post subject: |
|
|
Jup there is edit /etc/rc.conf according your needs and type "rc-update add xdm default" to add login manager to default runlevel.
Code: | # What display manager do you use ? [ xdm | gdm | kdm | entrance ]
DISPLAYMANAGER="kdm"
# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit. The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to. The support scripts are smart enough to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enlightenment" can also work. This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and startx
# is called.
# 2) even if a ~/.xsession exist, if XSESSION can be resolved, it will
# be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (ex: kde-3.0.2)
# Xsession - will start a terminal and a few other nice apps
XSESSION="kde-3.2.3" |
I don't know the version of your kde so just change to yours. |
|
Back to top |
|
|
papal_authority Veteran
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Wed Sep 08, 2004 7:02 pm Post subject: |
|
|
This is mentioned in the documentation. _________________ The free market gave me gonorrhea. |
|
Back to top |
|
|
Qman n00b
Joined: 27 Aug 2004 Posts: 8
|
Posted: Wed Sep 08, 2004 7:04 pm Post subject: |
|
|
I'll be sending my picture along shortly so that others may mock me as well...
Thanks for the help! |
|
Back to top |
|
|
Sebatical n00b
Joined: 07 Feb 2004 Posts: 60 Location: Jacksonville FL
|
Posted: Sat Sep 11, 2004 3:53 am Post subject: |
|
|
Quote: | I'll be sending my picture along shortly so that others may mock me as well... |
hahaha.. best ever! _________________ "When the gas runs out, just wreck it.. You insured the thing.."
Soul Coughing |
|
Back to top |
|
|
|