VNC doesn't work with Ubuntu 14.04 Unity or Gnome desktops

Bug #1326286 reported by David Gradwell
114
This bug affects 24 people
Affects Status Importance Assigned to Milestone
vnc4 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

See

Ref 1: http://www.havetheknowhow.com/Configure-the-server/Install-VNC.html and Ref 2: https://medium.com/linux-operation-system/5e6fac849ea3 for other people's work on this problem.

Steps to repeat:

sudo apt-get install gnome-core gnome-session-fallback
sudo apt-get install vnc4server
vncserver ... You'll then be prompted to create and verify a new password
vncserver -kill :1
sudo gedit .vnc/xstartup

The only contents I could get to work on 14.04 are from ref 2 above and are as follows:

#!/bin/sh

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid pink
vncconfig -iconic &
x-window-manager &

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus -n &
gnome-terminal &

Install a VNC client on a different machine, such as VNC Viewer.

Setting "pink" in the above is helpful as it shows that the xstartup is at least being processed.

Expected results:

Gnome desktop that works.

Actual results: Successful login followed by grey screen or if "pink" is used then pink screen.

lsb output:

lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04

apt-cache policy vnc4server
vnc4server:
  Installed: 4.1.1+xorg4.3.0-37ubuntu5
  Candidate: 4.1.1+xorg4.3.0-37ubuntu5
  Version table:
 *** 4.1.1+xorg4.3.0-37ubuntu5 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
        100 /var/lib/dpkg/status

This has been tested running on several machines with different hardware - both client and server with different client operating systems (Windows 8.1 and Mac OS X latest).

I have multiple test rigs and am willing to test a patch.

penalvch (penalvch)
affects: xrdp (Ubuntu) → vnc4 (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vnc4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Mike Thomas (ken-5) wrote :

I followed this guide <a href="http://onkea.com/ubuntu-vnc-grey-screen/"> here </a> and that fixed the issue for me. I was getting the "grey screen" when logging in through VNC on Ubuntu 14.04

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.