swchris skrev:Wow!
Det var godt nok mere avanceret end jeg lige havde regnet med

Du ligger ikke tilfældigvis inde med rigtig god guide til hvordan man sætter det ? Vi snakker en virkelig begynder guide

//Swchris
START EDIT: følgende er tilføjet:
Fandt et link
http://www.odrakir.com/blog/2005/12/24/ubuntu-and-vnc/Håber det kan bruges, ellers kig herunder.
END EDIT
Jeg har kun hjulpet dig med min sådan generelle viden om terminal brug, jeg har ingen som helst erfaring med TightVNC
http://www.tightvnc.com/, som jeg gætter er den VNC du bruger.
Det er også helt klart noget jeg skal have gang i, når jeg har fået sparket gang i min egen server på mit domæne larsth.dk over en fornuftig 10/10 Mbit/s forbindelse.
Nå, men tilbage til dig:
vncviewers manual side finder du med
, afslut ved at trykke en gang på 'q'-tasten, eller via
http://www.tightvnc.com/vncviewer.1.htmlHer står der:
vncviewer [options] [host][:display]
vncviewer [options] [host][::port]
vncviewer [options] -listen [display]
vncviewer -help
manual sider (sider vist med man programmet) har en såkaldt Bacus-Naur-Form (BNF) syntax:
Det betyder at noget der står i []-paranteser, ikke er noget du absolut skal skrive:
Det betyder at du burde kunne starte den med:
Kode: Vælg alt
vncviewer 127.0.0.1$DISPLAY
, hvor
127.0.0.1 er localhost-din egen computet, og $DISPLAY sikker er teksten ":0.0" (uden anførselstegn)
Det kan være du så kan starte forbindelses dialogen:

Mere kan jeg nok ikke lige hjælpe dig, tag eventuelt et kig i ThightVNCs hjemmeside:
FAQ "How would I connect from the Internet to a machine in the internal network which is behind a router?":
http://www.tightvnc.com/faq.html#portfwdHar kigget lidt på
http://www.tightvnc.com/doc/java/README.txt:
Ser ud til at vncviewer (i Windows kun?) er et java program
Jeg lægger specielt mærke til i
http://www.tightvnc.com/doc/java/README.txt:
Installation
============
There are three basic ways to use TightVNC Java viewer:
1. Running applet as part of TightVNC server installation.
Both the Unix and Windows versions of TightVNC servers include small
built-in HTTP server which can serve Java viewer to Web clients. This
enables easy Web access to the shared desktop without need to install
any software on the client computer. Unix and Windows versions of
TightVNC servers are different in the way they store the .class and .jar
files: the Unix server (Xvnc) is able to serve any set of files present
in a particular directory, while the Windows server (WinVNC) has all the
.class and .jar files inside the WinVNC executable file. Therefore, for
Xvnc, it's enough to copy the files into a correct directory, but for
WinVNC, the server binaries should be rebuild if the built-in Java
viewer should be updated.
To install the Java viewer under Xvnc, copy all the .class files, the
.jar file and the .vnc files to an installation directory (e.g.
/usr/local/vnc/classes):
cp *.class *.jar *.vnc /usr/local/vnc/classes
Also, make sure that the vncserver script is configured to point to the
installation directory (see the Xvnc manual page for the description of
the -httpd command-line option).
2. Running applet hosted on a standalone Web server.
Another possibility to use the Java viewer is to install it under a
fully-functional HTTP server such as Apache or IIS. Obviously, this
method requires running an HTTP server, and due to the Java security
restrictions, it's also required that the server should be installed on
the same machine which is running the TightVNC server. In this case,
installation is simply copying the .class and .jar files into a
directory that is under control of the HTTP server. Also, an HTML page
should be created which will act as a the base document for the viewer
applet (see an example named index.html in this distribution).
NOTE: Provided index.html page is an example only. Before using that
file, edit it with a text editor. See more information inside
index.html.
3. Running the viewer as a standalone application.
Finally, the Java viewer can be executed locally on the client machine,
but this method requires installation of either JRE (Java Runtime
Environment) or JDK (Java Development Kit). If all the .class files are
in the current directory, the Java viewer can be executed like this,
from the command line:
java VncViewer HOST vnchost PORT 5900
The parameters HOST and PORT are required, but there is a number of
optional parameters as well (see the Parameters section below).
det 3. afsnit er specielt interessant.
/Lars