{"id":7437,"date":"2014-06-19T03:57:28","date_gmt":"2014-06-19T03:57:28","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/06\/19\/consolidating-a-server-and-a-desktop-on-one-machine-closed-collection-of-common-programming-errors\/"},"modified":"2014-06-19T03:57:28","modified_gmt":"2014-06-19T03:57:28","slug":"consolidating-a-server-and-a-desktop-on-one-machine-closed-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/06\/19\/consolidating-a-server-and-a-desktop-on-one-machine-closed-collection-of-common-programming-errors\/","title":{"rendered":"Consolidating a server and a desktop on one machine [closed]-Collection of common programming errors"},"content":{"rendered":"<p>OK, my comment may have been a little subtle &#8212; allow me to clarify my position:<br \/>\n<strong>What you&#8217;re proposing is a <em>BAD<\/em> Idea.<\/strong><\/p>\n<p>Can you do what you propose? Yes (but not with the tools you want to use as far as I know &#8211; KVM is essentially a Linux installation, and anyone on the console is by definition interacting with that Linux installation. To connect them to a GUI on a KVM virtual machine you&#8217;d need a GUI on the server to run VNC or some other console viewer connecting to the VM, at which point you&#8217;re giving them access to the server OS anyway).<\/p>\n<p>Using desktop virtualization technology to make this happen is possible, but you <strong><em>should not<\/em><\/strong> do this.<br \/>\nIf you decide to go that route you would install a <em>workstation OS<\/em> on the host, <em>workstation class virtualization technology<\/em> like VirtualBox or VMWare Player on that OS, and run your server OS inside a VM running in that virtualization software.<\/p>\n<p>Among other problems and pitfalls:<\/p>\n<ul>\n<li>The user whose &#8220;workstation&#8221; is now the server can reboot the host<br \/>\n(crashing the VM server in the process)<\/li>\n<li>Getting your Virtual Server to auto-start on reboot will require some hackery.<\/li>\n<li>Your &#8220;server&#8221; is only as secure as the workstation it runs on<br \/>\n(Do you really want to expose your server&#8217;s security to user activity?)<\/li>\n<li>No sane OS vendor is going to support such a configuration for the &#8220;server&#8221; in production.<\/li>\n<\/ul>\n<p>PCs are <em>dirt cheap<\/em> (you can get decent workstations for less than $500 US, adequate ones can be had in the $300 price range, and tacking on a cheap monitor doesn&#8217;t add much cost above that).<br \/>\nIf security is really a concern (which it seems to be from your second comment) don&#8217;t let your users log in to servers &#8211; keep the two roles distinctly separate.<\/p>\n<p>If you want to consolidate datacenter resources to save money look toward virtualizing your servers using industry-standard server virtualization technology (VMWare ESXi, Hyper-V &#8212; Both free! You can even consolidate with Linux KVM if that makes sense for you).<br \/>\nIf you can free up a physical machine in the process you can give that to your user rather than purchasing a new machine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OK, my comment may have been a little subtle &#8212; allow me to clarify my position: What you&#8217;re proposing is a BAD Idea. Can you do what you propose? Yes (but not with the tools you want to use as far as I know &#8211; KVM is essentially a Linux installation, and anyone on the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7437","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7437"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7437\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}