Raspbian Stretch Light: Desktop und xrdp nachinstallieren

Hello all,

today we want to install the desktop and XRDP in Raspian Stretch Light, but we encountered some stumbling blocks.

If we have connected our Raspberry to a network and activated ssh, we can connect with the commands "ssh pi@raspberrypi", password "raspberry" and as always first configure with "raspi-config".

Install the GUI with the command "sudo apt-get install raspberrypi-ui-mods -y".

When the installation is finished we make sure with "sudo apt-get purge realvnc-vnc-server" that there is no VNC on the system.

Now we can install the server service for the MSTSC with "sudo apt-get install xrdp" so that we can log in later comfortably and do not need an extra client.

To be able to log in later we still have to enter a permission:

We navigate with "cd /etc/X11/" into the folder and open with "sudo nano Xwrapper.config" the file in which we change the entry "allowed_users=console" into "allowed_users=anybody" and save with Ctrl+O.

After a reboot with "sudo restart now" we connect again and update as usual with: "sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade".

Then make sure that our Raspi boots with GUI by selecting with "sudo raspi-config" item 3 Boot Options, B1 Desktop, B4 Desktop auto login.

After a reboot we can already connect to XRDP:

 

and log in:

 

 we have done it, we are in the desktop:

[since this is a test installation I have not changed the password here in the example].

Grundlagen softwareRaspberry pi

7 comments

Detlef

Detlef

Super erklärt

Frank I.

Frank I.

Moin,
sudo restart now = pi@raspberrypi:~ $ sudo restart now
sudo: restart: Befehl nicht gefunden
Lg
Frank

Jörg Bauer

Jörg Bauer

Danke für die Arbeit!
Liebe Grüsse
Jörg

Andreas Distler

Andreas Distler

SUPER KLASSE !!! Danke dir für die Anleitung. Selbst ich als absoluter Anfänger habe das hin bekommen.

der

der

xrdp ist ein service zb bei windows staren mit remotedesktopcontrol (start klicken und rdp suchen)
dann mit user pi und pw auf den desktop am pi einloggen

Matthias Rathje

Matthias Rathje

Danke für den Artikel hier – hat mir weiter geholfen.
Habe aber auch einen Fehler gefunden:
Zitat: >>Nach einem anschließenden neustart mit “sudo restart now”… <<
Bei mir hats mit “restart” nicht hingehauen – mit “sudo reboot now” hingegen schon.

@ Steffan: https://lmgtfy.com/?q=xrdp
(kann ja nicht zu viel verlangt sein…)

Steffan

Steffan

Was ist xrdp? Mit xrdp verbinden..
…??

Leave a comment

All comments are moderated before being published