On 10/28/22 00:08, Roger Oberholtzer wrote:
I use x11vnc and a vnc client to connect to remote Linux desktops from other Linux computers. I have no problem connecting to display :0. As such, I can remotely access that desktop and help users with support and such.
I would like Windows clients to be able to do the same. So I have installed Xrdp. And I can get a desktop from the Linux computer (Leap 15.3).
There are two problems I do not seem to be able to solve:
1. I can only get icewm. I want KDE. I have tried editing /etc/xrdp/startwm.sh so that it should start plasma. But it does not work.
2. I cannot get it to share display:0. In fact, that's what I really want. It is running the desktop I am really after. I have tried things like making my own definition in Xrdp that should access display:0, based on various suggestions. No go.
My question is: has anyone gotten either of these things to work? Or, should I install a Windows client and access x11vnc? I have been trying not to need to install software on the Windows clients if at all possible. But I can if Xrdp won't do as I would like.
For kde, edit /etc/xrdp/startwm.sh and make SESSION=plasma. Then login again. I don't know about the display:0 issue, but could it be that the Windows client needs to have an X server? A good free one is Xming. We've been using xrdp extensively since the start of the Covids for teleworking. It's been indispensable! I run openSUSE on my home machine, then run Win-10 in VirtualBox to connect to a virtual Win-10 instance (Citrix) in AWS somewhere, then from there I run rdp to connect to our Linux hosts running xrdp behind a massive firewall. It all works well enough for system administration tasks. Regards, Lew