← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 475529] [NEW] xsessionrc is not sourced during gnome login

 

Public bug reported:

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/Xsession.d/40x11-common_xsessionrc should be sourcing this
file, but from what I can see
/etc/X11/Xsession.d/40x11-common_xsessionrc isn't being sourced either.

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
PackageArchitecture: all
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-14-generic root=UUID=ec9deb99-d6f5-49bf-9a0f-8d8a46def8ca ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu7
 libgl1-mesa-glx 7.6.0-1ubuntu4
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
SourcePackage: xorg
Uname: Linux 2.6.31-14-generic x86_64
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
XsessionErrors:
 (gnome-settings-daemon:7386): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-panel:7418): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 24
 (nautilus:7421): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:7433): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
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.:bvrA02:bd06/07/2007:svnDellInc.:pnLatitudeD630:pvr:rvnDellInc.:rn0KU184:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D630
dmi.sys.vendor: Dell Inc.
fglrx: Not loaded
system:
 distro:             Ubuntu
 architecture:       x86_64kernel:             2.6.31-14-generic

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
xsessionrc is not sourced during gnome login
https://bugs.launchpad.net/bugs/475529
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.



Follow ups

References