X11/xpra problem (RHEL 6 & 7) -- can't open display

Posted on

As user1 from a workstation we do the following:

sudo -E -u user2 ssh -Y x.x.x.x

Once connected, the script we run is designed to open multiple GUIs, but fails. The logs show the error as "can't open display". This particular server is using xpra.