E
E
EvgeN_862018-08-23 20:40:13
RDP
EvgeN_86, 2018-08-23 20:40:13

What command can be used to automatically request an rdp connection?

Guys, Greetings. Maybe someone knows what commands in the bash file can make a request to connect via RDP in debian 9. My rdp connects automatically when Linux starts, it works fine, But, in case of a network loss (for example, the server is "out" and you never know) rdp closes and before us the Linux desktop. Are there commands to re-request to connect to rdp in linux (so that the user does not manually click the rdp shortcut in the hope that the network is working). Like clearly explained. Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
XanMark, 2018-08-24
@EvgeN_86

If I understand your question correctly, then:
$ sudo nano /etc/xrdp/xrdp.ini
At the end of the config, add the section:
[xrdp8]
name=Reconnect
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=5901
If you add a username, password, etc., then the reconnect will not be noticeable at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question