Running xterm over SSH with a DISPLAY parameter correctly set can show an error for the Drawable.
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 55 (X_CreateGC)
Resource id in failed request: 0x5a
Serial number of failed request: 3
Current serial number in output stream: 4
To solve it add or uncoment in ssh_config
And restart the SSHD service.
When connecting over ssh to a server with Putty, we can easily export the DISPLAY and run any X-Window application after enable the X11 in the PuTTY configuration. However, if you change to another account any X-Window application will fail as we have to share the MIT-MAGIC Cookies from the first user connected, here is how we can do it.
user1@server3$ echo $DISPLAY
user1@server3$ xauth list
server3/unix:10 MIT-MAGIC-COOKIE-1 6586998224e70480f72d195f55191dc4
server3/unix:11 Read more...