Anda di halaman 1dari 2

6/30/2019 How to Install VNC w/ Ubuntu Desktop on VPS - Knowledgebase - VPS6.

NET

Home Announcements Knowledgebase Network Status Affiliates Contact Us Account 

Knowledgebase
Portal Home > Knowledgebase > Tutorials/How Tos > How to Install VNC w/ Ubuntu Desktop on VPS

How to Install VNC w/ Ubuntu Desktop on VPS

This
guide
will
walk
you
through
the
steps
necessary
to
configure
Ubuntu
Desktop
and
TightVNCServer,
which
will
allow
you
to
connect
to
a
Linux
desktop
from
your
PC
(similar
to
RDP
for
Windows
servers).
 
Before
anything,
update
your
system:
# apt-get update

# apt-get upgrade

Install
Ubuntu
Desktop:
# apt-get install ubuntu-desktop

Setup
gdm:
# apt-get install gdm

# /etc/init.d/gdm start

Install
and
configure
TightVNCServer:
# apt-get install tightvncserver

# vncserver :1 -geometry 1024x768

# vncserver -kill :1

Open
the
VNC
configuration
file
with
vi:
# vi ~/.vnc/xstartup

Press
"a"
to
enter
edit
mode,
then
add
the
following
to
the
bottom
of
the
file:
gnome-session &

Log
in
to
SolusVM
and
reboot
the
VPS.
Then,
access
the
VPS
via
SSH
again,
and
start
the
VNC
server:
# vncserver :1 -geometry 1024x768

You
should
now
be
able
to
use
a
desktop
VNC
client
to
access
the
remote
desktop
at:
 
IP Address: [your server's main IP]
Port: 1 (or 5901, 5902 for desktop :2, etc)
Password: [password you set earlier]

 
Note
that
some
VNC
clients
will
not
have
a
Port
setting;
instead,
you
will
need
to
enter
IP
Address:
xx.xx.xx.xx:1
In
case
you
forget
your
password,
or
want
to
reset
it
later:
# vncpasswd

Was
this
answer
helpful? Yes Vote

Add to Favourites    Print this Article


Also Read
How
to
Check
VPS
Memory/RAM
Usage
with
SSH (Views: 37754)
How
to
Install
ConfigServer
Firewall
(CSF) (Views: 3952)
Install
and
Run
UnixBench
on
CentOS
or
Debian
VPS (Views: 11597)
How
to
Install
Webmin
on
CentOS
or
Debian
VPS (Views: 9894)

https://my.vps6.net/knowledgebase/59/How-to-Install-VNC-wor-Ubuntu-Desktop-on-VPS.html 1/2
6/30/2019 How to Install VNC w/ Ubuntu Desktop on VPS - Knowledgebase - VPS6.NET
How
to
Install
Kloxo
on
RHEL
or
CentOS
VPS (Views: 8256)

Language: English Copyright © 2019 VPS6.NET. All Rights Reserved.

https://my.vps6.net/knowledgebase/59/How-to-Install-VNC-wor-Ubuntu-Desktop-on-VPS.html 2/2

Anda mungkin juga menyukai