z0mbix
11-19-2001, 04:58 AM
I'm getting the following error when logged into X as a normal user but su'd to root in a terminal and try to launch a program from the command line:
Error: Can't open display:
I've searched google with this error and found a page telling me to use the following:
% DISPLAY=display_machine_name:0.0
% export DISPLAY
Error: Can't open display: zombix:0.0
I wanna run an xconsole, but need to be logged in as root!
If not, is there any way to run xconsole when a normal user other than using sudo?
Any ideas?
:confused:
Error: Can't open display:
I've searched google with this error and found a page telling me to use the following:
% DISPLAY=display_machine_name:0.0
% export DISPLAY
Error: Can't open display: zombix:0.0
I wanna run an xconsole, but need to be logged in as root!
If not, is there any way to run xconsole when a normal user other than using sudo?
Any ideas?
:confused: