Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5409

Beginners • Re: RPi as Win RDP Client

$
0
0
RPi 3B v1.2
Raspberry PI OS 2024-03-12 Legacy x64 no Desktop

I'm triing use a RPi to create a Windows remote desktop client.
My idea would be that the RPi when logging into the shell, runs rdesktop or xfreerdp and connects to Win.

I installed xorg etc
apt install xorg xinit rdesktop xfreerdp

and create a script

Code:

export DISPLAY=:0startx &exec xfreerdp -o -x l -a 32 -g 800x600 -u ardo  192.168.0.10  -d -z b -f
did not work

What I need do?

Find out what error(s) are being produced.

startx also expects to be run as a foreground task not a background one. It also cannot be started over ssh - only on the local console by a user logged on there.

startx can also be passed a command to execute as part of its command line.

Change your script to the following and try again.

Code:

export DISPLAY=:0startx xfreerdp -o -x l -a 32 -g 800x600 -u ardo  192.168.0.10  -d -z b -f
You may also wish to add an apropriate shebang and redirect stdout and stderr into a file so they are captured.

Statistics: Posted by thagrol — Wed Mar 27, 2024 8:27 pm



Viewing all articles
Browse latest Browse all 5409

Trending Articles