tag 195845 = moreinfo unreproducible severity 195845 normal thanks On Mon, Jun 02, 2003 at 10:24:33PM +0200, Frank Murphy wrote: > Package: xfree86-common > Subject: xfree86-common: allow-user-xsession does not allow user xsessions > Version: 4.2.1-7 > Severity: important > Tags: patch sid > > When trying to use a .xsession file, I discovered that the functionality > doesn't work as it is documented. How so? I use .xsession files at home and at work, and they work for me. > The core problem is on line 29 of 20xfree86-common_process-args, where the > variable STARTUP is used to hold the program name of a non-default window > manager. No, it's supposed to hold the name of any program that the display manager passes to it. See "SESSION TYPES" in Xsession(5). > However, STARTUP is supposed to hold the string $HOME/.xsession. Not really, no. Especially not if $HOME/.Xsession is not executable. > This causes problems in 50xfree86-common_determine-startup. > > I've reworked these scripts more than just that change, so that they > set the default in a clearer way, and also exports a variable so that > .xsession can exec the selected window manager. If you don't want to > export this variable, delete the last three lines of > 20xfree86-common_process-args > > I disclaim any copyright to these changes. (If that is what I'm supposed to > say; please integrate these changes into any program you wish.) Could you please send this bug report a diff so that I can see what you actually changed (then I can restore the "patch" tag)? I think it's possible you have changed the conffiles on the system such that user sessions are not allowed without further modifications to the scripts. However, I think you are misunderstanding the purpose of arguments to the Xsession script. -- G. Branden Robinson | You should try building some of the Debian GNU/Linux | stuff in main that is branden@debian.org | modern...turning on -Wall is like http://people.debian.org/~branden/ | turning on the pain. -- James Troup
Attachment:
pgpvi7EwYI25j.pgp
Description: PGP signature