desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #110237
[Bug 1251281] Re: gnome-session-flashback/Unity fails to start without hardware acceleration in cloud/remote environments (Forwarded-X/XRDP/VNC/NX/X2GO/Chromoting)
Hi there:
I was also affected by this type of back when attemtping to connecto to
a Lubuntu 14.04 server with X2Go server there (and from a Ubuntu 14.04
with Unity and X2Go client, in case this matters). Things were working
as expected yesterday (no patches needed), when I was setting up the
whole server (X2Go, plus a few other server settings needed for
ISPConfig, Backintime, etc)
Since today I could not login thorugh X2Go using the same connetion to
LXDE that I was using yesterday (message shown today just after the
connection attempt: "Unable to execute: startlxde"), I found this bug
report, and after enabling the extra repo trusty-proposed, I installed
the gnome-session-bin from there and gnome-session-flashback from
standard ubuntu repos. But it was not enough, it seems: I could see the
screen a little bit more evolved (blueish instead of fully black as
before), but not enough. The errors shown server side at ~/.xsession-
x2go-errors were the ones shown in the attached document, corresponding
to the attempts to connect with a custom-desktop definition as:
gnome-session --session=gnome-flashback --disable-acceleration-check
After adding the repo ppa:rtandy/flashback, and upgrading packages
gnome-desktop3-data & libgnome-desktop-3-7, I was able to connect again
with X2Go and standard LXDE as a session, and no more errors shown in
the ~/.xsession-x2go-errors.
My commands in case anyones is looking for easy copy&paste of
workaround:
sudo add-apt-repository ppa:rtandy/flashback
sudo apt-get update
sudo apt-get upgrade gnome-desktop3-data libgnome-desktop-3-7
I wonder if the addition of trusty-proposed was really necessary.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1251281
Title:
gnome-session-flashback/Unity fails to start without hardware
acceleration in cloud/remote environments
(Forwarded-X/XRDP/VNC/NX/X2GO/Chromoting)
Status in The GNOME 2 Session Manager:
Fix Released
Status in gnome-session package in Ubuntu:
Fix Released
Status in gnome-session source package in Trusty:
Fix Committed
Status in gnome-session source package in Utopic:
Fix Committed
Status in gnome-flashback source package in Vivid:
Fix Released
Status in gnome-session source package in Vivid:
Fix Released
Status in gnome-session package in Debian:
New
Bug description:
== Impact ==
It was impossible to launch a gnome-session-based desktop on a system where hardware accelerations is not available (such as old hardware, or when using a remote desktop).
That looks like a quite popular use case — more than a hundred of
people marked this bug as affecting them.
== Test Case ==
The original bug description below contains a test case.
== Proposed Fix ==
The fix backports an upstream commit which adds --disable-acceleration-check commandline option, and makes Upstart user session pass that flag to gnome-session when the session is gnome-fallback (aka gnome-flashback-metacity). Of course, that option can be used with other sessions as well.
This was fixed in vivid in version 3.14.0-2ubuntu4.
== Regression Potential ==
The option was accepted upstream, and nobody complained so far. So the regression potential should be low.
This bug will cause static grey or black screen instead of opening
remote session using Forwarded-X/XRDP/VNC/NX/X2GO/Chromoting from
x2goclient, rdpclient(reminna/vinagre/mstsc), SSH, VNC, NOMACHINE and
etc.
== Original Description ==
1) lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
2) apt-cache policy gnome-session
gnome-session:
Installed: 3.9.90-0ubuntu12
Candidate: 3.9.90-0ubuntu12
Version table:
*** 3.9.90-0ubuntu12 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
3) What is expected to happen is when one installs xrdp on the host
and attempts to use remmina or vinagre on a Ubuntu 14.04 client to RDP
in, it works.
4) What happens instead is it shows a gray static screen as per attached screenshot. This would appear an issue with gnome-session as per client log:
cat .xsession-errors.old
Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
init: indicator-application main process ended, respawning
init: indicator-application main process ended, respawning
init: indicator-application respawning too fast, stopped
Xsession: X session started for at Sun Jul 20 15:25:59 CDT 2014
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
localuser:moniker being added to access control list
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
** (process:2565): WARNING **: software acceleration check failed:
Child process exited with code 1
** (x-session-manager:2565): CRITICAL **: We failed, but the fail
whale is dead. Sorry....
The following is not a WORKAROUND, create /etc/xorg.conf :
Section "Device"
Identifier "Intel Graphics"
Driver "Intel"
Option "DRI" "False"
EndSection
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gnome-session 3.9.90-0ubuntu12
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jul 20 15:35:23 2014
InstallationDate: Installed on 2014-06-22 (28 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: gnome-session
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-session/+bug/1251281/+subscriptions