?
Solved

Run VNC session using PHP code

Posted on 2011-09-28
4
Medium Priority
?
441 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 2000 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

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

569 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