lxsession-default does not launch in reattached screen

Bug #1374546 reported by Lyn Perrine
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxsession (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

To reproduce log into LXDE start a screen session. Then logout. Then log into LXDE and reattach the screen session. Then in the screen session run lxsession-default quit or disk_utility.
lxsession:
  Installed: 0.4.9.2+git20140410-0ubuntu3
  Candidate: 0.4.9.2+git20140410-0ubuntu3
  Version table:
 *** 0.4.9.2+git20140410-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages
        100 /var/lib/dpkg/status
Description: Ubuntu Utopic Unicorn (development branch)
Release: 14.10

I expected lxsession-default quit to bring up the quit dialog. Instead it prints launcher quit manager but quit manager never launches. I also tried tihs with lxsession-default disk_utility and had the same thing happen. The same thing happened to me on trusty.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: lxsession 0.4.9.2+git20140410-0ubuntu3
ProcVersionSignature: Ubuntu 3.16.0-17.23-generic 3.16.3
Uname: Linux 3.16.0-17-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
CurrentDesktop: LXDE
Date: Fri Sep 26 09:51:06 2014
InstallationDate: Installed on 2014-08-31 (25 days ago)
InstallationMedia: Lubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140831)
SourcePackage: lxsession
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Lyn Perrine (walterorlin) wrote :
tags: added: trusty
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote : Re: [Bug 1374546] [NEW] lxsession-default does not launch in reattached screen

does this work in tmux or does it also have the same problem?

what about in the initial session? does it work there?

finally, an strace would be nice.

Revision history for this message
Lyn Perrine (walterorlin) wrote :

bug is also present in tmux.

In the inital session the command works in both tmux and screen.

The logout is nesecary for the bug to occur.

I also attached an strace.

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote : Re: [Bug 1374546] Re: lxsession-default does not launch in reattached screen

looks to me like the problem is the new session not being able to
connection to the old dbus session. check out
DBUS_SESSION_BUS_ADDRESS. i bet you its value changes between
sessions. you can probably resolve this by changing the environment
variable and/or linking one to the other.

Revision history for this message
Lyn Perrine (walterorlin) wrote :

I think screen does not accomplish this task as I learned more about it at the southern california linux expo so pretty sure this should be invalid.

Changed in lxsession (Ubuntu):
status: New → Invalid
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.