← Back to team overview

desktop-packages team mailing list archive

[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 people,

Thanks very much for all the help.

I can run gnome-flashback in Ubuntu 14.04.2 LTS (up to date) using xrdp/vnc now, but it is not workable yet.
I'm using Remote Desktop from Windows 7 to connect to Ubuntu.

The major problem is that logging out doesn't work. The window changes to a blank purple screen and never closes.
All the processes still seem to be running.

Installed are:

gnome-session-flashback 1:3.8.0-1ubuntu12.2
gnome-session 3.9.90-0ubuntu12.1

~/.xsession :
gnome-session --session=gnome-flashback --disable-acceleration-check


I have attached the

** Attachment added: "~/.xsession-errors"
   https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1251281/+attachment/4387237/+files/xsession-errors

-- 
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 Released
Status in gnome-session source package in Utopic:
  Fix Released
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