root account doesn't have access to graphics?
hey everyone, every time i use the root account to try and run some program it complains that it can't open the display :
Code:
mdtop:/usr/local/sbin# wireshark
(wireshark:17681): Gtk-WARNING **: cannot open display:
mdtop:/usr/local/sbin# ettercap -G
GTK+ failed to initialize. Is X running?
mdtop:/usr/local/sbin# ghex2
(ghex2:17698): Gtk-WARNING **: cannot open display:
mdtop:/usr/local/sbin# guarddog
guarddog: cannot connect to X server
But if I run them as my non root user, they work just fine...
I'm not quite sure what to do.
Any help is greatly appreciated!