XRDP Ubuntu

Ubunto 16.04 LTS XRDP without blank screen fault…


blank screen…

sudo apt-get install xrdp -y

Since gnome is no longer supported by XRDP sessions, you must utilize a lighter desktop environment for use with XRDP (xfce4 works very well).

sudo apt-get install xfce4 -y
echo xfce4-session >~/.xsession
sudo nano /etc/xrdp/startwm.sh

Add the following lines at the end of the file:

. /etc/X11/Xsession 
. /usr/bin/startxfce4

By default, XRDP will open new instances of a session upon each login. These instances will also utilize unique port numbers. To avoid mirroring sessions over multiple ports, the port number must be statically identified at the XRDP login screen (this can be done within the xrdp.ini file).

To edit this file, type:

sudo nano /etc/xrdp/xrdp.ini

At the end of the [xrdp1] code block, there is a line for defining the port number value. We are only concerned with the [xrdp1] block, as it contains default values for sesman-Xvnc type connections. By default, the port value is -1 which instructs the XRDP session to search for a newly available port on which to open the connection. We want to be able to specify the port at login. We also want to be able to specify the username and password (IP should be left at the loopback address). The bottom four lines of our code block for [xrdp1] should now read:

a. username=ask
b. password=ask
c. ip=127.0.0.1
d. port=ask -1

By changing the port to “ask -1” we instruct XRDP to prompt the user for the port number at login, and autofill its value to -1 (this is important and is needed for your first RDP login).

Before attempting our initial login, we need to make sure that the user account that is to be used is a member of the tsusers group (this is a group created by XRDP program).

sudo usermod –a –G tsusers ‘username’

65 odpowiedzi do “XRDP Ubuntu”

  1. Pingback: free dating ideas
  2. Pingback: acyclovir 800 mg
  3. Pingback: zithromax generic
  4. Pingback: tadalafil uses
  5. Pingback: vardenafil levitra
  6. Pingback: viagra boys
  7. Pingback: vietnamese viagra
  8. Pingback: cialis expensive
  9. Pingback: better than viagra
  10. Pingback: viagra connect cvs
  11. Pingback: cialis 10mg dosage
  12. Pingback: cialis substitute
  13. Pingback: xenical nz
  14. Pingback: priligy pills usa
  15. Pingback: canada cialis
  16. Pingback: cialis 5 mg
  17. Pingback: cialis black brand
  18. Pingback: i need viagra

Możliwość komentowania została wyłączona.