Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86654 - [PATCH] update for KDE HOWTO - starting X session
Summary: [PATCH] update for KDE HOWTO - starting X session
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-25 06:53 UTC by Gregorio Guidi (RETIRED)
Modified: 2005-03-25 07:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kde-startx-doc-update.patch (kde-startx-doc-update.patch,9.05 KB, patch)
2005-03-25 07:09 UTC, Gregorio Guidi (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gregorio Guidi (RETIRED) gentoo-dev 2005-03-25 06:53:51 UTC
Hi, I did a little update for the KDE configuration HOWTO since now both 3.3 and 3.4 use /usr/share/xsessions/ to list the available sessions.

In addition, I found that there is a bit of confusion about starting an X session, and that's because the topic "what startx does, and how does it relate to XSESSION and kdm/gdm" has always been a rather obscure matter, hidden below multiple layers of legacy code (but that should be the object of another bug...).

So, I also modified the Xorg configuration HOWTO to contain a small section about what startx does, and changed the KDE and Gnome HOWTOs to be consistent with what I think is the current status (e.g. kdm and gdm are not affected by the XSESSION variable).

The new section looks like this:

  Now try <c>startx</c> to start up your X server.  <c>startx</c> is a script
  that executes an <e>X session</e>, that is, it starts the X servers and some
  graphical applications on top of it.  It decides which applications to run
  using the following logic:

 - If a file named <path>.xinitrc</path> exists in the home directory, it will
   execute the commands listed there.

 - Otherwise, it will read the value of the XSESSION variable and will execute
   one of the sessions available in <path>/etc/X11/Sessions/</path>
   accordingly (you can set the value of XSESSION in <path>/etc/rc.conf</path>
   to make it a default for all the users on the system).

 - If all of the above fail, it will fall back to a simple window manager,
   usually <c>twm</c>.

Here's the patch, feel free to adjust it as you like...
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-25 07:09:26 UTC
Created attachment 54437 [details, diff]
kde-startx-doc-update.patch
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2005-03-25 07:56:12 UTC
Great, good job! No need for editing apparently, applied verbatim.