[Gentoo] Wie KDM starten?

byte_head

Captain
Registriert
Jan. 2005
Beiträge
3.674
Hi,

also in der ~/.xinitrc habe ich exec startkde eingegeben.
Ich will aber, dass erst KDM erscheint (also der Loginmanager).
Was mache ich falsch?
In KDE habe ich KDM konfiguriert.
Muss ich die ~/.xinitrc ändern?
Wenn ja, wie?
Und damit es dann gleich nach dem Booten startet, was muss in die rc.conf rein? ;)

mfg, byte
 
Hi

Du kannst in /etc/conf.d/xdm festlegen welcher Loginmanager gestartet werden soll.
Natürlich muss xdm dann auch beim Booten gestartet werden :)

rc-update add xdm default


mfg
aki
 
Leider geht das nicht. :(

Wenn ich xdm starte kommt immernoch dieses hässliche Fenster und die standard Xsession!
in der rc.conf ist xdm als windowmanager eingetragen und KDE-3.5 als Xsession.
exec startkde ist in beiden (user+root) ~/.xinitrc
In /etc/conf.d/xdm ist displaymanager="kdm" und XSTATICVT=yes. :/
 
Hi

Die Datei .xinitrc habe ich gar nicht angelegt und in rc.conf ist der XSESSION-Eintrag komplett auskommentiert. Vielleicht bringt das etwas durcheinander bei dir. Schmeiß den Kram mal raus und teste es nochmal

mfg
aki
 
in /etc/rc.conf

# DISPLAYMANAGER has moved to /etc/conf.d/xdm

# 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 ~/.xsession exists, 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 (look in /etc/X11/Sessions/)
# Xfce4 - will start a XFCE4 session
# Xsession - will start a terminal and a few other nice apps

XSESSION="kde-3.5"
(oder so ähnlich)

/etc/conf.d/xdm
# What display manager do you use ? [ xdm | gdm | kdm | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="kdm"

alternativ nach jedem boot-vorgang:

Code:
sudo kdm &
 
Zurück
Oben