{"id":983,"date":"2011-06-24T23:10:32","date_gmt":"2011-06-25T06:10:32","guid":{"rendered":"http:\/\/www.threshold-zero.com\/cblog\/?p=983"},"modified":"2011-06-24T23:10:32","modified_gmt":"2011-06-25T06:10:32","slug":"configuring-a-server-with-ubuntu-desktop","status":"publish","type":"post","link":"https:\/\/www.threshold-zero.com\/cblog\/2011\/06\/configuring-a-server-with-ubuntu-desktop\/","title":{"rendered":"Configuring a Server with Ubuntu Desktop"},"content":{"rendered":"<p>I&#8217;ve been getting an Ubuntu server running recently (FINALLY), and in order to make it run headless (without keyboard, mouse, or monitor), there&#8217;s a few things one needs to do:<\/p>\n<p><strong>1) Enable Auto-Logins (optional)<br \/>\n<\/strong><\/p>\n<p>All depends upon how you set things up, but you may want to run everything easily through a default user account &#8212; just go to &#8220;System &gt; Administration &gt; Login Screen&#8221;<strong>, <\/strong>and set it up.\u00c2\u00a0 (These instructions are for the GUI of Ubuntu, of course &#8212; I&#8217;m not a CLI-queen, and would rather edit things quickly through an interface that I&#8217;m familiar with than search forums for hours trying to find the esoteric commands necessary to do this stuff manually, sorry.)<strong><br \/>\n<\/strong><\/p>\n<p><strong>2) Enabling Networking With Automatic User Login<\/strong><\/p>\n<p>Now, you may have set up automatic logins, but noticed that you always have to enter in your account password manually anyway once your network tries to connect &#8212; took me a while to figure out this one, but just go to &#8220;System &gt; Preferences &gt; Network Connections&#8221;, and in the type of connection you&#8217;ll be using, make sure the option for &#8220;Available to all users&#8221; is selected at the bottom.\u00c2\u00a0 That&#8217;s it.\u00c2\u00a0 I feel dumb for not figuring this out long ago.<strong><\/strong><\/p>\n<p><strong><a href=\"http:\/\/www.threshold-zero.com\/cblog\/wp-content\/uploads\/2011\/06\/ubuntu-server-01-e1308981233667.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-984 alignnone\" title=\"ubuntu-server-01\" src=\"http:\/\/www.threshold-zero.com\/cblog\/wp-content\/uploads\/2011\/06\/ubuntu-server-01-e1308981233667.png\" alt=\"\" width=\"174\" height=\"71\" \/><\/a><br \/>\n<\/strong><\/p>\n<p><strong>3) Enabling VNC to Run Headless<\/strong><\/p>\n<p>As per the instructions I found <a href=\"http:\/\/jakeyoon.com\/2008\/11\/19\/enable-vino-vnc-server-for-login-manager-gdm-in-ubuntu\/\">here<\/a>, you have to<\/p>\n<ol>\n<li>Edit &#8220;\/etc\/gdm\/Init\/Default&#8221; to include the line &#8220;\/usr\/lib\/vino\/vino-server &amp;&#8221; right before &#8220;exit 0&#8221;<\/li>\n<li>Edit &#8220;\/etc\/gdm\/custom.conf&#8221; (or &#8220;\/etc\/gdm\/gdm.conf&#8221; if older than Ubuntu 10.04) and add &#8220;KillInitClients=false&#8221; &#8212; this will prevent any existing VNC clients from being killed if you <em>do<\/em> login on the server physically<\/li>\n<li>Do a &#8220;sudo vino-preferences&#8221; and enable the necessary stuff<\/li>\n<\/ol>\n<p>More to come, including the Minecraft configuration scripts!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been getting an Ubuntu server running recently (FINALLY), and in order to make it run headless (without keyboard, mouse, or monitor), there&#8217;s a few things one needs to do: 1) Enable Auto-Logins (optional) All depends upon how you set things up, but you may want to run everything easily through a default user account [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[96,11,18,15,31],"tags":[],"class_list":["post-983","post","type-post","status-publish","format-standard","hentry","category-computing","category-linux","category-programming","category-science-and-technology","category-ubuntu"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2ZUZG-fR","_links":{"self":[{"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/posts\/983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/comments?post=983"}],"version-history":[{"count":0,"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/posts\/983\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/media?parent=983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/categories?post=983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/tags?post=983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}