{"id":16,"date":"2008-05-14T10:45:24","date_gmt":"2008-05-14T09:45:24","guid":{"rendered":"http:\/\/www.gadgetdude.co.uk\/blog\/?p=16"},"modified":"2008-05-16T12:02:55","modified_gmt":"2008-05-16T11:02:55","slug":"displaying-linux-x-windows-on-a-windows-pc","status":"publish","type":"post","link":"https:\/\/www.gadgetdude.co.uk\/blog\/?p=16","title":{"rendered":"Displaying X-windows on a Windows PC"},"content":{"rendered":"<div style=text-align:left;><a class=\"wpptopdfenh\" target=\"_blank\" rel=\"noindex,nofollow\" href=\"https:\/\/www.gadgetdude.co.uk\/blog\/?p=16&#038;format=pdf\" title=\"Download PDF\"><img alt=\"Download PDF\" src=\"https:\/\/www.gadgetdude.co.uk\/blog\/wp-content\/plugins\/wp-post-to-pdf-enhanced\/asset\/images\/pdf.png\"><\/a><\/div><p>Are you still using VNC to log into your remote Linux box to display X back to your MS Windows box.<br \/>\nDo you find it slow and annoying having a Linux Desktop always displayed.<\/p>\n<p>Well a simple trick is to use a secure shell to log into the linux box, but also let that link send back X11 information to a local X-windows server. This is done by using the &#8216; ssh -X <remote host>&#8216; command and then just running the apps that you want to see locally on your MS Windows PC.<\/p>\n<p>This by itself is something I find really well implemented and very cool.<\/p>\n<p>Now how to do this this in Windows?<\/p>\n<p>First you need two applications;<\/p>\n<p>Xming &#8211; <a href=\"http:\/\/sourceforge.net\/projects\/xming\">Location<\/a><\/p>\n<p>Putty &#8211; <a href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/\">Location<\/a><\/p>\n<p>Install Xming and run it (X will appear in your systray), this app makes it possible for any system to display X windows back to your system.<\/p>\n<p>Now start putty, enter the hostname of the remote Linux host and in the connection options select Enable X11 forwarding (find this option on the left under > Connection -> SSH -> X11) You can save this session with this option for later use.<\/p>\n<p>Initiate the connection with putty using the Open button, log in on the server<\/p>\n<p>Now you have the command prompt of the remote server and will be able to launch X applications on your local Windows workstation, for example try (if you have GNOME installed).<\/p>\n<p>gedit &#038;<\/p>\n<p>Some tools will only run if you have root (or sudo) rights, like yast2.<\/p>\n<p>You also don&#8217;t need X running on the remote Linux side either, so this is also ideal when the Linux machine itself is in runlevel 3 (no GUI). <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you still using VNC to log into your remote Linux box to display X back to your MS Windows box. Do you find it slow and annoying having a Linux Desktop always displayed. Well a simple trick is to use a secure shell to log into the linux box, but also let that link [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/16"}],"collection":[{"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16"}],"version-history":[{"count":0,"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/16\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}