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’

56 odpowiedzi do “XRDP Ubuntu”

  1. Pingback: viagra 100mg price
  2. Pingback: viagra cheap
  3. Pingback: viagra from canada
  4. Pingback: tadalafil 5 mg
  5. Pingback: cialis reviews
  6. Pingback: low cost viagra
  7. Pingback: otc cialis
  8. Pingback: viagra reviews
  9. Pingback: natural viagra
  10. Pingback: cialis cena
  11. Pingback: vbb generic viagra
  12. Pingback: cialis otc fda
  13. Pingback: petco amoxicillin
  14. Pingback: dosage of cymbalta
  15. Pingback: cialis 5mg tablet
  16. Pingback: buy rush
  17. Pingback: viagra retinal
  18. Pingback: cialis 20mg
  19. Pingback: daily cialis 5mg
  20. Pingback: viagra by phone
  21. Pingback: does cialis work

Możliwość komentowania jest wyłączona.