Home > General, Identity Manager, Oracle MiddleWare, Security > Steps to Install VNC Server on Ubuntu

Steps to Install VNC Server on Ubuntu


Steps to Install VNCServer on any VM
==========================================

ubuntu@karun-sec-4:~$ sudo http_proxy=$http_proxy apt-get update
ubuntu@karun-sec-4:~$ sudo http_proxy=$http_proxy apt-get install gnome-core
ubuntu@karun-sec-4:~$ sudo http_proxy=$http_proxy apt-get install xfce4 xfce4-goodies vnc4server tightvncserver

ubuntu@karun-sec-4:~$ vi ~/.vnc/xstartup

#!/bin/sh
def
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
startxfce4 &
ubuntu@karun-sec-4:~$ sudo chown -R ubuntu:ubuntu /home/ubuntu/.config

# To start VNC Server

ubuntu@karun-sec-4:~$ vncserver -geometry 1920×1080 -depth 24 :1

# open in windows machine TightVNC client and
<vnc server ip>::5901

password: password

Now click on connect button

#Note: to kill VNCserver
ubuntu@karun-sec-4:~$ vncserver -kill :1

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: