Please Help! With How to setup VNCServer

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
walter24
New to forums
New to forums
Posts: 2
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Nov 01, 2010 4:23 pm

Please Help! With How to setup VNCServer

Post by walter24 »

Hi,

I work in a Ubuntu Dedicated server of NFO

IP: 64.94.238.76

I like install VNC server for tunel acces static, and i setup graphic desktop.

But the problem is runing startx command on putty ssh client, not is posible.

I need setup VNC server for enable startx command for graphic desktop.

Please I need help..

Helpme with How to setup VNC server on ubuntu server in terminal.

Thx for yours repplys

Salu2
User avatar
Edge100x
Founder
Founder
Posts: 13127
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Please Help! With How to setup VNCServer

Post by Edge100x »

Here's what I did to get VNC working with Ubuntu Server Edition version 10.10 x64.

1. In a plain SSH window to the server, type:

Code: Select all

apt-get update
apt-get install ubuntu-desktop tightvncserver
Hit enter when it asks to confirm that you want these packages installed.

2. Type these commands:

Code: Select all

tightvncserver -nolisten tcp :1
3. It will ask you for a password. Choose a good one here, and enter it twice, as it asks. Then tell it "n" when it asks "Would you like to enter a view-only password?" (unless you want one). When you run tightvncserver again after your next boot, it will not repeat these questions.

4. Open up a VNC viewer application and connect to w.x.y.z:1, where w.x.y.z is your server's IP address. It will ask for the password, and then display a desktop window to you.

Note that we recommend against running desktop applications on a server, for performance, security, and stability reasons. As Ubuntu docs state, a web-based administration package is usually a better choice (or simply using the command-line directly).

Sources:
https://help.ubuntu.com/community/ServerGUI
https://help.ubuntu.com/community/VNC/Servers
Post Reply