praka123
left this forum longback
Hello All,
I use Debian Sarge .i cant open any gui apps for eg;gedit as "su -"
i tried exporting $DISPLAY value
now if i try opening gedit it will open.so any help..
I use Debian Sarge .i cant open any gui apps for eg;gedit as "su -"
i tried exporting $DISPLAY value
Code:
prakash@sarge:~$ echo $DISPLAY
:0.0
prakash@sarge:~$ su -
Password:
sarge:~# export DISPLAY=:0.0
sarge:~# gedit
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(gedit:9926): Gtk-WARNING **: cannot open display:
Code:
prakash@sarge:~$ xhost +
access control disabled, clients can connect from any host