Public bug reported:

In Oneiric, when logging in remotely with XDMCP + VNC and selecting the
"Ubuntu" session, Unity fails to properly fall back to Unity 2D. Instead
the user is presented with just their desktop background, with no
widgets of any kind. Sometimes a Nautilus-like menu bar briefly appears
at the top and then disappears (i.e., File, Edit, View, Go, Bookmarks,
Help). Occasionally the menu bar remains visible and/or the user's
desktop icons can be seen. In no case does the user ever get a
functional Unity 2D session with the launcher.

Manually selecting the "Ubuntu 2D" session results in a functional Unity
2D session as expected.

Replacing /usr/lib/nux/unity_support_test with a symlink to /bin/false
causes the "Ubuntu" session to fall back to a functional Unity 2D
session as expected. So probably the problem occurs in
/usr/lib/nux/unity_support_test.

I have attached the .xsession-errors from an "Ubuntu" session login
attempt.

Repro steps:

1) Enable XDMCP login in /etc/lightdm/lightdm.conf by adding:

[XDMCPServer]
enabled=true

2) Install xinetd and vnc4server and set up a VNC port to use XDMCP
login by creating a file like this in /etc/xinetd.d:

service Xvnc
{
type = UNLISTED
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/Xvnc
server_args = -inetd -query 127.0.0.1 -once -geometry 1920x1200 -depth 24 
-securitytypes=none -DisconnectClients=0 -NeverShared
port = 5901
}

3) Restart xinetd & lightdm services.
4) Connect to the chosen VNC port (5901 above) with Vinagre.
5) Login with the "Ubuntu" session selected.

Actual Behaviour:

6) The user is presented with a nonfunctional session.

Expected Behaviour:

6) /usr/lib/nux/unity_support_test should detect that the X11 display
does not support COMPOSITE and GLX and should exit with error code 1 so
that Unity 2D is used.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nux-tools 1.14.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: 
'/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module  280.13  Wed Jul 27 16:53:56 
PDT 2011
 GCC version:  gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
.tmp.unity.support.test.0:
 
.tmp.unity.support.test.1:
 
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CompizPlugins: 
[core,bailer,detection,composite,opengl,decor,grid,imgpng,gnomecompat,move,place,regex,resize,snap,animation,vpswitch,session,mousepoll,unitymtgrabhandles,compiztoolbox,wall,expo,workarounds,ezoom,fade,scale,unityshell]
CompositorRunning: None
Date: Sun Nov 13 14:28:21 2011
DistUpgraded: Log time: 2011-11-12 18:25:20.734107
DistroCodename: oneiric
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 280.13, 2.6.38-11-generic, x86_64: installed
 nvidia-current, 280.13, 3.0.0-12-generic, x86_64: installed
GraphicsCard:
 nVidia Corporation GT200b [GeForce GTX 275] [10de:05e6] (rev a1) (prog-if 00 
[VGA controller])
   Subsystem: Giga-byte Technology Device [1458:34ce]
JockeyStatus:
 xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, 
Enabled, In use)
 xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release 
updates) (Proprietary, Disabled, Not in use)
MachineType: System76, Inc. The Leopard Extreme
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: root=UUID=e7728359-15b1-4eb6-a7c9-db1b40e7c807 ro quiet 
splash
SourcePackage: nux
UnitySupportTest: Error: command ['/usr/lib/nux/unity_support_test', '-p', 
'-f'] failed with exit code 1: Error: no composite extension
UpgradeStatus: Upgraded to oneiric on 2011-11-13 (0 days ago)
dmi.bios.date: 12/14/2010
dmi.bios.vendor: Intel Corp.
dmi.bios.version: SOX5810J.86A.5529.2010.1214.2317
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DX58SO
dmi.board.vendor: Intel Corporation
dmi.board.version: AAE29331-503
dmi.chassis.type: 2
dmi.modalias: 
dmi:bvnIntelCorp.:bvrSOX5810J.86A.5529.2010.1214.2317:bd12/14/2010:svnSystem76,Inc.:pnTheLeopardExtreme:pvrleo1:rvnIntelCorporation:rnDX58SO:rvrAAE29331-503:cvn:ct2:cvr:
dmi.product.name: The Leopard Extreme
dmi.product.version: leo1
dmi.sys.vendor: System76, Inc.
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu5
version.ia32-libs: ia32-libs 20090808ubuntu26
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 
1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:0.0.16+git20110411+8378443-1

** Affects: nux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug needs-reassignment oneiric regression-update 
running-unity ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/889996

Title:
  Automatic unity 2D fallback does not work with XDMCP logins over VNC

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nux/+bug/889996/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to