Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdm init script
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
szibis
n00b
n00b


Joined: 07 Jul 2004
Posts: 6
Location: Poland

PostPosted: Fri Sep 17, 2004 12:10 pm    Post subject: kdm init script Reply with quote

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
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 905
Location: Hamburg, Germany

PostPosted: Fri Sep 17, 2004 12:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
deprave
n00b
n00b


Joined: 14 May 2004
Posts: 63
Location: Flint, Michigan

PostPosted: Fri Sep 17, 2004 12:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
szibis
n00b
n00b


Joined: 07 Jul 2004
Posts: 6
Location: Poland

PostPosted: Fri Sep 17, 2004 12:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
szibis
n00b
n00b


Joined: 07 Jul 2004
Posts: 6
Location: Poland

PostPosted: Fri Sep 17, 2004 12:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 905
Location: Hamburg, Germany

PostPosted: Fri Sep 17, 2004 12:51 pm    Post subject: Reply with quote

Thanks, deprave, for the additional info!

Sorry, szibis, :oops: 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
View user's profile Send private message
szibis
n00b
n00b


Joined: 07 Jul 2004
Posts: 6
Location: Poland

PostPosted: Mon Oct 04, 2004 7:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum