~/.xsession does not get run but Xsession(5) still says it does

Bug #806120 reported by Thomas Hood
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Expired
Low
Unassigned

Bug Description

Xsession(5) still says that $HOME/.xsession can contain commands for invoking X clients. But in natty $HOME/.xsession does not get run.

(/etc/X11/Xsession sources all the scripts in /etc/X11/Xsession.d/ and /etc/X11/Xsession.d/50x11-common_determine-startup only sources the user's .xsession if the STARTUP variable has not been set. But it has been set, to "gnome-session --session=ubuntu".)

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6+4ubuntu3.1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,move,regex,mousepoll,place,gnomecompat,imgpng,animation,wall,resize,workarounds,wobbly,unitymtgrabhandles,session,expo,ezoom,staticswitcher,fade,scale,unityshell]
CompositorRunning: compiz
Date: Tue Jul 5 20:43:40 2011
DistUpgraded: Log time: 2010-10-12 10:35:08.860007
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus: virtualbox-ose, 4.0.4, 2.6.38-8-generic-pae, i686: installed
EcryptfsInUse: Yes
GraphicsCard:
 Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 0c) (prog-if 00 [VGA controller])
   Subsystem: Lenovo T61 [17aa:20b5]
   Subsystem: Lenovo T61 [17aa:20b5]
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MachineType: LENOVO 7673CTO
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcEnviron:
 LANGUAGE=en_IE:en
 PATH=(custom, user)
 LANG=en_IE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic-pae root=UUID=07f57763-4d3a-4045-8f1a-e5224fa61703 ro mem=4096M quiet splash vt.handoff=7
Renderer: Unknown
SourcePackage: xorg
UpgradeStatus: Upgraded to natty on 2011-03-24 (103 days ago)
dmi.bios.date: 11/27/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETB9WW (2.19 )
dmi.board.name: 7673CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NETB9WW(2.19):bd11/27/2008:svnLENOVO:pn7673CTO:pvrThinkPadX61:rvnLENOVO:rn7673CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7673CTO
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.4+bzr20110606-0ubuntu1~natty1
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
Thomas Hood (jdthood) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

Yeah, .xsession used to work but stopped at some point a few releases back. .xprofile still works.

Changed in xorg (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Thomas Hood (jdthood) wrote :

Argh. I mean ~/.xprofile does indeed get run. (~/.xsession does not.)

Revision history for this message
Bryce Harrington (bryce) wrote :

Hey jdthood,

You filed this bug report against natty, but I see it's still open and
doesn't appear to have much activity recently. So, now that oneiric
is released and stable, this may be a good point for you to upgrade
and re-test if this issue is still present there.

If it's solved in the new release and you think it's worth backporting
the fix, please indicate that. Or if having the fix in the new release
is good enough, feel free to close out the bug (or let us know and we'll
close it.)

If it's not solved, leave the bug report open. I can't promise we'll
get to it (we get way more bugs filed than we can usually get to), but
your testing and feedback can help out if and when we do.

Changed in xorg (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Thomas Hood (jdthood) wrote :

Problem is still present in oneiric.

$ man 5 Xsession | grep '\.Xsession'
              are searched for: $HOME/.xsession and $HOME/.Xsession (note the
$

Changed in xorg (Ubuntu):
status: Incomplete → New
Bryce Harrington (bryce)
Changed in xorg (Ubuntu):
status: New → Triaged
tags: added: oneiric
Revision history for this message
Thomas Hood (jdthood) wrote :

In Ubuntu 12.04

$ man 5 Xsession | grep '\.Xsession'
              are searched for: $HOME/.xsession and $HOME/.Xsession (note the

No improvement.

tags: added: precise
Timo Aaltonen (tjaalton)
tags: added: saucy
removed: natty oneiric
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.
Ubuntu 11.04 (natty) reached end-of-life on October 28, 2012.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed.

Changed in xorg (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xorg (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.