xsessionrc is not sourced during gnome login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xorg
Create a ~/.xsessionrc with this line:
export FOO="bar"
login to gnome
ALT+F2 -> run "sh" in a terminal
execute this line:
echo $FOO
As you can see, the environment variable is not set.
/etc/X11/
Looking at the gdm /etc/gdm/Xsession I don't see why it isn't being interpreted.
ProblemType: Bug
Architecture: amd64
Date: Thu Nov 5 08:47:17 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: Dell Inc. Latitude D630
Package: x11-common 1:7.4+3ubuntu7
PackageArchitec
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
RelatedPackageV
xserver-xorg 1:7.4+3ubuntu7
libgl1-mesa-glx 7.6.0-1ubuntu4
libdrm2 2.4.14-1ubuntu1
xserver-
xserver-
SourcePackage: xorg
Uname: Linux 2.6.31-14-generic x86_64
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/
XsessionErrors:
(gnome-
(gnome-
(nautilus:7421): Eel-CRITICAL **: eel_preferences
(polkit-
dmi.bios.date: 06/07/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A02
dmi.board.name: 0KU184
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Latitude D630
dmi.sys.vendor: Dell Inc.
fglrx: Not loaded
system:
distro: Ubuntu
architecture: x86_64kernel: 2.6.31-14-generic
Found the problem, gdm's xsession script does not set the required xsession variables for that script
Workaround, create a $HOME/.xprofile with this line: $HOME/. xsessionrc
USERXSESSIONRC=