This tutorial should guide you trough the installation of a VNC Server on (Gentoo) Linux and the configuration for Windows Boxes. VNC stands for Virtual Network Computing. It is remote control software which allows you to view and interact with one computer (the "server") using a client on another computer. If you want to surf webpages at your work and your boss shouldn't know that, i'm your man
Before we start make sure you can answer at least the first four questions with yes:
- Do you have a Linux installed on your computer which you want to use as your server?
- Do you have a Windows installed on the computer which you want to use as your client?
- Do you have root access to your Server?
- Do you have a Secure Shell Daemon installed, configured and is it started?
- Do you know why you want to follow the following instructions?
---
So we can start now with the Linux Server.
I'm using the Gentoo distribution so i can't guarantee that this works on your box. I recommend Gentoo as the best distribution around, but that's not the topic
Log in as root.
Gentoo-users:
Update the portage tree with
Code: Select all
emerge syncCode: Select all
emerge vncNon-Gentoo-Users:
You should get the package from http://www.realvnc.com manually. Follow the installation instructions.
Now start the server by typing this into the terminal, shell or whatever
Code: Select all
vncserverYou can check with
Code: Select all
nmap localhostCode: Select all
PORT STATE SERVICE
5801/tcp open vnc-http-1
5901/tcp open vnc-1
---
Client setup (Windows)
We need some programs to be installed
Download and install Putty - It's the SSH client. We use this because of security reasons
Download VNC for Windows. You don't need to fill our the fields on the download side. Just click on the checkbox left of Windows 9x/2000/NT/XP (x86) and proceed. You only need the viewer.
After Installing these programs we will configure Putty.
Start Putty
Session:
___Hostname: ip of server
___Port: port on which sshd listens (default: 22)
NOTE: by accessing your computer over a hostname instead of an ip, get you an account at http://www.dyndns.org per example.
Connection:
###Proxy: if you connect through a proxy to the internet, enter the information
Connection:
###SSH
________Tunnels:
________________Disable X11 Forwarding
________________(add new lokal port): Source port: 5901
____________________________________ Destination: localhost:5901
Save your Setting! (Session, Saved sessions, enter a session name, Save)
Now Press "Open"!!!
Login to your Server as a user.
Don't close Putty.
Start the VNC Viewer on your Windows machine (maybe over the program - menu
VNC Server: localhost:1 (localhost, because putty tunneled the connection)
enter the password you've given the server... you should now see your X screen with the window manager twm...
I hope i could help.
MatzeOne





