I want to open rdesktop xrdp window by just clicking on button from website in machine.

Here is the php code :

shell_exec('rdesktop localhost');

This will not display any error.

  • You want the web server to run the remote desktop client?! – Cristian Ciupitu Oct 9 '17 at 13:11

You should have a look to the exec() function. I think this is what you are looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.