Solved

Run VNC session using PHP code

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

776 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