Displaying X windows applications on a Windows desktop: Difference between revisions

From Edgar BV Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
Start up X-Win32 / Xming and an XDMCP / broadcast session. Make sure the server you are going to run the application from has permissions in the X-server (for Xming it's in the X0.hosts file)
Start up X-Win32 / Xming and an XDMCP / broadcast session. Make sure the server you are going to run the application from has permissions in the X-server (for Xming it's in the X0.hosts file)


Putty into the machine you're running stuff off:
Before you putty into the machine make sure you go to connection -> SSH -> X11 and set Enable X11 forwarding on.
 
export DISPLAY=YOUR IP:0
 
run the program :)


Make sure the machine with the program on it (eg. /usr/games/tuxeyes) has xdm installed, and has open ports on the firewall (eg /etc/shorewall/rules:
Make sure the machine with the program on it (eg. /usr/games/tuxeyes) has xdm installed, and has open ports on the firewall (eg /etc/shorewall/rules:
Line 16: Line 12:
ACCEPT  fw    loc    udp    x11
ACCEPT  fw    loc    udp    x11


run the program :)


----
----
Line 23: Line 20:
Solution:
Solution:


Edit: X0.hosts (lay in the installation directory)
Edit: X0.hosts (c:\program files*86)\xming\ in the installation directory)


add the ip you want allow. my X0.hosts
add the ip you want allow. my X0.hosts
Line 46: Line 43:


Cygwin/X
Cygwin/X
----
Depreciated and insecure (manually setting the export environment)!
Putty into the machine you're running stuff off:
export DISPLAY=YOUR IP:0

Revision as of 08:48, 14 February 2017

Setting the X11 display to show X applications under Win2k

Start up X-Win32 / Xming and an XDMCP / broadcast session. Make sure the server you are going to run the application from has permissions in the X-server (for Xming it's in the X0.hosts file)

Before you putty into the machine make sure you go to connection -> SSH -> X11 and set Enable X11 forwarding on.

Make sure the machine with the program on it (eg. /usr/games/tuxeyes) has xdm installed, and has open ports on the firewall (eg /etc/shorewall/rules:


ACCEPT fw loc tcp x11

ACCEPT fw loc udp x11

run the program :)


Xming.exe: client 4 rejected from IP 192.168.1.215

Solution:

Edit: X0.hosts (c:\program files*86)\xming\ in the installation directory)

add the ip you want allow. my X0.hosts

“localhost

192.168.1.215″

Restart Xming.


For the full desktop


Alternatives to X-Win:

Xming

XWinLogon Win32 X Server

Cygwin/X


Depreciated and insecure (manually setting the export environment)!


Putty into the machine you're running stuff off:

export DISPLAY=YOUR IP:0