{"id":428,"date":"2017-02-09T21:42:48","date_gmt":"2017-02-09T20:42:48","guid":{"rendered":"https:\/\/heymowski.es\/mydevnotepad\/?p=428"},"modified":"2017-02-09T21:42:48","modified_gmt":"2017-02-09T20:42:48","slug":"x11-remoto-con-ssh","status":"publish","type":"post","link":"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/","title":{"rendered":"X11 Remoto con SSH"},"content":{"rendered":"<h2><a href=\"http:\/\/mcuser.uv.es\/es\/art.php?art=ard&amp;pag=rx11.html\" target=\"_blank\">http:\/\/mcuser.uv.es\/es\/art.php?art=ard&amp;pag=rx11.html<\/a><\/h2>\n<h2>Introducci\u00f3n<\/h2>\n<p>Si deseamos ejecutar programas gr\u00e1ficos que utilicen el entorno gr\u00e1fico X11 (XFree86) sin tener que instalar el programa en local es posible hacerlo mediante el ssh.<\/p>\n<p>Los programas podran residir tanto en otros equipos Mac OS X como en cualquier UNIX o Linux que soporte este entorno.<\/p>\n<p>Para que funcione lo aqu\u00ed expuesto hay que asegurarse que est\u00e1 instalado el <a href=\"http:\/\/mcuser.valencia.edu\/es\/art.php?art=darwin&amp;pag=x11.html\">X11<\/a>.<\/p>\n<h2>Configuraci\u00f3n Cliente<\/h2>\n<p>Para el X11 el cliente es la m\u00e1quina remota a la que me conectar\u00e9.<\/p>\n<p>Aqu\u00ed se comenta el proceso a seguir en un Mac OS X, pero en cualquier otro sistema (UNIX, Linux) puede diferir.<\/p>\n<h3>Configuraci\u00f3n del ssh<\/h3>\n<p>El cliente deber\u00e1 tener configurado el <code>X11Forwarding<\/code> para lo cual, habr\u00e1 que revisar y, si procede, modificar dos ficheros <code>\/etc\/ssh_config<\/code> y <code>\/etc\/sshd_config<\/code>.<\/p>\n<h4>ssh_config<\/h4>\n<p>Debe modificarse la l\u00ednea de c\u00f3digo<\/p>\n<blockquote><p><code class=\"centro\">#ForwardX11 no<\/code><\/p><\/blockquote>\n<p>por<\/p>\n<blockquote><p><code class=\"centro\">ForwardX11 yes<\/code><\/p><\/blockquote>\n<h4>sshd_config<\/h4>\n<p>Debe modificarse la l\u00ednea de c\u00f3digo<\/p>\n<blockquote><p><code>#X11Forwarding no<\/code><\/p><\/blockquote>\n<p>por<\/p>\n<blockquote><p><code>X11Forwarding yes<\/code><\/p><\/blockquote>\n<h3>Redireccionar DISPLAY<\/h3>\n<p>Adem\u00e1s habr\u00e1 que decirle d\u00f3nde debe redireccionar la salida de pantalla y eso lo haremos con el comando:<\/p>\n<blockquote><p><code>export DISPLAY=localhost:10.0<\/code><\/p><\/blockquote>\n<h3>Arrancar el servicio<\/h3>\n<p>Para arrancar el servicio \u00fanicamente deberemos dirigirnos a <strong>Preferencias del Sistema \/ Compartir<\/strong> y activar <strong>Sesi\u00f3n remota<\/strong>.<\/p>\n<h2>Servidor<\/h2>\n<p>Para el X11 el servidor es la m\u00e1quina donde estoy trabajando.<\/p>\n<h3>Conectarse<\/h3>\n<p>Para conectarse al cliente se debe ejecutar el programa <strong>X11<\/strong> (<code>\/Aplicaciones\/Utilidades\/<\/code>) e introducir el comando:<\/p>\n<blockquote><p><code>ssh -X usuario@maquinacliente<\/code><\/p><\/blockquote>\n<p>A continuaci\u00f3n nos pedir\u00e1 la contrase\u00f1a y, tras introducirla, nos permitir\u00e1 trabajar como si estuviesemos en la m\u00e1quina cliente.<\/p>\n<p>Si todo ha funcionado correctamente podremos comprobar que funciona con un programa sencillo como:<\/p>\n<blockquote><p><code>\/usr\/X11R6\/bin\/xlogo<\/code><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/mcuser.uv.es\/es\/art.php?art=ard&amp;pag=rx11.html Introducci\u00f3n Si deseamos ejecutar programas gr\u00e1ficos que utilicen el entorno gr\u00e1fico X11 (XFree86) sin tener que instalar el programa en local es posible hacerlo mediante el ssh. Los programas podran residir tanto en otros equipos Mac OS X como &hellip; <a href=\"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-428","post","type-post","status-publish","format-standard","hentry","category-sin-categoria"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>X11 Remoto con SSH | mydevnotepad<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"jjuanh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/\"},\"author\":{\"name\":\"jjuanh\",\"@id\":\"https:\/\/heymowski.es\/mydevnotepad\/#\/schema\/person\/d2129df7ef4a39b5e02c54ae9f426ea3\"},\"headline\":\"X11 Remoto con SSH\",\"datePublished\":\"2017-02-09T20:42:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/\"},\"wordCount\":272,\"commentCount\":0,\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/\",\"url\":\"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/\",\"name\":\"X11 Remoto con SSH | mydevnotepad\",\"isPartOf\":{\"@id\":\"https:\/\/heymowski.es\/mydevnotepad\/#website\"},\"datePublished\":\"2017-02-09T20:42:48+00:00\",\"author\":{\"@id\":\"https:\/\/heymowski.es\/mydevnotepad\/#\/schema\/person\/d2129df7ef4a39b5e02c54ae9f426ea3\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/heymowski.es\/mydevnotepad\/#website\",\"url\":\"https:\/\/heymowski.es\/mydevnotepad\/\",\"name\":\"mydevnotepad\",\"description\":\"echo &quot;Blog sobre Php y otros entretenimientos, para reforzar mi fr\u00e1gil memoria&quot;;\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/heymowski.es\/mydevnotepad\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/heymowski.es\/mydevnotepad\/#\/schema\/person\/d2129df7ef4a39b5e02c54ae9f426ea3\",\"name\":\"jjuanh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/heymowski.es\/mydevnotepad\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/bf9cff5d33a0b664a36c8a2188742797ff6063e120fd22b1a15f3b45616b6707?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/bf9cff5d33a0b664a36c8a2188742797ff6063e120fd22b1a15f3b45616b6707?s=96&d=mm&r=g\",\"caption\":\"jjuanh\"},\"sameAs\":[\"http:\/\/www.heymowski.es\"],\"url\":\"https:\/\/heymowski.es\/mydevnotepad\/author\/jjuanh\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"X11 Remoto con SSH | mydevnotepad","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":"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/","twitter_misc":{"Escrito por":"jjuanh","Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/#article","isPartOf":{"@id":"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/"},"author":{"name":"jjuanh","@id":"https:\/\/heymowski.es\/mydevnotepad\/#\/schema\/person\/d2129df7ef4a39b5e02c54ae9f426ea3"},"headline":"X11 Remoto con SSH","datePublished":"2017-02-09T20:42:48+00:00","mainEntityOfPage":{"@id":"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/"},"wordCount":272,"commentCount":0,"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/","url":"https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/","name":"X11 Remoto con SSH | mydevnotepad","isPartOf":{"@id":"https:\/\/heymowski.es\/mydevnotepad\/#website"},"datePublished":"2017-02-09T20:42:48+00:00","author":{"@id":"https:\/\/heymowski.es\/mydevnotepad\/#\/schema\/person\/d2129df7ef4a39b5e02c54ae9f426ea3"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/heymowski.es\/mydevnotepad\/2017\/02\/09\/x11-remoto-con-ssh\/"]}]},{"@type":"WebSite","@id":"https:\/\/heymowski.es\/mydevnotepad\/#website","url":"https:\/\/heymowski.es\/mydevnotepad\/","name":"mydevnotepad","description":"echo &quot;Blog sobre Php y otros entretenimientos, para reforzar mi fr\u00e1gil memoria&quot;;","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/heymowski.es\/mydevnotepad\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Person","@id":"https:\/\/heymowski.es\/mydevnotepad\/#\/schema\/person\/d2129df7ef4a39b5e02c54ae9f426ea3","name":"jjuanh","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/heymowski.es\/mydevnotepad\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/bf9cff5d33a0b664a36c8a2188742797ff6063e120fd22b1a15f3b45616b6707?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bf9cff5d33a0b664a36c8a2188742797ff6063e120fd22b1a15f3b45616b6707?s=96&d=mm&r=g","caption":"jjuanh"},"sameAs":["http:\/\/www.heymowski.es"],"url":"https:\/\/heymowski.es\/mydevnotepad\/author\/jjuanh\/"}]}},"_links":{"self":[{"href":"https:\/\/heymowski.es\/mydevnotepad\/wp-json\/wp\/v2\/posts\/428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/heymowski.es\/mydevnotepad\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/heymowski.es\/mydevnotepad\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/heymowski.es\/mydevnotepad\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/heymowski.es\/mydevnotepad\/wp-json\/wp\/v2\/comments?post=428"}],"version-history":[{"count":1,"href":"https:\/\/heymowski.es\/mydevnotepad\/wp-json\/wp\/v2\/posts\/428\/revisions"}],"predecessor-version":[{"id":429,"href":"https:\/\/heymowski.es\/mydevnotepad\/wp-json\/wp\/v2\/posts\/428\/revisions\/429"}],"wp:attachment":[{"href":"https:\/\/heymowski.es\/mydevnotepad\/wp-json\/wp\/v2\/media?parent=428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/heymowski.es\/mydevnotepad\/wp-json\/wp\/v2\/categories?post=428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/heymowski.es\/mydevnotepad\/wp-json\/wp\/v2\/tags?post=428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}