{"id":139,"date":"2008-09-04T22:34:14","date_gmt":"2008-09-04T20:34:14","guid":{"rendered":"http:\/\/www.netexpertise.eu\/fr\/?p=139"},"modified":"2021-10-11T21:17:24","modified_gmt":"2021-10-11T20:17:24","slug":"x11-tunnel-ssh","status":"publish","type":"post","link":"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html","title":{"rendered":"Lancer des applis X11 via SSH et Putty"},"content":{"rendered":"<div style=\"float:left; margin-right:15px; margin-top:0px;\">\n<script async=\"\" src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- 200x200, Netexpertise --><br \/>\n<ins class=\"adsbygoogle\" style=\"display:inline-block;width:200px;height:200px\" data-ad-client=\"ca-pub-6495750100906580\" data-ad-slot=\"1946825373\"><\/ins><br \/>\n<script><br \/>\n(adsbygoogle = window.adsbygoogle || []).push({});<br \/>\n<\/script><\/div>\n<p>Vous souhaitez acc\u00e9der aux applications X11 de votre serveur, mais celui-ci n&rsquo;est accessible qu&rsquo;en SSH? Rien de plus simple avec Putty! Putty permet de cr\u00e9er un tunnel SSH faisant transiter le trafic X11: le X11 forwarding.<br \/>\n&nbsp;<br \/>\nxorg-x11-xauth doit \u00eatre install\u00e9 sur le serveur pour s&rsquo;authentifier \u00e0 X.<br \/>\nD\u00e9marrez un gestionnaire graphique sur votre poste. Nous utiliserons ici Cygwin.<br \/>\nD\u00e9marrez Cygwin, lancer startX puis entrez<\/p>\n<pre>xhost +<\/pre>\n<p>pour autoriser tous les clients \u00e0 s&rsquo;y connecter.<br \/>\nFinalement, lancez Putty. Dans Connection -&gt; SSH -&gt; Tunnels, cochez \u00ab\u00a0Enable X11 forwarding\u00a0\u00bb<br \/>\nOuvrez la session en vous identifiant.<br \/>\nUn .Xauthority est cr\u00e9\u00e9 dans le r\u00e9pertoire local: c&rsquo;est le cookie qui permet d&rsquo;authentifier la session.<br \/>\nLancez une application X qui s&rsquo;affichera alors sur votre poste local. Par exemple xclock.<br \/>\n&nbsp;<br \/>\nPour lancer une application depuis un autre utilisateur &#8211; apr\u00e8s un su par exemple -, donner l&rsquo;acc\u00e8s au fichier .Xauthority, mettre \u00e0 jour la variable XAUTHORITY:<\/p>\n<pre>export XAUTHORITY=\/home\/user\/.Xauthority<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Vous souhaitez acc\u00e9der aux applications X11 de votre serveur, mais celui-ci n&rsquo;est accessible qu&rsquo;en SSH? Rien de plus simple avec Putty! Putty permet de cr\u00e9er un tunnel SSH faisant transiter le trafic X11: le X11 forwarding. &nbsp; xorg-x11-xauth doit \u00eatre install\u00e9 sur le serveur pour s&rsquo;authentifier \u00e0 X. D\u00e9marrez un gestionnaire graphique sur votre poste. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[10],"tags":[407,415],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Netexpertise - Lancer des applis X11 via SSH et Putty<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Netexpertise - Lancer des applis X11 via SSH et Putty\" \/>\n<meta property=\"og:description\" content=\"Vous souhaitez acc\u00e9der aux applications X11 de votre serveur, mais celui-ci n&rsquo;est accessible qu&rsquo;en SSH? Rien de plus simple avec Putty! Putty permet de cr\u00e9er un tunnel SSH faisant transiter le trafic X11: le X11 forwarding. &nbsp; xorg-x11-xauth doit \u00eatre install\u00e9 sur le serveur pour s&rsquo;authentifier \u00e0 X. D\u00e9marrez un gestionnaire graphique sur votre poste. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html\" \/>\n<meta property=\"og:site_name\" content=\"Netexpertise\" \/>\n<meta property=\"article:published_time\" content=\"2008-09-04T20:34:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-11T20:17:24+00:00\" \/>\n<meta name=\"author\" content=\"dave\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@netexpertise\" \/>\n<meta name=\"twitter:site\" content=\"@netexpertise\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html\",\"url\":\"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html\",\"name\":\"Netexpertise - Lancer des applis X11 via SSH et Putty\",\"isPartOf\":{\"@id\":\"http:\/\/www.netexpertise.eu\/fr\/#website\"},\"datePublished\":\"2008-09-04T20:34:14+00:00\",\"dateModified\":\"2021-10-11T20:17:24+00:00\",\"author\":{\"@id\":\"http:\/\/www.netexpertise.eu\/fr\/#\/schema\/person\/e398f0307e2b167f6b884c4953be2632\"},\"breadcrumb\":{\"@id\":\"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"http:\/\/www.netexpertise.eu\/fr\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lancer des applis X11 via SSH et Putty\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.netexpertise.eu\/fr\/#website\",\"url\":\"http:\/\/www.netexpertise.eu\/fr\/\",\"name\":\"Netexpertise\",\"description\":\"Syst\u00e8mes \/ R\u00e9seaux \/ DevOps\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.netexpertise.eu\/fr\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.netexpertise.eu\/fr\/#\/schema\/person\/e398f0307e2b167f6b884c4953be2632\",\"name\":\"dave\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"http:\/\/www.netexpertise.eu\/fr\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"caption\":\"dave\"},\"sameAs\":[\"http:\/\/www.netexpertise.eu\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Netexpertise - Lancer des applis X11 via SSH et Putty","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html","og_locale":"fr_FR","og_type":"article","og_title":"Netexpertise - Lancer des applis X11 via SSH et Putty","og_description":"Vous souhaitez acc\u00e9der aux applications X11 de votre serveur, mais celui-ci n&rsquo;est accessible qu&rsquo;en SSH? Rien de plus simple avec Putty! Putty permet de cr\u00e9er un tunnel SSH faisant transiter le trafic X11: le X11 forwarding. &nbsp; xorg-x11-xauth doit \u00eatre install\u00e9 sur le serveur pour s&rsquo;authentifier \u00e0 X. D\u00e9marrez un gestionnaire graphique sur votre poste. [&hellip;]","og_url":"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html","og_site_name":"Netexpertise","article_published_time":"2008-09-04T20:34:14+00:00","article_modified_time":"2021-10-11T20:17:24+00:00","author":"dave","twitter_card":"summary_large_image","twitter_creator":"@netexpertise","twitter_site":"@netexpertise","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html","url":"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html","name":"Netexpertise - Lancer des applis X11 via SSH et Putty","isPartOf":{"@id":"http:\/\/www.netexpertise.eu\/fr\/#website"},"datePublished":"2008-09-04T20:34:14+00:00","dateModified":"2021-10-11T20:17:24+00:00","author":{"@id":"http:\/\/www.netexpertise.eu\/fr\/#\/schema\/person\/e398f0307e2b167f6b884c4953be2632"},"breadcrumb":{"@id":"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.netexpertise.eu\/fr\/systeme\/linux\/x11-tunnel-ssh.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"http:\/\/www.netexpertise.eu\/fr"},{"@type":"ListItem","position":2,"name":"Lancer des applis X11 via SSH et Putty"}]},{"@type":"WebSite","@id":"http:\/\/www.netexpertise.eu\/fr\/#website","url":"http:\/\/www.netexpertise.eu\/fr\/","name":"Netexpertise","description":"Syst\u00e8mes \/ R\u00e9seaux \/ DevOps","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.netexpertise.eu\/fr\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fr-FR"},{"@type":"Person","@id":"http:\/\/www.netexpertise.eu\/fr\/#\/schema\/person\/e398f0307e2b167f6b884c4953be2632","name":"dave","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"http:\/\/www.netexpertise.eu\/fr\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","caption":"dave"},"sameAs":["http:\/\/www.netexpertise.eu"]}]}},"_links":{"self":[{"href":"http:\/\/www.netexpertise.eu\/fr\/wp-json\/wp\/v2\/posts\/139"}],"collection":[{"href":"http:\/\/www.netexpertise.eu\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.netexpertise.eu\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/fr\/wp-json\/wp\/v2\/comments?post=139"}],"version-history":[{"count":0,"href":"http:\/\/www.netexpertise.eu\/fr\/wp-json\/wp\/v2\/posts\/139\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.netexpertise.eu\/fr\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/fr\/wp-json\/wp\/v2\/categories?post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/fr\/wp-json\/wp\/v2\/tags?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}