VNC grey screen and start on boot 12.04

Siriss

I have 12.04 LTS installed and I am trying to get VNC to work. I want to be able to connect to existing sessions, and have it start on boot. I followed this guide and have left a comment to try and fix my problems but no dice. I have also tried all solutions I have found on google, including the one here, but I could not get it to work (I am missing something easy I am sure).

When I connect to the VNC session I get a grey screen with three checkboxes:

  • Accept clipboard from viewers
  • Send clipboard to viewers
  • Send primary selection to viewers

Here is my xstartup:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
gnome-session -session=gnome-classic &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &

I have also edited my to include:

/usr/bin/vncserver -geometry 1024x768

It does not start on boot, but when I run the command it starts, but I get the grey screen.

Ajit Dubey

Check for solution on this link

Alternatively you can edit xstartup file located in your home folder by running sudo vi .vnc/xstartup from the terminal.

#!/bin/sh
# Uncomment the following two lines for normal desktop:

unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc

gnome-session --session=gnome-classic &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources

xsetroot -solid grey
vncconfig -iconic &

#x-terminal-emulator -geometry 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

VNC grey screen and start on boot 12.04

From Dev

VNC grey screen with Xubuntu 17.04

From Dev

VNC viewer grey screen since upgrade to Ubuntu 14.04 from Ubuntu 12

From Dev

Fedora VNC problem- getting a grey screen with three checkboxes

From Dev

VNC grey screen (Ubuntu 16.04, TightVNC, Xfce4)

From Dev

Ubuntu GNOME: Grey screen and very slow boot

From Dev

Can VNC screen definitions be added at start up?

From Dev

Can VNC screen definitions be added at start up?

From Dev

How do I start VNC Server on boot?

From Dev

Grey blank screen with various vnc services from Windows 7 to Ubuntu 14.04

From Dev

MacBook grey screen at boot, cannot press any keys

From Dev

After mounting new hard drive, Ubuntu won't boot, only presents grey screen

From Dev

VNC session with locked screen

From Dev

Virtual VNC screen/workspace

From Dev

Grey screen background during logon

From Dev

Grey screen background during logon

From Dev

Grey rectangle on top left of the screen

From Dev

Boot to black screen and cannot start grub to set nomodeset

From Dev

Slow boot from purple screen on, cold start only

From Dev

Automatically start VNC server on startup

From Dev

Google Maps on Android shows grey screen

From Dev

Grey horizontal lines across screen google maps

From Dev

Ubuntu GNOME boots to grey screen with border

From Dev

pygame only displays grey window on screen

From Dev

Grey out form button on touch start

From Dev

Grey out form button on touch start

From Dev

5 seconds grey screen before ubuntu MATE login screen

From Dev

Mavericks Screen Sharing resolution - Remmina VNC client

From Dev

VNC just one screen from Windows to Mac

Related Related

HotTag

Archive