use mstcs over ssh tunnel as desktop for wslg
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.9k
- Forks
- 429
- PR merge metrics
- No merged PRs in 30d
Description
I use ssh to access my wsl instance from other systems. I'd like a way to have a rdp client on the remote machine be the display for WSLg
Describe the solution you'd like
Have a way to set WAYLAND_DISPLAY to the remote RDP client in a fashion similar to the way we set the display in X. Could involve 2 variables. Since wayland-0 on wslg is a socket shouldn't it be able to be a connection to a remote system / client that supports the protocol
I'd start my ssh session with port forwarding enabled and have the rdp client listen on localhost:port. I set the appropriate environment variables, and when i run a graphical client on my WSL instance the app launches in the rdp app on the client as a window, where the remote rdp client is treated as a desktop.
Describe alternatives you've considered
I used to use xrdp to get a full remote desktop
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are identified. Start by investigating how WSLg configures WAYLAND_DISPLAY and the wayland-0 socket, then determine whether SSH forwarding and a remote RDP client can support the requested connection. Done would mean WSLg graphical applications display as windows through the remote RDP client.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100