I am using nxclient on my Windows machine to connect to a Linux server which is running RHE. I am able to run all programs with GUI correctly. However, when I run the same programs with sudo, I get the following
error:(SciTE:25243): Gtk-WARNING **: cannot open display: :1066.0
There is no display connected to this machine, so I am gussing nx is setting my $DISPLAY to :1066.0?