Public bug reported:

This is different issue with XRDP connection error to GNOME3 Unity.
This will affect XRDP connection to LXDE, Xfce and MATE Desktop.

$ sudo apt-get install -y xubuntu-desktop
$ echo "xfce4-session" > ~/.xsession
$ sudo reboot
# RDP connect after boot and then cause error.

/etc/X11/Xsession.d/65snappy always add /var/lib/snapd/desktop to
XDG_DATA_DIRS however /var/lib/snapd/desktop is not exists.

If starting Xsession by XRDP with correct XDG_DATA_DIRS,
e.g. /usr/share/xfce4, XDRP will work.

But if starting Xsession with empty XDG_DATA_DIRS, Xsession by XRDP
will use incorrect XDG_DATA_DIRS and cause crash or unavailable
desktop item.

XRDP on ubuntu 15.10 will work with empty XDG_DATA_DIRS.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snapd 2.0.2
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Tue Apr 26 16:35:01 2016
InstallationDate: Installed on 2016-04-24 (1 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ja_JP.UTF-8
 SHELL=/bin/bash
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.X11.Xsession.d.65snappy: [modified]
mtime.conffile..etc.X11.Xsession.d.65snappy: 2016-04-26T16:23:37.137298

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


** Tags: amd64 apport-bug xenial

** Patch added: "snapd-check-XDG_DATA_DIRS.patch"
   
https://bugs.launchpad.net/bugs/1575014/+attachment/4647476/+files/snapd-check-XDG_DATA_DIRS.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575014

Title:
  /etc/X11/Xsession.d/65snappy cause XRDP error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575014/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to