{"id":273,"date":"2009-07-06T03:00:50","date_gmt":"2009-07-06T08:00:50","guid":{"rendered":"http:\/\/yourlinuxguy.com\/?p=273"},"modified":"2009-07-09T08:36:09","modified_gmt":"2009-07-09T13:36:09","slug":"how-can-i-turn-opensuse-into-a-thin-client-appliance","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=273","title":{"rendered":"How can I turn Opensuse into a thin client appliance?"},"content":{"rendered":"<p>I got this question from my good friend Matt the other day (edited for brevity):<\/p>\n<p><em>I was just thinking about taking an old box or two [&#8230;] and use it as a thin client to connect to [&#8230;] Microsoft Terminal Server.\u00a0 [&#8230;]\u00a0 I know there are RDP clients included with OpenSUSE, but I want to make something seamless, so that \u00a0the machine boots right into it. [&#8230;]\u00a0 Any ideas how I could do that?<\/em><\/p>\n<p>Though I&#8217;d not previously needed that myself, I can see how it could be a clever solution to many problems.\u00a0 It&#8217;s a great way to re-use machines that do not have a chance to be Vista or 7 machines, and have better control over the Windows environment through Terminal Server, etc&#8230;.<\/p>\n<p>Fortunately, it&#8217;s also VERY easy to do in Opensuse. The following examples were all done on Opensuse 11.1 with a Gnome desktop, but should be similar for other distros and such.<\/p>\n<p>Step 1: Enable auto-login for a user<\/p>\n<p>In order to get all the way booted up to the Windows log in, you have to get past the Gnome desktop login.\u00a0 In Suse this is easy; just launch Yast or Yast2, and in &#8220;User and Group Management&#8221;, under &#8220;Expert Options&#8221;, and &#8220;Login Settings&#8221;, check the box for &#8220;Auto Login&#8221;, and select the appropriate user (I assume that user already exists).<\/p>\n<p>Step 2: Create a &#8220;Launcher&#8221;<\/p>\n<p>Here&#8217;s an easy example to create a Launcher (but not the only way!):\u00a0 On the desktop of the auto-login user from Step 1, right-click and choose &#8220;Create Launcher&#8230;&#8221;.\u00a0 For the Name, call it &#8220;autolaunch&#8221; or something. For the Command, enter &#8220;<code>rdesktop -f &lt;hostname or IP&gt;<\/code>&#8221; (of course, without the quotes and specify your hostname or IP).\u00a0 You can even choose and Icon, though you&#8217;ll never see it&#8230;<\/p>\n<p>Step 3: Add Launcher to Main Menu<\/p>\n<p>In the Gnome desktop, click &#8220;Computer&#8221;, and &#8220;Control Panel&#8221;.\u00a0 Then, under &#8220;Look and Feel&#8221;, click &#8220;Main Menu&#8221;.\u00a0 Next, you have to decide which section you want your Launcher under (I chose &#8220;Utilities), and just click-and-drag the item from your desktop into that section.\u00a0 Make sure it has a check mark next to it.<\/p>\n<p>Step 4: Enable Auto-Launch<\/p>\n<p>Now that your Launcher is in the Main Menu, click on &#8220;Computer&#8221; again, and the &#8220;More Applications&#8221; button.\u00a0 Find your Launcher, and right-click on it, and choose &#8220;Add to Startup Programs&#8221;.<\/p>\n<p>That&#8217;s it!\u00a0 Now reboot, go get some coffee, and when you com back you will think you booted into windows.\u00a0 You poor unfortunate soul&#8230;<\/p>\n<p>\ud83d\ude09<\/p>\n<p>Now for some more advanced addendum notes:<\/p>\n<p>Optionally, Step 2 can be side-stepped by just creating the &#8220;New Item&#8221; in Step 3.<\/p>\n<p>&#8230;and\/or&#8230;<\/p>\n<p>Optionally, Step 3 and Step 4 can be side-stepped by just creating and\/or linking the Launcher manually.\u00a0 What I mean is that when you perform step 4, it basically copies your &#8220;launcher&#8221; into a subdirectory in your home directory, for example:<\/p>\n<p><code>\/home\/jpavlov\/.config\/autostart<\/code><\/p>\n<p>The file contents of the file are pretty standard, so you could even build them by hand (thereby skipping Step 3)\u00a0 and distribute them to a bunch of machines with a script (thereby skipping Step 4)&#8230; that way you could easily change the destination server for maintenance, etc&#8230;. Anyway, here are those Launcher file contents:<\/p>\n<p><code>[Desktop Entry]<br \/>\nEncoding=UTF-8<br \/>\nType=Application<br \/>\nExec=rdesktop -f your.server.com<br \/>\nIcon=gnome-panel-launcher<br \/>\nIcon[en_US]=gnome-panel-launcher<br \/>\nName=rdesktop autolaunch<br \/>\nName[en_US]=rdesktop autolaunch<br \/>\nTerminal=false<\/code><\/p>\n<p>I hope that helps!<\/p>\n<p>One funny thing is that I got a follow-up note from Matt, explaining that he decided to use <a title=\"http:\/\/www.thinstation.org\/\" href=\"http:\/\/www.thinstation.org\/\" target=\"_blank\">ThinStation<\/a> in the end anyway, and is quite pleased&#8230;. But I&#8217;ll let him explain to you what he had to go through to make it work in his environment&#8230;<\/p>\n<p>\ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got this question from my good friend Matt the other day (edited for brevity): I was just thinking about taking an old box or two [&#8230;] and use it as a thin client to connect to [&#8230;] Microsoft Terminal&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=273\">Read more<\/a><\/p>\n","protected":false},"author":5,"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":""},"categories":[10,71,15,20],"tags":[],"class_list":["post-273","post","type-post","status-publish","format-standard","hentry","category-introductory","category-rdesktop","category-suse","category-windowsgeneral"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-4p","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=273"}],"version-history":[{"count":5,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/273\/revisions"}],"predecessor-version":[{"id":277,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/273\/revisions\/277"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}