Monday, January 08, 2007

How to Start VNC From A Remote Machine

Today I wanted to install 10.1.2.0.2 JBoss Bpel to my Integration test machine. I was wondering how to do that, because the server didn't had a monitor. I didn't even know if vnc was present in the machine.

First using the locate vnc, I was able to find the vnc was present in teh machine.

So after some struggling over the man pages, I found how to start the vnc in a machine.

Just type vncserver in the command line. If the vnc server is successfully started, then you get a similar message:


New 'myhost.com:4 ' desktop is myhost.com:4

Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/integration-pc:4.log

So here the new port for the vnc server is "4"
The next step is setting the password for the first time.

Just type vncpasswd
You give passowrd of your chice and the system will again ask for verification.

From your remote machine, open the vncviewer. Enter the host name and the new port number.

EG: myhost.com:4
In the password prompt, give the password you have supplied earlier. Thats it, you are successfully connected to the vnc server.

No comments: