← 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)

 

I am happily running GNOME Flashback with the FreeNX server, and nx-libs
from the X2Go stable PPA, on multiple Trusty terminal servers and it has
been quite stable. The gnome-session --disable-acceleration-check option
is needed, and also bug 1416081 has to be fixed to stop unity-settings-
daemon from crashing. I have uploaded all the necessary patches to
ppa:rtandy/flashback and attached them to these bugs. In the PPA I also
patched gnome-session-flashback to use --disable-acceleration-check, but
it's not really necessary -- just for symmetry :).

Attached is the FreeNX config file I use. Note it relies on the Upstart
session job to pass "--disable-acceleration-check" to gnome-session. For
X2Go, /usr/bin/x2goruncommand has to be adjusted similarly; I will
follow up to their tracker (http://bugs.x2go.org/cgi-
bin/bugreport.cgi?bug=774) soon.

I hope these patches can be considered for vivid, and maybe for
trusty/utopic SRU as well. Thanks for reading!

** Bug watch added: bugs.x2go.org/ #774
   http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=774

** Attachment added: "/etc/nxserver/node.conf.d/20_gnome-flashback.conf for freenx-server"
   https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1251281/+attachment/4336491/+files/20_gnome-flashback.conf

-- 
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:
  Triaged

Bug description:
  This bug will cause static grey or black screen instead of openning
  remote session using Forwarded-X/XRDP/VNC/NX/X2GO/Chromoting from
  x2goclient, rdpclient(reminna/vinagre/mstsc), SSH, VNC, NOMACHINE and
  etc.

  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

  apt-cache policy gnome-session-fallback
  gnome-session-fallback:
    Installed: 1:3.8.0-1ubuntu12.1
    Candidate: 1:3.8.0-1ubuntu12.1
    Version table:
   *** 1:3.8.0-1ubuntu12.1 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
          100 /var/lib/dpkg/status
       1:3.8.0-1ubuntu11 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

  apt-cache policy xrdp
  xrdp:
    Installed: 0.6.0-1
    Candidate: 0.6.0-1
    Version table:
   *** 0.6.0-1 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
          100 /var/lib/dpkg/status

  apt-cache policy remmina
  remmina:
    Installed: 1.0.0-4ubuntu3
    Candidate: 1.0.0-4ubuntu3
    Version table:
   *** 1.0.0-4ubuntu3 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status

  apt-cache policy vinagre
  vinagre:
    Installed: 3.10.2-0ubuntu1
    Candidate: 3.10.2-0ubuntu1
    Version table:
   *** 3.10.2-0ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe 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


Follow ups