I have a .bash_aliases file with several aliases which I use to connect to Windows machines. The aliases are set up like this:
rdesktop -d domain -u username -p password -k fr-be -g 1920x1024 -T Customer-SupportPC -a 24 IP
Yesterday the connection was working fine, today the connection gives me following error:
ERROR: Failed to open display:
SSH sessions are no problem, it's only a problem with rdesktop to a Windows server. X11 forwarding is set to yes in /etc/ssh/sshd_config
DISPLAY=:0.0 rdesktop <server>? Your didn't change something? How was your last time connection? How you terminate your session? Does anyrdesktopis still running? if yes, you would need to kill those sessions first as it caused the DISPLAY used by that session still and doesn't allocate same display thought – αғsнιη Sep 17 '17 at 15:39xclock? – Adam Katz Oct 26 '17 at 19:54exporttheDISPLAYvariable, notsetit. Otherwise child processes, like yourrdesktop, won't inherit it. – Robert Riedl Jan 27 '18 at 14:44