Tag Archives: Remote desktop

[solved] why can’t open the lightning simulator using remote desktop, OpenGL version 1.1.0?

Today, I am also troubled by this problem, because Windows MSTSC connection mode does not take the video card output by default, you will find that OpenGL version is always 1.1.0 version.

It’s not that the Remote Desktop can’t use the GPU, nor can it output game graphics, but many games use the current output Display to recognize the graphics card (as shown in the figure) at remote
The desktop will not recognize the unique display.

Just think about how hardware acceleration works…
Hardware acceleration is when programs write data directly to the graphics card’s memory to speed up the display, rather than through the system itself.
Because the remote desktop with Win10 may not be able to achieve, so we have to look for third party solutions, such as TeamViewer, AnyDesk, Sunflower and so on.
Attempted to use VNC software, not recommended, serious image problems, visual image rupture, and this is already in Ultra mode.

However, as mentioned on V2ex, GPU hosts like Tencent Cloud can do CUDA computing when using remote desktop. In theory, GPU can be used.
The forward solution is RemoteFX.
RemoteFX virtualizes the GPU to every virtual desktop, meaning that each virtual machine can have its own virtual GPU, which provides a variety of graphics acceleration capabilities to perform a variety of high-fidelity video, 2D, 3D graphics, and rich media processing capabilities.
 
It is said that Win10 is now support RemoteFX, virtual desktop in Win10 above run N card should be no problem:

Open the RemoteFX method reference
→ How to start Remote FX in Windows 7
RDP can only invoke Direct3D acceleration if the remote host is a Hyper-V virtual machine and RemoteFX graphics card is added.
 
 
If there is a need to play games,
The best solution is still Moonlight.
The source code is available on GitHub.
 
 
 
References:
[1] Technical Question: Will 3D games on remote tabletop be played alone?
[2] Remote Desktop issues start hardware acceleration issues
[3] The problem of remote tabletop games
[4] Windows Remote Desktop write and run OpenGL program
[5] Now Win10 1809 Remote Desktop supports N card 3D acceleration?Assassins creed
[6] Baidu Baike — RemoteFX

Using xrdp to realize windows remote desktop Ubuntu Linux


In general, we use SSH client to remotely log in Linux system. As for Linux remote login tools under the graphical interface, we usually think of VNC, but its security is not enough.
Here, I introduce the XRDP installation configuration method. We can easily use Windows remote desktop Linux.
XRDP installation configuration method
Open terminal: Install in turn
sudo apt-get install xrdp
sudo apt-get install vnc4server tightvncserver

Set the XRDP
echo “gnome-session –session=gnome-classic” > ~/.xsession
Ubuntu12.04 has unity and gnome multiple desktop managers. You need to specify one when you start up, otherwise
Even if the remote login is successful, it is only background.
XRDP’s configuration documents are in the /etc/xrdp directory of xrdp.ini and Sesman.in, generally selected by default.

Restart XRDP
sudo /etc/init.d/xrdp restart

Run MSTSC for Windows

Windows remote desktop, open the input remote Ip, connection, enter the user password can be remote Linux.

Error encountered
1, XRDP access to Ubuntu only see the background, not the menu bar solution
Gnome-panel
sudo apt-get install gnome-panel

2, Failed to load session “gnome”
Try
on the desktop with ubuntu-2d
Type the command: echo “gnome-session — session= Ubuntu-2D “> ~/.xsession, and then restart XRDP.

3. Error:
Possiblitie to sesman IP 127.0.0.1 port 3350
sesman connect ok
sending login info to sesman
login successful for display 14

connecting to 127.0.0.1 5914
error – problem connecting
XRDP – Sesman. log, error:

[INFO ] starting Xvnc session…
[ERROR] X server for display 10 startup timeout[INFO ] starting xrdp-sessvc – xpid=2924 – wmpid=2923
[ERROR] X server for display 10 startup timeout
[ERROR] another Xserver is already active on display 10
[DEBUG] aborting connection…
if your log also has things like Xserver for display 10 startup timeout and another Xserver is already active on display 10
The root cause of the problem is TightvNC. The version in question conflicts with the X font, causing an error in connection to the Xserver.
Solutions:
apt-get purge tightvnc xrdp
apt-get install tightvncserver xrdp
Finally:
Start the XRDP service, sudo /etc/init.d/ XRDP restart, at which point the port is enabled and the aspect is configured by default.
By command: netstat -tnl
Check 3350 3389 5910 these three ports in LISTEN, generally no problem.
The name of the DPkg-L + package that tells you what files the package contains.
4, ubuntu 13.10 and later without background:
Thanks for the Suggestions in the comments:
XRDP does not support 13.10 GNOME. The solution is to install an XFCE interface.

sudo apt-get install xubuntu-desktop

And then:
echo xfce4-session > ~/.xsession

Set up the configuration file again
sudo gedit /etc/xrdp/startwm.sh
Insert
xfce4-session on the front line of./etc/x11/xsession
Restart XRDP
sudo service XRDP