Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rdesktop request without gui linux

Tags:

linux

rdp

Can I make rdesktop request without installed x-server?

Just send RDP request from linux (Centos 6) server to windows server?

When I run:

rdesktop -uUSER -pPASS host:port

the error appears:

ERROR: Failed to open display:

Solve the problem with install xserver, and freerdp may be it helps someone (centos 6):

yum groupinstall "X Window System"
startx
export DISPLAY=localhost:0
yum install freerdp
xfreerdp -u USER -p PASS --ignore-certificate HOST
like image 718
vnbt Avatar asked Jul 19 '26 06:07

vnbt


1 Answers

Yes, you have several options:

  • Use a client that render over framebuffer, for instance FreeRDP
  • Install a X-Server on your desktop machine, for Windows do you have XMing. To redirect your X you must define DISPLAY=<ip_x_server>
like image 181
Joan Esteban Avatar answered Jul 22 '26 01:07

Joan Esteban



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!