Skip to content
Advertisement

rdesktop request without gui linux

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

Advertisement

Answer

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>
Advertisement