Solved

Run VNC session using PHP code

Posted on 2011-09-28
4
231 Views
Last Modified: 2012-05-12
I have been searching for a way to start a VNC connection using a PHP webserver. I created a page for all of our computers but i would like to create a button that runs a VNC process and then connects to the computer they are looking at. Just wondering if this is possible. Thanks
0
Comment
Question by:maximus81
  • 3
4 Comments
 
LVL 10

Expert Comment

by:ienaxxx
ID: 36716331
Yeah, you can use a listening vnc viewer on your host and use the exec() function to run system commands.

You can run an instance of VNC passing parameters to specify to connect to the listening vnc viewer.


Another way to do this is to prepare vnc packets that are preconfigured to connect to your public IP (then natted to your private IP where listening VNC is running).
check this:
http://www.uvnc.com/products/uvnc-sc.html


HTH.
Bye!
0
 
LVL 10

Accepted Solution

by:
ienaxxx earned 500 total points
ID: 36716384
What about using the java viewer?
http://www.uvnc.com/features/javaviewer.html
0
 

Author Closing Comment

by:maximus81
ID: 36717333
This worked for me. Thanks
0
 
LVL 10

Expert Comment

by:ienaxxx
ID: 36717599
You're welcome.
Thank you for the feedback.
Glad to be of help. :-)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question