|
Bugzilla – Full Text Bug Listing |
| Summary: | Gnome fails to work properly with 'tcsh' as default shell | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Forgotten User n7rXO1Vrxz <forgotten_n7rXO1Vrxz> |
| Component: | GNOME | Assignee: | Ruediger Oertel <ro> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | gnome-bugs, suse-beta |
| Version: | Beta 6 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
'.xsession-errors' file with tcsh as login shell
Screenshot after tcsh-login screen with bash as default shell Environment variables with gdm + gnome-session + tcsh Non-environment-variables in tcsh (output of 'set') Environment variables in BASH Variables in BASH (for ease of comparison) |
||
|
Description
Forgotten User n7rXO1Vrxz
2006-03-15 16:12:26 UTC
Could you attach your ~/.xsession-errors? Created attachment 73819 [details]
'.xsession-errors' file with tcsh as login shell
Additional info: German language setting is lost when using tcsh
Created attachment 73820 [details]
Screenshot after tcsh-login
This is what my screen looks like after logging in with tcsh (in gdm)
Created attachment 73821 [details]
screen with bash as default shell
This is what my screen looks alike when switching (back) to bash.
*** Bug 160459 has been marked as a duplicate of this bug. *** Stanislav, I think this might because the gnome session script is exporting several things, most importantly icon themes. Sound right? /usr/X11R6/bin/gnome is executed by bash in any case and these variables should be correctly imported. Also variables from /etc/profile.d should be correctly imported, if there is no mistake. The log looks like missing XDG_DATA_DIRS. Could you verify this variable? Created attachment 76033 [details]
Environment variables with gdm + gnome-session + tcsh
This is the output of printenv with tcsh as default shell in gdm / gnome-session.
Created attachment 76034 [details]
Non-environment-variables in tcsh (output of 'set')
Probably less important values of variables obtainable via command 'set' (in tcsh).
Created attachment 76035 [details]
Environment variables in BASH
For comparison purposes of probably other important variables I add the BASH-equivalent here. (Output of 'printenv' in bash)
Created attachment 76036 [details]
Variables in BASH (for ease of comparison)
This is the output of the 'set' command when using BASH.
I cannot find a variable called XDG_DATA_DIRS using tcsh. I hope, the attachments I made above are helpful to you (you can view both tcsh-output and bash-output). Probably you can find other variables that aren't exported properly to tcsh (such as XDG_CONFIG_DIRS ?). Stanislav, I think there is a logic error in xdg-environment and some of the other gnome related environment scripts, we have:
if ( ${?XDG_DATA_DIRS} ) then
instead of:
if ( ! ${?XDG_DATA_DIRS} ) then
Does that look right?
Yes for both conditions in /etc/profile.d/xdg-enviroment.csh. Both should be "if string is empty" then define it. To reporter: Could you confirm, that adding "!" to both conditions fixed both your problems? Reassigning to aaa_base maintainer. Please fix both conditions in /etc/profile.d/xdg-enviroment.csh. ok, fixed. It's working. Thank you! This also needs to be fixed in glib2.csh, gnome-filesystem.csh, gtk2.csh, pkgconfig.csh glib2: Seems to be OK. Missing G_FILENAME_ENCODING was a problem of bad order. Now renamed to zzz-glib2.*. gnome-filesystem: Seems to be OK. csh code has reversed if/else branches. gtk2: Seems to be OK. csh code has reversed if/else branches. pkgconfig: Seems to be OK. csh code has reversed if/else branches. |