Wednesday, September 16, 2015

Xming set up on windows


 
And then I can run
export DISPLAY=localhost:10.0 on a non putty ssh session

And then
Xclock and other X windows applications run. 


After install Xming
1)      Run “xhost +” on your desktop xming window
modify the X0.host file on windows machine 
X0.host  
localhost
oidm-dev1.csun.edu
130.166.5.152

2)      Execute “export DISPLAY=:0” on linux machine
3)      Run “xclock” on linux machine and see if you see a clock on your laptop

Will encounter following error if X0.host file not modified
[root@oidm-dev1 /]# xhost + 130.166.10.225
No protocol specified
xhost:  unable to open display "it-d73-0813.csun.edu:0.0"


At the Linux side, open all firewall, 
# service iptables save
# service iptables stop
# chkconfig iptables off



No comments: