Page 1 of 1

calling the VNCViewer console inside the frame

Posted: Thu May 14, 2009 12:30 am
by gavishwa
Hello all,

Am new to PHP. I have described my problem below in detail.Kindly help me to solve this issue.

Requirement:
When clicking on a Tab,it has to open a VNC console for a linux machine as a tab content.

Command to open a VNC console from PHP which i used:
system("vncviewer <machine ipaddress>::5901")

Sample code:
Line number On/Off | Expand/Contract

Code: Select all

 
   1.  
   2. <? include("tabs.php");
   3.  
   4.         $tabs->start("Summary");
   5.         echo "Under construction.<br/>";
   6.         $tabs->end();
   7.  
   8.         $tabs->start("Console");
   9.         [b]system("vncviewer <machine ipaddress>::5901")[/b]
  10.         $tabs->end();
  11.  
  12. $tabs->run();
  13. ?>
  14.  
 
Observation:
When i try with system("vncviewer <machine ipaddress>::5901") command inside the Tab function in my PHP code. it does not give any visible output in the webpage.

Expected Output:
VNC console has to open as a tab content in when clicking the tab.

Thanking you in Advance.

Regards,
Vish

Re: calling the VNCViewer console inside the frame

Posted: Thu May 14, 2009 1:26 am
by jaoudestudios
Is this even possible? to get a desktop view through a webpage

Re: calling the VNCViewer console inside the frame

Posted: Thu May 14, 2009 2:59 am
by Griven
It is possible, but only with something like Citrix. I don't believe VNC offers a web-based application.