{"id":858,"date":"2010-06-23T09:24:39","date_gmt":"2010-06-23T09:24:39","guid":{"rendered":"http:\/\/soi57.net\/blog\/?p=858"},"modified":"2010-06-23T09:24:53","modified_gmt":"2010-06-23T09:24:53","slug":"login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10","status":"publish","type":"post","link":"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/","title":{"rendered":"Login automatico en Ubuntu sin usar Gdm\/Kdm\/Xdm (ubuntu 9.10)"},"content":{"rendered":"<div id=\"_mcePaste\">Hay veces que nos interesa montar un sistema con <strong>linux, con el m\u00ednimo software y los m\u00ednimos servicios<\/strong> corriendo posible. Algo que nos podemos ahorrar es el gestor de acceso ( <strong>login manager<\/strong> ). En Gnu\/Linux los m\u00e1s usados son <a href=\"http:\/\/es.wikipedia.org\/wiki\/GNOME_Display_Manager\" target=\"_blank\">GDM<\/a>, <a href=\"http:\/\/es.wikipedia.org\/wiki\/KDM\" target=\"_blank\">KDM<\/a> y <a href=\"http:\/\/en.wikipedia.org\/wiki\/XDM\" target=\"_blank\">XDM<\/a>.<\/div>\n<div id=\"_mcePaste\">La <strong>configuraci\u00f3n<\/strong> que sigue, es para <strong>ubuntu 9.10<\/strong>. Probablemente funcione en Ubuntu 10.04. Pero no en anteriores ya que el procedimiento de arranque es distinto.<\/div>\n<div id=\"_mcePaste\">Editamos el fichero \u00a0\/etc\/init\/tty1.conf. Tienes que ser root o usar sudo.<\/div>\n<blockquote>\n<div id=\"_mcePaste\">mc -bse \/etc\/init\/tty1.conf<\/div>\n<\/blockquote>\n<div id=\"_mcePaste\">Cambiamos la \u00faltima l\u00ednea de este archivo para que quede como sigue:<\/div>\n<blockquote>\n<div id=\"_mcePaste\">exec \/bin\/login -f USUARIO &lt; \/dev\/tty1 &gt; \/dev\/tty1 2&gt;&amp;1<\/div>\n<\/blockquote>\n<div id=\"_mcePaste\">Donde USUARIO es el nombre del usuario que queremos que entre directamente.<\/div>\n<div id=\"_mcePaste\">Si reiniciamos deber\u00edamos ver ya si funciona. En el caso de que no, podemos hacer login normalmente con ctrl-alt+tecla funci\u00f3n.<\/div>\n<div id=\"_mcePaste\">Si te ha funcionado ya estamos entrando autom\u00e1ticamente en una consola. Para arrancar el <strong>entorno gr\u00e1fico<\/strong> editamos el fichero oculto en el home del usuario .bashrc y a\u00f1adimos el c\u00f3digo que arranca el entorno gr\u00e1fico.<\/div>\n<blockquote>\n<div id=\"_mcePaste\">if [ $(tty) == \u00ab\/dev\/tty1\u00bb ]; then<\/div>\n<div id=\"_mcePaste\">startx<\/div>\n<div id=\"_mcePaste\">fi<\/div>\n<\/blockquote>\n<div style='text-align:left' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>Hay veces que nos interesa montar un sistema con linux, con el m\u00ednimo software y los m\u00ednimos servicios corriendo posible. Algo que nos podemos ahorrar es el gestor de acceso &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"categories":[25],"tags":[58,376,660],"class_list":["post-858","post","type-post","status-publish","format-standard","hentry","category-linux","tag-configuracion","tag-gdm","tag-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Login automatico en Ubuntu sin usar Gdm\/Kdm\/Xdm (ubuntu 9.10)<\/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:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Login automatico en Ubuntu sin usar Gdm\/Kdm\/Xdm (ubuntu 9.10)\" \/>\n<meta property=\"og:description\" content=\"Hay veces que nos interesa montar un sistema con linux, con el m\u00ednimo software y los m\u00ednimos servicios corriendo posible. Algo que nos podemos ahorrar es el gestor de acceso &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/\" \/>\n<meta property=\"og:site_name\" content=\"Android, administracion de sistemas y seo\" \/>\n<meta property=\"article:published_time\" content=\"2010-06-23T09:24:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2010-06-23T09:24:53+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/soi57.net\/blog\/#\/schema\/person\/9410e0a8d6f61a74f9f82f2229ab79d7\"},\"headline\":\"Login automatico en Ubuntu sin usar Gdm\/Kdm\/Xdm (ubuntu 9.10)\",\"datePublished\":\"2010-06-23T09:24:39+00:00\",\"dateModified\":\"2010-06-23T09:24:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/\"},\"wordCount\":208,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/soi57.net\/blog\/#organization\"},\"keywords\":[\"configuracion\",\"gdm\",\"ubuntu\"],\"articleSection\":[\"linux\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/\",\"url\":\"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/\",\"name\":\"Login automatico en Ubuntu sin usar Gdm\/Kdm\/Xdm (ubuntu 9.10)\",\"isPartOf\":{\"@id\":\"https:\/\/soi57.net\/blog\/#website\"},\"datePublished\":\"2010-06-23T09:24:39+00:00\",\"dateModified\":\"2010-06-23T09:24:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/soi57.net\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Login automatico en Ubuntu sin usar Gdm\/Kdm\/Xdm (ubuntu 9.10)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/soi57.net\/blog\/#website\",\"url\":\"https:\/\/soi57.net\/blog\/\",\"name\":\"Android, administracion de sistemas y seo\",\"description\":\"soi57.net\/blog\",\"publisher\":{\"@id\":\"https:\/\/soi57.net\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/soi57.net\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/soi57.net\/blog\/#organization\",\"name\":\"Soi57.Net\",\"url\":\"https:\/\/soi57.net\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/soi57.net\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/soi57.net\/blog\/wp-content\/logo_soi57.net_half.jpg\",\"contentUrl\":\"https:\/\/soi57.net\/blog\/wp-content\/logo_soi57.net_half.jpg\",\"width\":342,\"height\":77,\"caption\":\"Soi57.Net\"},\"image\":{\"@id\":\"https:\/\/soi57.net\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/soi57.net\/blog\/#\/schema\/person\/9410e0a8d6f61a74f9f82f2229ab79d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/soi57.net\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6e87f10096d6c8f82a9bc2ddc0f3a223?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6e87f10096d6c8f82a9bc2ddc0f3a223?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/soi57.net\"]},false]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Login automatico en Ubuntu sin usar Gdm\/Kdm\/Xdm (ubuntu 9.10)","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:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/","og_locale":"es_ES","og_type":"article","og_title":"Login automatico en Ubuntu sin usar Gdm\/Kdm\/Xdm (ubuntu 9.10)","og_description":"Hay veces que nos interesa montar un sistema con linux, con el m\u00ednimo software y los m\u00ednimos servicios corriendo posible. Algo que nos podemos ahorrar es el gestor de acceso &hellip;","og_url":"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/","og_site_name":"Android, administracion de sistemas y seo","article_published_time":"2010-06-23T09:24:39+00:00","article_modified_time":"2010-06-23T09:24:53+00:00","author":"root","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/#article","isPartOf":{"@id":"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/"},"author":{"name":"root","@id":"https:\/\/soi57.net\/blog\/#\/schema\/person\/9410e0a8d6f61a74f9f82f2229ab79d7"},"headline":"Login automatico en Ubuntu sin usar Gdm\/Kdm\/Xdm (ubuntu 9.10)","datePublished":"2010-06-23T09:24:39+00:00","dateModified":"2010-06-23T09:24:53+00:00","mainEntityOfPage":{"@id":"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/"},"wordCount":208,"commentCount":0,"publisher":{"@id":"https:\/\/soi57.net\/blog\/#organization"},"keywords":["configuracion","gdm","ubuntu"],"articleSection":["linux"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/","url":"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/","name":"Login automatico en Ubuntu sin usar Gdm\/Kdm\/Xdm (ubuntu 9.10)","isPartOf":{"@id":"https:\/\/soi57.net\/blog\/#website"},"datePublished":"2010-06-23T09:24:39+00:00","dateModified":"2010-06-23T09:24:53+00:00","breadcrumb":{"@id":"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/soi57.net\/blog\/login-automatico-en-ubuntu-sin-usar-gdmkdmxdm-ubuntu-9-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/soi57.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Login automatico en Ubuntu sin usar Gdm\/Kdm\/Xdm (ubuntu 9.10)"}]},{"@type":"WebSite","@id":"https:\/\/soi57.net\/blog\/#website","url":"https:\/\/soi57.net\/blog\/","name":"Android, administracion de sistemas y seo","description":"soi57.net\/blog","publisher":{"@id":"https:\/\/soi57.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/soi57.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/soi57.net\/blog\/#organization","name":"Soi57.Net","url":"https:\/\/soi57.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/soi57.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/soi57.net\/blog\/wp-content\/logo_soi57.net_half.jpg","contentUrl":"https:\/\/soi57.net\/blog\/wp-content\/logo_soi57.net_half.jpg","width":342,"height":77,"caption":"Soi57.Net"},"image":{"@id":"https:\/\/soi57.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/soi57.net\/blog\/#\/schema\/person\/9410e0a8d6f61a74f9f82f2229ab79d7","name":"root","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/soi57.net\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6e87f10096d6c8f82a9bc2ddc0f3a223?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6e87f10096d6c8f82a9bc2ddc0f3a223?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/soi57.net"]},false]}},"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"_links":{"self":[{"href":"https:\/\/soi57.net\/blog\/wp-json\/wp\/v2\/posts\/858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soi57.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soi57.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soi57.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soi57.net\/blog\/wp-json\/wp\/v2\/comments?post=858"}],"version-history":[{"count":2,"href":"https:\/\/soi57.net\/blog\/wp-json\/wp\/v2\/posts\/858\/revisions"}],"predecessor-version":[{"id":860,"href":"https:\/\/soi57.net\/blog\/wp-json\/wp\/v2\/posts\/858\/revisions\/860"}],"wp:attachment":[{"href":"https:\/\/soi57.net\/blog\/wp-json\/wp\/v2\/media?parent=858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soi57.net\/blog\/wp-json\/wp\/v2\/categories?post=858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soi57.net\/blog\/wp-json\/wp\/v2\/tags?post=858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}