GTK warning :can't open display
Hi All,
I have below problem and I tried many options but still it doesn't work.
1) I am looging(putty) into Linux(Redhat) box with root user.
2) I am setting a display of the same machine to itself ith below comand
export DISPLAY=localhost:1
3) try to run firefox
And it is giving me below error:
Xlib: connection to "10.58.190.140:2.0" refused by server
Xlib: No protocol specified
(firefox-bin:11451): Gtk-WARNING **: cannot open display:
I checked /etc/ssh/sshd_config file and it has
AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
X11UseLocalhost yes
PrintMotd yes
PrintLastLog yes
TCPKeepAlive yes
Please help me out in this regard as i am not able o find any way out and it's taking long time.........
Regards,
savita