Friday, February 14, 2014

Run linux GUI application on windows using ssh

1- install Xming and Xming-Font
download from http://sourceforge.net/projects/xming/

2- install putty
download from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

3- create Xming config file: config.xlaunch

<?xml version="1.0"?>
<XLaunch xmlns="http://www.straightrunning.com/XmingNotes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.straightrunning.com/XmingNotes XLaunch.xsd" WindowMode="MultiWindow" ClientMode="StartProgram" Program="xterm" ClientStart="PuTTY" PasswordStart="true" RemoteHost="192.168.56.10" RemoteUser="root" Display="0" Clipboard="true"/>




----------------
the linux server is 192.168.56.10 and run as user root and it will execute xterm

 you can change user and host address  as your own, if you want to use wizard you can right click on it and use edit it will appear the wizard window

4- double click on the config.xlaunch, it will ask for password, enter the password xterm will appear.


No comments:

Post a Comment