Skip to content

use mstcs over ssh tunnel as desktop for wslg #286

@pcause

Description

@pcause

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions