This article describes in brief how to configure VNC server instances for one or multiple users on a remote machine, how to use VNC to start graphical applications on boot and finally how to enhance security by connecting to the server through encrypted SSH tunnels.
For a single user environment, this is how I do it:
Run system-config-services and set vnc server to automatically start for level 5.
At the console, type:
vncpasswd /root/.vncpasswd
Enter your password and press enter. This will save the VNC password to that file.
Then edit /etc/X11/xorg.conf. Under the Section “Device” add
Option “passwordFile” “/root/.vncpasswd”
on it’s own line and under Section “Module” add
Load “vnc”
on it’s own line. Save xorg.conf.
Start the vnc server service in system-config-services (or at the command line).
Press Shift Alt Backspace to restart x.
Try connecting to the FC4 computer from another box using vncviewer. If you can’t connect – check that iptables isn’t blocking port 5900.
That’s my lazy way on a secured network.
Hi, this http://linuxreviews.org/howtos/xvnc/“ sets up vnc as a terminal services kind of thing.
Quite cool. I’ve only done it in trusted networks off course.
Stefan
What, if any, are the advantages of this over FreeNX? I know VNC viewers are usually dead easy to set up, but that’s the only thing I can think of.
FreeNX isn’t open source AFAIK.
FreeNX just as the name suggests is free as in freedom.
The only parts of the NX suite (just as stated by the Nomachine.com site) are the official client (free as in beer) and the NXServer with its management suite.
But there are free viewers (working and in beta-stage), and a free server (freeNX), and all the Nomachine’s libraries are licensed as Free Software.
As for the advantages of VNC over NX, there are absolutely NONE.
NX can relay VNC, adding compression and cryptographic security. VNC compared to NX is slow and highly insecure (it’s trivial capturing all a vnc data stream and save it as a local movie/swf).
We have a fairly good PM-based VNC client and server for OS/2, as well as an X client version, but I’m not aware of a FreeNX implementation for OS/2 at all.
For the half dozen or so of us OS/2 users that are left, that gives VNC a rather serious advantage. 🙂
In fact, it seems to be limited to Linux, Solaris, Windows, and MacOS/X. A good start, but needs more ports…
Browser: Lynx/2.8.3rel.1 libwww-FM/2.14
VNC can be used to connect
to an existing X11 session.
As in you can leave your normal X11 session running on your work machine
and you can connect to it from your home machine via VNC.
How to use ls.
whats next
How to use punctuation – specifically apostrophes in subjects.