At least according to the same post credited above, these variables are set for you automatically.
$ xclock Xlib: connection to 'localhost:10.0' refused by server Xlib: PuTTY X11 proxy: MIT-MAGIC-COOKIE-1 data did not match Error: Can't open display: localhost:10.0 $ The Solution Incorrect authorization information configuration was present on the X server. Also, if that does not solve the … How can I verify that Xserver is working properly? The Problem. Once connected on the Ubuntu, you should run export DISPLAY=10.0.0.1:0, assuming that your client has the address 10.0.0.1 and Xming is running on display :0. So, I checked and found that to be the case. This resolved the trouble by me some time ago. I also changed my security group on AWS to let inbound traffic on port 6000. # xclock Error: Can't open display: Probably the only problem, you did not use -X: ssh -X Do most amateur players play aggressively? Can't seem to launch xeyes as a test despite having X11 installed and both export DISPLAY=:0.0 and export DISPLAY=:0 do not work. make sure following in not commented, if it is then you (or root if you are not root) have to uncomment it. Did you set the DISPLAY variable manually? Is it legal to pay someone money if you don't know who they are? The package comes bundled with the xclock program.