Solved

Run VNC session using PHP code

Posted on 2011-09-28
4
234 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

685 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