Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53517 - Too many diffrent Xsession files are leading to diffrent System behavior depending on the display manager
Summary: Too many diffrent Xsession files are leading to diffrent System behavior depe...
Status: RESOLVED DUPLICATE of bug 26326
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Desktop WM Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-10 05:42 UTC by Markus Wigge
Modified: 2007-02-25 16:00 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Wigge 2004-06-10 05:42:36 UTC
I changed my display manager from gdm to kdm to have more functionality for KDE and I noticed that OpenOffice is no longer able to accept vowels with accents (
Comment 1 Markus Wigge 2004-06-10 05:42:36 UTC
I changed my display manager from gdm to kdm to have more functionality for KDE and I noticed that OpenOffice is no longer able to accept vowels with accents (á,ó,é,...).
I was a little confused about it and found out that kdm uses a diffrent Xsession file wich does not set the "LANG" environment variable as gdm does.
Setting LANG to an appropriate value solved the problem.
For now you have at least 3 diffrent Xsession-files in gentoo:
/etc/X11/xdm/Xsession
/etc/X11/gdm/Xsession
/usr/kde/3.2/share/config/kdm/Xsession
Please try to develop a single, system wide script for all possible display managers to have the same environment set with each display manager.
Especially the LANG-variable should be set!

Starting the ssh-agent would also be a good thing for the Xsession script.

A next step afterwards may be to develop a centralized structure for menu-entries, so all desktop environments can show the same links in their startup menu...


Reproducible: Always
Steps to Reproduce:
1. Read my details ...
2.
3.
Comment 2 Lothar Krause 2004-10-02 03:53:42 UTC
There is an attempt for having a common way to generate startup menu on freedesktop.org. Do you think that'd help?

http://www.freedesktop.org/Standards/desktop-entry-spec

Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-05 11:30:36 UTC
Think you should see this.
Comment 4 Dan Armak (RETIRED) gentoo-dev 2005-02-05 21:39:22 UTC
I'll be glad to help work out a single common set of DM configfiles.

This isn't just about Xsession:
alpha xdm # ls X*
Xaccess  Xresources  Xservers  Xsession  Xsetup_0  Xwilling
alpha kdm # ls X*
Xaccess  Xreset  Xservers  Xsession  Xsetup  Xstartup  Xwilling

I don't have gdm handy, but I imagine it has copies of these things as well.
Then there are other DMs like entrance; I don't know what those use. Finally,
xstart etc. also use some of these I think.

To begin with we should decide on a common location for them all. BTW, does 
any other distro have something nice that's known to work with all DMs? I don't
want to just start trying to merge all features in all versions of the above
files...
Comment 5 Dan Armak (RETIRED) gentoo-dev 2005-04-09 10:00:33 UTC
This kinda got stuck... Reviewing my available free time, I should say I'll be
glad to do the KDM part if someone else first figures out how it should all
hang together :-)
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-09-10 03:32:39 UTC
There are some interesting ideas in bug 26326.
Comment 7 Paul de Vrieze (RETIRED) gentoo-dev 2006-03-27 00:58:03 UTC
For starting common stuff, recent versions of gdm AND kdm implement a feature that sources ~/.xprofile
While not that well known, this seems to be the best solution as it also works independent of the chosen session.
Comment 8 Ian Stakenvicius 2006-08-03 05:57:01 UTC
Something else to keep in mind is that Xorg-7 splits some of these files into two separate locations, XDM's stuff for instance has Xaccess, Xresources, Xservers, and xdm-config in /etc but the rest are now in /usr/lib/X11/xdm/ (including Xsession)..

For reference, GDM just has Xsession and its .conf file(s), and then a bunch of directories:  Init, PreSession, PostSession, PostLogin, etc..  It doesnt follow the same format as xdm/kdm..
Comment 9 Charlie Shepherd (RETIRED) gentoo-dev 2007-02-25 16:00:55 UTC
Basically the same as bug 26326...

*** This bug has been marked as a duplicate of bug 26326 ***