[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#195845: acknowledged by developer (Bug#195845: fixed in xfree86 4.2.1-10)



I saw that this bug had been marked fixed, so I went to try it out, but it 
seemed not to be fixed. So I checked out the new scripts and the manpages, 
and I think maybe it was my confusion about what was supposed to happen.

It seems that if a program is specified as the startup program, no user 
xsession will be run. Is that correct?

If so, I'd like to suggest a change to the Xsession manpage. Instead of this 
text:

3) Determine startup program.  The X client to launch as  the  control-
       ling  process  (the one that, upon exiting, causes the X server to exit
       as well) is determined next.   If  the  line  "allow-user-xsession"  is
       present in Xsession.options, a user-specified session program or script
       is used.  If a program or failsafe argument was given  and  is  allowed
       (see  above),  it is used instead.

Use something like this:

3) Determine startup program.  The X client to launch as  the  control-
       ling  process  (the one that, upon exiting, causes the X server to exit
       as well) is determined next.  If a program or failsafe argument was
       given  and  is  allowed (see  above),  it is used. Otherwise, if  the
       line  "allow-user-xsession"  is present in Xsession.options, a
       user-specified session program or script is used.

I've attached two patches to change the manpages.

Frank
--- Xsession.5	2003-08-21 12:13:08.000000000 +0200
+++ Xsession-mine.5	2003-08-21 12:18:55.000000000 +0200
@@ -150,11 +150,9 @@
 .PP
 3) Determine startup program.  The X client to launch as the controlling
 process (the one that, upon exiting, causes the X server to exit as well)
-is determined next.  If the line "allow\-user\-xsession" is present in
+is determined next.  If a program or failsafe argument was given and is allowed (see above), it is used.  Otherwise if the line "allow\-user\-xsession" is present in
 .IR Xsession.options ,
-a user\-specified session program or script is used.  If a program or
-failsafe argument was given and is allowed (see above), it is used instead.
-Otherwise, two historically popular names for user X session scripts are
+a user\-specified session program or script is used.  Two historically popular names for user X session scripts are
 searched for:
 .IR $HOME/.xsession
 and
--- Xsession.options.5	2003-08-21 12:13:14.000000000 +0200
+++ Xsession.options-mine.5	2003-08-21 12:16:15.000000000 +0200
@@ -52,10 +52,10 @@
 .IP allow\-user\-xsession
 If users have an executable file called
 .I .Xsession
-in their home directories, it is used as the startup program for the X
+in their home directories, it may be used as the startup program for the X
 session (see
 .BR Xsession (5)).
-If the file is present not executable, it is still used, but assumed to be
+If the file is present not executable, it may still used, but assumed to be
 a Bourne shell script, and executed with
 .BR sh (1).
 .IP use\-ssh\-agent

Reply to: