Monday, January 24, 2011

X window

I have windows 7 installed as my OS in my laptop. I wish to get a x terminal session from a unix/linux server that I am working on.

Assumption.
A- Laptop
B-unix/linux server
network: VPN

These are the following tools required:

1. Obtain the latest Xming server
http://sourceforge.net/projects/xming/

2. Then you need putty as your ssh

3. You need to enabled X11 forwarding under SSH setting in putty

4. Upon completion of Xming installation, double click XLaunch.

Select any..multi window is ok. Leave the display number as 0. click next. select start no client. --> next
check on No access control..vip

DONE!

5. Now run a ssh from putty into the host that you wish to connect remotely ie B server.
remember to enabled X 11 forwarding...

upon login, you can either set
export DISPLAY=localVPNIP:0.0

or
just run directly the program you with to run

eg: xclock

it work both for me!


http://ubuntuforums.org/archive/index.php/t-225898.html

No comments: