A Code Monkey's Blog

Update your DISPLAY environment variable for Nomachine and Screen user

If you are Nomachine and GNU Screen user, have you been annoyed by the problem that you can't start GUI program in a screen session? The reason to the problem is that the environment variable DISPLAY is not properly set when you attach a screen session. There are two posts talking about how to update environment variables such as SSH and DISPLAY  to make the life much easier.