[Bug 641045] New: Xsession and friends drop arguments received from display manager
https://bugzilla.novell.com/show_bug.cgi?id=641045 https://bugzilla.novell.com/show_bug.cgi?id=641045#c0 Summary: Xsession and friends drop arguments received from display manager Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: nvbugs@hhecht.e4ward.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100914 SUSE/3.6.10-0.3.1 Firefox/3.6.10 In the default configuration, KDM (and perhaps others) generates a command line which is fed to /etc/X11/xdm/Xsession, but this script seems to assume that the "command" part is a single argument, and if confronted with multiple arguments, hands things off to /etc/X11/xdm/sys.xsession, which promptly forgets them. Thus, if one has in e.g. /usr/share/xsessions/whateverwm.desktop: Exec=whateverwm -v -r -s --longopt KDM parses is properly, calls Xsession, which then calls sys.xsession, which forgets the arguments, resulting in an attempt to exec just "whateverwm". This works fine with the .desktop files that happen to be installed, since none of them supply any arguments. However, some WMs seem to require (or at least can usefully be given) arguments at startup, and there's no direct way to supply them because of the above problem. The only workaround would seem to be writing a front-end script to encapsulate what would have otherwise gone in the Exec line of the .desktop file and pass it to the binary; some WMs do this anyway, but at least with KDM this is only necessary because of the way Xsession treats its arguments. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641045 https://bugzilla.novell.com/show_bug.cgi?id=641045#c1 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium AssignedTo|bnc-team-xorg-bugs@forge.pr |werner@novell.com |ovo.novell.com | Severity|Normal |Minor --- Comment #1 from Stefan Dirsch <sndirsch@novell.com> 2010-09-22 14:18:55 UTC --- IMHO a minor issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641045 https://bugzilla.novell.com/show_bug.cgi?id=641045#c2 --- Comment #2 from Dr. Werner Fink <werner@novell.com> 2010-11-02 17:05:30 UTC --- The main problem is: the scripts should be executed by a login shell to have the enviroment of the specif user and the bourne shells behave different from the C shell. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641045 https://bugzilla.novell.com/show_bug.cgi?id=641045#c3 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |sndirsch@novell.com --- Comment #3 from Dr. Werner Fink <werner@novell.com> 2010-11-03 11:52:48 UTC --- Stefan? Have a look on request id 52068 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641045 https://bugzilla.novell.com/show_bug.cgi?id=641045#c4 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|sndirsch@novell.com | Resolution| |FIXED --- Comment #4 from Dr. Werner Fink <werner@novell.com> 2010-11-03 12:11:23 UTC --- fixed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641045 https://bugzilla.novell.com/show_bug.cgi?id=641045#c5 --- Comment #5 from Stefan Dirsch <sndirsch@novell.com> 2010-11-03 13:05:48 UTC --- Thanks. Accepted and SR'ed for openSUSE_Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com