session fails to start normally in virtual session (NX)

Bug #866072 reported by Eugene San
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nux
Incomplete
Undecided
Unassigned
Unity
Expired
Undecided
Unassigned
nux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Session fails to start normally in virtual environment as NX/VNC.
Among issues:
* Fallback check crashes preventing switching to fallback session.
   Replacing /usr/lib/nux/unity_support_test in /usr/share/gnome-session/sessions/ubuntu.session with /bin/false helps.
* Themes are not always applied (probably due to gnome-settings-daemon crash)
* unity-2d related schemes are not applied

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-session 3.2.0-0ubuntu2 [modified: usr/share/gnome-session/sessions/ubuntu.session]
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic-pae 3.0.4
Uname: Linux 3.0.0-12-generic-pae i686
ApportVersion: 1.23-0ubuntu2
Architecture: i386
Date: Tue Oct 4 12:05:55 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-session
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Eugene San (eugenesan) wrote :
Eugene San (eugenesan)
summary: - session fails to start normally in virtual environment as NX/VNC
+ session fails to start normally in virtual session (NX)
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you get a gdb stacktrace of the unity_support_test issue?

Changed in gnome-session (Ubuntu):
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

oh, and thank you for the bug report ;-) could you also add .xsession-errors to the bug? what do you can "scheme"?

Revision history for this message
Eugene San (eugenesan) wrote :

Attached xsession-errors log, for both failed (because of crashed compiz check) and more or less working sessions.
There are delimiters in file.

Regarding schemes:
gsettings-daemon patched to apply temporary gconf schemes according to session name as following /usr/share/gconf/SESSIONNAME.{mandatory,default}.path.
The problem is that when started inside NX, they are not applied for fallback and explicitly specified (--session=xxx) sessions.

Changed in gnome-session (Ubuntu):
status: Incomplete → New
Revision history for this message
Eugene San (eugenesan) wrote :

Regarding unity_support_test:
When running /usr/lib/nux/unity_support_test inside running NX session, it works and returns 0.
Any ideas how to simulate real conditions for it to crash?

affects: gnome-session (Ubuntu) → nux (Ubuntu)
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

@Eugene: can you please run the session and make it the unity_support_test crashes (as you only have this on log in), so that you can get the crash file in /var/crash/. Then report it with ubuntu-bug -c /var/crash/<file>.crash please?

also, report /usr/lib/nux/unity_support_test -p output

Revision history for this message
Sebastien Bacher (seb128) wrote :

the gnome-settings-daemon is a different one:

(gnome-settings-daemon:20586): Gdk-WARNING **: The program 'gnome-settings-daemon' received an X Window System error.
This probably reflects a bug in the program.
The error was 'XSyncBadCounter'.
  (Details: serial 195 error_code 146 request_code 137 minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Could you open another bug for it?

Revision history for this message
Eugene San (eugenesan) wrote :

didrocks:
I am unable to reconstruct unity_support_test crash.
I suspect latest compiz update (1:0.9.6+bzr20110929-0ubuntu1 -> 1:0.9.6+bzr20110929-0ubuntu2) fixed the problem.

seb128:
I'll report separate bug for gnome-settings-daemon

Revision history for this message
Eugene San (eugenesan) wrote :

What about gconf schemes and and theme loading?

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you add an updated .xsession-errors and detail the gconf and theme issue?

Revision history for this message
Eugene San (eugenesan) wrote :

Currently I am able to reconstruct the problem with 1.14.0-0ubuntu1.

Attached updated .xsession-errors.
Coredump is also available if required.

Workaround is replacing /usr/lib/nux/unity_support_test with link to /bin/false.

Revision history for this message
Jay Taoko (jaytaoko) wrote :

Is this bug still an issue and is it possible to have a stack trace of the crash?

Revision history for this message
Omer Akram (om26er) wrote :

Could you please follow the instructions on https://wiki.ubuntu.com/Unity/FilingBugs#Getting_a_stack_trace and attach unity.log to this bug report?

Changed in unity:
status: New → Incomplete
Changed in nux:
status: New → Incomplete
Changed in nux (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unity because there has been no activity for 60 days.]

Changed in unity:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for nux (Ubuntu) because there has been no activity for 60 days.]

Changed in nux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.