0

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?

Ari
  • 153

1 Answers1

0

problem is that sudo changes you user context to root and root doesn't have a display set. try using kdesu (for kde) or beesu (for gnome) to launch your app

uSlackr
  • 8,995