Skip to main content

Linux GUI based browsing using vncserver and vncviewer


Main Source
==========

http://rcweb.kaust.edu.sa/KAUST/ResearchComputing/wiki/Workstation#HowtoruntheVNCServerLinuxWorkstation



Example:
========
user: alamt
serverIP: 10.68.170.137

Step1: Login to server
==============
ssh alamt@10.68.170.137


Step2: Start vncServer in login server
========================
vncserver –geometry 1600x1024

Step3: Check the port no for vncServer in login server
=================================

 ps -ef | grep vnc | grep alamt
// It will show a big list with following port info by rfbport

 -rfbport 5905 ( so in this example portno for vncserver is 5905)
 -Xvnc :5 (so in this example screen ID is 5)

Step4: From client , run vncViewer
=====================

vncviewer 10.68.170.137:5905

Step5: Kill/Stop vncserver from login server
===========================
 vncserver -kill:5

Comments