Use .xsession from home user

Bug #530503 reported by divVerent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxdm (Ubuntu)
Expired
Wishlist
Unassigned

Bug Description

Binary package hint: x11-common

The default configuration file /etc/X11/Xsession.options contains "allow-user-xsession"; however, the script /etc/X11/Xsession.d/50x11-common_determine-startup checks for "allow-user-session".

As a temporary workaround, I added both names to my configuration file.

ProblemType: Bug
Architecture: i386
CurrentDmesg: [ 82.076021] Clocksource tsc unstable (delta = -72008455 ns)
Date: Tue Mar 2 07:16:58 2010
DistroRelease: Ubuntu 10.04
DkmsStatus: nvidia-current, 195.36.03, 2.6.32-14-generic, i686: installed
InstallationMedia: Lubuntu 10.04 "Lucid Lynx" - Alpha 3 i386 (20100225)
MachineType: MICRO-STAR INTERNATIONAL CO., LTD MS-7185
NonfreeKernelModules: nvidia
Package: x11-common 1:7.5+1ubuntu8
PackageArchitecture: all
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-14-generic root=UUID=75b001ec-464b-4458-92cb-40fa3d1bc7b2 ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
RelatedPackageVersions:
 xserver-xorg 1:7.5+1ubuntu8
 libgl1-mesa-glx 7.7-3ubuntu1
 libdrm2 2.4.18-1ubuntu2
 xserver-xorg-video-intel 2:2.9.1-1ubuntu6
SourcePackage: xorg
Uname: Linux 2.6.32-14-generic i686
dmi.bios.date: 08/24/2006
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: MS-7185
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO., LTD
dmi.board.version: 1.0
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd08/24/2006:svnMICRO-STARINTERNATIONALCO.,LTD:pnMS-7185:pvr1.0:rvnMICRO-STARINTERNATIONALCO.,LTD:rnMS-7185:rvr1.0:cvn:ct3:cvr:
dmi.product.name: MS-7185
dmi.product.version: 1.0
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO., LTD
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.32-14-generic

Revision history for this message
divVerent (divverent) wrote :
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → nvidia-graphics-drivers-180 (Ubuntu)
Revision history for this message
divVerent (divverent) wrote :

Can you enlighten me why?

This bug has nothing to do with the nvidia driver, I even described where the bug was (either the default config file needs the "xsession" changed to "session", or the shell script needs the "session" changed to "xsession", so these two match). Also, nouveau was the active driver, as you can see e.g. from glxinfo.

Another thing - even after fixing that, I still wasn't able to use my own X session in LXDM. Choosing "default" showed a message about startlxde not being available, then loaded my session. Any other setting did not use my session. As a workaround, I switched to GDM.

Revision history for this message
divVerent (divverent) wrote :

Also, I just found that this one is a partial duplicate of #526532. The other bug however doesn't mention the problem with LXDM being unable to start a "default" session (i.e. user defined .xsession). So please move this bug to LXDM, and fix #526532 (as it's just a simple typo anyway, it just needs to be cleared up which of the two names is the intended one).

Robert Hooker (sarvatt)
affects: nvidia-graphics-drivers-180 (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
Revision history for this message
divVerent (divverent) wrote :

The xsession issue has been fixed in 526532 now. Leaving only the LXDM issue open (namely, that lxdm currently provides no way to call the user supplied .xsession).

Bryce Harrington (bryce)
affects: nvidia-graphics-drivers (Ubuntu) → lxdm (Ubuntu)
Revision history for this message
MrMagne (mr.magne) wrote :

If it can help lxdm users I created a /usr/share/xsessions/Xsession.desktop file containing:

[Desktop Entry]
Encoding=UTF-8
Name=Xsession
Comment=Highly configurable framework window manager
TryExec=/etc/X11/Xsession
Exec=/etc/X11/Xsession

after that I can select Xsession in lxdm and it runs my custom ~/.xsession file

Julien Lavergne (gilir)
summary: - user xsession is not supported due to typo "allow-user-session"
+ Use .xsession from home user
Changed in lxdm (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Julien Lavergne (gilir) wrote :

Could you provide an example of .xsession and what the behavior you expect with this .xsession ? That will be easier to report the issue to the author of lxdm.
Thanks.

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

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

Changed in lxdm (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.