Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Run VNC session using PHP code

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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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.
Suggested Courses

927 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