Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 09-19-2003, 02:03 PM   #1
LQ Newbie
Registered: Sep 2003
Distribution: Redhat, Mandrake
Posts: 1

Rep: Reputation: 0
Scripts for Starting Window Manager

Hi all,

I 've a question about the window manager initialization. I can't recognize how those scripts work. (Yes, they are working, very well. I just want to know "how" )

All I know about X is when I start it by "startx", it runs xinitrc. If I start it by XDM/GDM/KDM, it runs "Xsession" . (I am not sure I am right, and this why I post here. )

I enter to my KDE by GDM (I am running RH9). But I found a interesting ps-tree, like this:
root 828 1 0 Sep19 ? 00:00:00 /usr/bin/gdm-binary -nodaemon
root 871 828 0 Sep19 ? 00:00:00 /usr/bin/gdm-binary -nodaemon
root 2617 871 0 Sep19 ? 00:00:14 /usr/X11R6/bin/X :0 -auth /var/gdm/:0.Xauth vt7
jasonmiu 2701 871 0 01:26 ? 00:00:00 /bin/sh /usr/bin/startkde
jasonmiu 2718 2701 0 01:26 ? 00:00:00 /bin/bash /etc/X11/xdm/Xsession
jasonmiu 2746 2701 0 01:26 ? 00:00:00 /usr/bin/ssh-agent /etc/X11/xinit/Xclients

I found that the process "startkde" is spawned by GDM directly, then the startkde spawns "Xsession" and "Xclients".

I 've tired to trace those scripts, however I can't understand why the ps-tree like that -- why shouldn't Xsession spawns startkde?

Thank you very much.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the best X-Window System window manager in your opinion? t3gah Linux - Software 9 12-16-2006 11:10 PM
starting any Window Manager jagibbs Debian 4 11-27-2004 06:55 AM
Some rc.d Scripts Not Starting granatica Linux - Software 4 03-17-2004 06:07 PM
Starting Window Manager at Boot Romulus Gray Linux - Newbie 8 08-02-2003 05:47 PM
fatal error starting window manager celtic32 Linux - General 12 09-07-2002 10:11 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration