Difference between revisions of "Set up a VNC server"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 18: Line 18:
 
Errors like
 
Errors like
 
  Xtightvnc[6159]: segfault at e28116d8 ip 00007fdee17c635e sp 00007fffc36b0930 error 4 in libc-2.11.1.so[7fdee177d000+17a000]
 
  Xtightvnc[6159]: segfault at e28116d8 ip 00007fdee17c635e sp 00007fffc36b0930 error 4 in libc-2.11.1.so[7fdee177d000+17a000]
 +
 +
=== Ubuntu 10.10 ===
 +
cat >>/etc/apt/sources.list<<EOF
 +
deb http://ubuntu.mirror.cambrium.nl/ubuntu/ maverick main multiverse
 +
EOF
 +
apt-get update
 +
apt-get install tightvnc-java
 +
apt-get install tightvncserver
 +
vncserver -httpport 80

Revision as of 21:46, 24 November 2010

vnc allows you to connect to a remote computer's display over the network. It consists of a client and a server. The client is the viewer, the server provides the display. You can also allow browsers to view the server's desktop.

server

for a web browser

To configure vnc so it can be viewed from a web browser:

Ubuntu 8.04 (hardy)

Read and follow http://packages.ubuntu.com/hardy/all/tightvnc-java/download, then

sudo apt-get install tightvnc-java xfonts-base
vncserver -httpport 80

Ubuntu 9.10

sudo apt-get install tightvnc-java tightvncserver
vncserver -httpport 80

Ubuntu 10.04

Errors like

Xtightvnc[6159]: segfault at e28116d8 ip 00007fdee17c635e sp 00007fffc36b0930 error 4 in libc-2.11.1.so[7fdee177d000+17a000]

Ubuntu 10.10

cat >>/etc/apt/sources.list<<EOF
deb http://ubuntu.mirror.cambrium.nl/ubuntu/ maverick main multiverse
EOF
apt-get update
apt-get install tightvnc-java
apt-get install tightvncserver
vncserver -httpport 80