Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#10927 - GDM disobeys .bashrc

Attached to Project: Arch Linux
Opened by name withheld (Gullible Jones) - Wednesday, 16 July 2008, 04:26 GMT
Last edited by Greg (dolby) - Wednesday, 16 July 2008, 07:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When using GDM, settings in .bashrc are only applied to applications run from a terminal. For instance, if libaoss.so is set to preload in .bashrc so that OSS applications can be dmixed, those applications will only be run with libaoss.so preloaded if they are run from a virtual terminal. When using another login manager, such as slim, this doesn't happen.

Additional info:
* gdm 2.20.1-2


Steps to reproduce:

Install an application that uses OSS, add

export LD_PRELOAD=/usr/lib/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD}

to .bashrc, and relogin. Run the OSS application using alt+F2 or other Gnome launch mechanisms, and then from a terminal; aoss will only be invoked when it is launched from a terminal.
This task depends upon

Closed by  Greg (dolby)
Wednesday, 16 July 2008, 07:29 GMT
Reason for closing:  Upstream
Comment by Glenn Matthys (RedShift) - Wednesday, 16 July 2008, 05:18 GMT
Please report upstream at http://bugzilla.gnome.org/
Comment by Jan de Groot (JGC) - Wednesday, 16 July 2008, 06:40 GMT
From the /etc/gdm/xsession script:

# First read /etc/profile and .profile
test -f /etc/profile && . /etc/profile
test -f "$HOME/.profile" && . "$HOME/.profile"
# Second read /etc/xprofile and .xprofile for X specific setup
test -f /etc/xprofile && . /etc/xprofile
test -f "$HOME/.xprofile" && . "$HOME/.xprofile"

As bash isn't used as login shell, the .bashrc isn't processed.

Loading...