← Back to team overview

tieto team mailing list archive

Re: [Bug 1251281] Re: gnome-session-flashback/Unity fails to start without hardware acceleration in cloud/remote environments (Forwarded-X/XRDP/VNC/NX/X2GO/Chromoting)

 

Did reasonably extensive testing last night of the proposed fix for 
Trusty.
I believe that my results are very similar to Xavier: after I installed all
updates related to this bug from trusty-proposed repository (pre-released)
I couldn't start remote X2go session at all. In /var/log/messages I found
information about segfault in libgnome-desktop-3-7:

Apr  1 05:17:12 marina-net /usr/bin/x2goruncommand: launching session 
with Xsession-x2go mechanism, using STARTUP="gnome-session 
--session=gnome-flashback --disable-acceleration-c\
heck"
Apr  1 05:17:20 marina-net kernel: [ 1747.973711] gnome-session[7806]: 
segfault at 18 ip 00007fc4c3952196 sp 00007fff7f38a820 error 4 in 
libgnome-desktop-3.so.7.0.0[7fc4c3930000+3\
1000]

  It appears that libgnome-desktop-3-7 wasn't update since July of 2014 
and its
version was 3.8.4-0ubuntu3. So I installed updates from 
ppa:rtandy/flashback
repository according to Xavier instructions, which includes updating
libgnome-desktop-3-7. After update the version of libgnome-desktop-3-7
became 3.8.4-0ubuntu4. Actually it updated 16 other packages as well at
that time. After this update everything began working very well.
  So my conclusion is that the fix in the trusty-proposed repository as 
it stands
there right now is not helpful at all, but the version in 
ppa:rtandy/flashback
repository works fine.

Thank you,
Michael.


On 01.04.15 03:30, Xavier wrote:
> thanks for the info (and your work, all) to fix this issue and provide workarounds in the meantime.
>   
> Ubuntu LTS and the ecosystem around it (launchpad, repos, community, etc) rock! :-)
>

-- 
You received this bug notification because you are a member of Tieto,
which is subscribed to the bug report.
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


Follow ups

References