View previous topic :: View next topic |
Author |
Message |
szibis n00b
Joined: 07 Jul 2004 Posts: 6 Location: Poland
|
Posted: Fri Sep 17, 2004 12:10 pm Post subject: kdm init script |
|
|
I have simple problem my /etc/init.d/kdm is missing is anybody can list me a code of this script via www in this post ??
I have second problem when i upgrade kde 3.2.3 -> 3.3.0 then kdm starts (from local.start) my keyboard does not work but when i back to console its alive. In kde 3.2.3 that problem not happen iven when i upgrade xfree86 to xorg 6.8.0 it's works good but on kde 3.3.0 it's crash the keyboard in login screen.
Thanks _________________ ---------------------
Gene roox
AthlonXP 1700+@2200+ - Epox 8KHA+ - 256 MB - Seagate 120GB 7200.7 - Gentoo dev-sources 2.6.9
Celeron 300 - Gigabite BX - 96 MB - Quantum Fireball 3.2 GB & 8.4 GB - Gentoo modify |
|
Back to top |
|
|
furanku l33t
Joined: 08 May 2003 Posts: 905 Location: Hamburg, Germany
|
Posted: Fri Sep 17, 2004 12:32 pm Post subject: |
|
|
There is no /etc/init.d/kdm script. The different login managers are all started by the same script, which is /etc/init.d/xdm. This decides which display manager to start by the enviroment variable DISPLAYMANAGER, as seen in the following code segment from /etc/init.d/xdm.
Code: | case "$(echo ${DISPLAYMANAGER} | awk '{ print toupper($1) }')" in
KDM|KDE|KDE2|KDE3)
EXE="$(which kdm)"
;;
ENTRANCE*)
EXE="$(which entranced)"
;;
GDM|GNOME)
EXE=/usr/bin/gdm
;;
WDM)
EXE=/usr/bin/wdm
;;
*)
EXE=/usr/X11R6/bin/xdm
;;
esac
test ! -x "${EXE}" && EXE=/usr/X11R6/bin/xdm
|
The value of DISPLAYMANAGER is set in /etc/rc.conf:
Code: | # What display manager do you use ? [ xdm | gdm | kdm | elogin | entrance ]
DISPLAYMANAGER="kdm"
|
|
|
Back to top |
|
|
deprave n00b
Joined: 14 May 2004 Posts: 63 Location: Flint, Michigan
|
Posted: Fri Sep 17, 2004 12:37 pm Post subject: |
|
|
furanku pretty much hit the nail right on the head here but I would like to also add that in /etc/rc.conf
you also might want to change the value of XSESSION to your the WM you wanna use, you can get the valid values for XSESSION on your system if you
ls /etc/X11/Sessions |
|
Back to top |
|
|
szibis n00b
Joined: 07 Jul 2004 Posts: 6 Location: Poland
|
Posted: Fri Sep 17, 2004 12:39 pm Post subject: |
|
|
thats strange but i couple month's letter starts kdm like thi /etc/ini.d/kdm and rc-update add kdm default and it's work but i delete because of my fault this script from init.d i wil try by xdm in rc.conf i have kdm manager _________________ ---------------------
Gene roox
AthlonXP 1700+@2200+ - Epox 8KHA+ - 256 MB - Seagate 120GB 7200.7 - Gentoo dev-sources 2.6.9
Celeron 300 - Gigabite BX - 96 MB - Quantum Fireball 3.2 GB & 8.4 GB - Gentoo modify |
|
Back to top |
|
|
szibis n00b
Joined: 07 Jul 2004 Posts: 6 Location: Poland
|
Posted: Fri Sep 17, 2004 12:41 pm Post subject: |
|
|
yes i have xsession and its starting but i do not profesional start of kdm _________________ ---------------------
Gene roox
AthlonXP 1700+@2200+ - Epox 8KHA+ - 256 MB - Seagate 120GB 7200.7 - Gentoo dev-sources 2.6.9
Celeron 300 - Gigabite BX - 96 MB - Quantum Fireball 3.2 GB & 8.4 GB - Gentoo modify |
|
Back to top |
|
|
furanku l33t
Joined: 08 May 2003 Posts: 905 Location: Hamburg, Germany
|
Posted: Fri Sep 17, 2004 12:51 pm Post subject: |
|
|
Thanks, deprave, for the additional info!
Sorry, szibis, I do not really understand your last posting, is the graphical login now working?
Back to your keyboard problem: What does /var/log/kdm.log say? Any error messages in there? Does your keybord work when you start an X session by startx, whithout a display manager?
Frank |
|
Back to top |
|
|
szibis n00b
Joined: 07 Jul 2004 Posts: 6 Location: Poland
|
Posted: Mon Oct 04, 2004 7:05 am Post subject: |
|
|
thanks for help i have solve this problem thanks again _________________ ---------------------
Gene roox
AthlonXP 1700+@2200+ - Epox 8KHA+ - 256 MB - Seagate 120GB 7200.7 - Gentoo dev-sources 2.6.9
Celeron 300 - Gigabite BX - 96 MB - Quantum Fireball 3.2 GB & 8.4 GB - Gentoo modify |
|
Back to top |
|
|
|