Difference between revisions of "Set up a VNC server"

From Linuxintro
imported>ThorstenStaerk
m (ThorstenStaerk moved page Vnc to Set up a VNC server)
imported>ThorstenStaerk
Line 19: Line 19:
 
Command
 
Command
 
  vncviewer ''myserver'':1
 
  vncviewer ''myserver'':1
 +
 +
= Hints =
 +
* as desktop environment consider XFCE. It is lightweight yet provides a clearly guided user experience. Your .vnc/xstartup could look like this:
 +
#!/bin/sh
 +
xfce4-session
  
 
= TroubleShooting =
 
= TroubleShooting =

Revision as of 18:00, 21 December 2013

vnc allows you to control a computer's display over the network. It consists of a client and a server. The client is the viewer, the server provides the display.

To read on find out your distribution.

Ubuntu

Server

To set up a VNC server with Ubuntu open a console and issue

sudo apt-get update
sudo apt-get install tightvncserver

To start it issue the command

vncserver

To stop it issue the command

sudo killall Xtightvnc

Client

Command

vncviewer myserver:1

Hints

  • as desktop environment consider XFCE. It is lightweight yet provides a clearly guided user experience. Your .vnc/xstartup could look like this:
#!/bin/sh
xfce4-session

TroubleShooting

Fonts e.g. in nautilus do not work. For CentOs 6:

yum install bitmap-miscfixed-fonts

See also