Skip to content
Discussion options

You must be logged in to vote

The key point is that launching an RDP session via a shell command (using mstsc) on the server won’t open the session in the user’s browser. When you use shell_exec to run mstsc, it executes on the server machine (or the environment where your Laravel app is hosted), not on the client’s computer. That’s why, even though you can open the Remote Desktop Connection application on Windows, it doesn’t render the desktop within the browser tab.

To display an RDP session in a browser, you’ll need a web-based RDP client that translates the RDP protocol into something that can be rendered in HTML5 (typically via WebSockets and a canvas element). Here are some alternatives you might consider:

Web-B…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AbdulRauf-4933
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask and answer questions about GitHub features and usage Programming Help Discussions around programming languages, open source and software development
2 participants