<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>windows subsystem Archives - Tech Chronicles</title>
	<atom:link href="http://kostacipo.stream/tag/windows-subsystem/feed/" rel="self" type="application/rss+xml" />
	<link>https://kostacipo.stream/tag/windows-subsystem/</link>
	<description>Ramblings of a Tech Dude</description>
	<lastBuildDate>Mon, 25 Nov 2019 14:17:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>

<image>
	<url>https://kostacipo.stream/wp-content/uploads/2019/12/cropped-profile-32x32.jpg</url>
	<title>windows subsystem Archives - Tech Chronicles</title>
	<link>https://kostacipo.stream/tag/windows-subsystem/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Run a Linux Desktop Using the Windows Subsystem for Linux</title>
		<link>http://kostacipo.stream/express-your-creativity-through-amazing-tatoo/</link>
					<comments>http://kostacipo.stream/express-your-creativity-through-amazing-tatoo/#respond</comments>
		
		<dc:creator><![CDATA[Majordomo]]></dc:creator>
		<pubDate>Wed, 27 Feb 2019 05:26:35 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[windows subsystem]]></category>
		<guid isPermaLink="false">https://demo.mekshq.com/johannes/dc/?p=226</guid>

					<description><![CDATA[<p>&#160; Running Linux alongside Windows has proven to be increasingly useful over the years. But dual-booting can be difficult to manage while setting up a virtual machine comes some stability issues.One solution is to use the Windows Subsystem for Linux, but this comes without a desktop environment. So, why not just install the Linux distribution [&#8230;]</p>
<p>The post <a href="http://kostacipo.stream/express-your-creativity-through-amazing-tatoo/">How to Run a Linux Desktop Using the Windows Subsystem for Linux</a> appeared first on <a href="http://kostacipo.stream">Tech Chronicles</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>

<p>Running Linux alongside Windows has proven to be increasingly useful over the years. But dual-booting can be difficult to manage while setting up a virtual machine comes some stability issues.<br />One solution is to use the Windows Subsystem for Linux, but this comes without a desktop environment. So, why not just install the Linux distribution you own?<br />Here’s how to run a Linux desktop within Windows using the Windows Subsystem for Linux.</p>
<h2>What Is the Windows Subsystem for Linux?</h2>
<p>In case you were unaware, with the 2018 Fall Creators Update Windows 10 shipped with the Windows Subsystem for Linux. This is an optional feature that can be easily installed, which supports the installation of the Linux operating systems available in the Windows Store.</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter lazy-load" src="https://static.makeuseof.com/wp-content/uploads/2019/03/muo-windows-bash-store-linux.png" alt="Install Linux on Windows" width="670" height="494" data-src="https://static.makeuseof.com/wp-content/uploads/2019/03/muo-windows-bash-store-linux.png" data-loaded="true" /></p>
<p>It basically means that you can open a Linux terminal in Windows and install and run Linux software.</p>
<p>No virtual machine is required and there is no dual booting.</p>
<p>The problem with Windows Subsystem for Linux, however, is that it is purely a command line experience. There is no desktop. For power users, this probably won’t be a problem, but as Linux has a wide selection of desktop environments, it does seem a bit of an oversight.</p>
<p>Fortunately, you can now install a Linux desktop in Windows, as long as you have first set up the Windows Subsystem for Linux.</p>
<h2>Make Sure Windows 10 Is Compatible</h2>
<p>Before proceeding, here’s the important bit: you need to be running a 64-bit version of Windows.</p>
<p>You can check this in <strong>Settings &gt; System &gt; About</strong>, where you’ll find the <strong>System type</strong> entry. To proceed, this should read “64-bit operating system”. If not, and you’re running 64-bit hardware, you’ll need to <a class="no-callout" href="https://www.makeuseof.com/tag/upgrade-32-bit-64-bit-windows-10/">upgrade Windows 10 from 32-bit to 64-bit</a>.</p>
<p><img decoding="async" class="aligncenter lazy-load" src="https://static.makeuseof.com/wp-content/uploads/2019/03/muo-windows-linux-wsl-requirements.png" alt="Check Windows version" width="670" height="515" data-src="//static.makeuseof.com/wp-content/uploads/2019/03/muo-windows-linux-wsl-requirements.png" data-loaded="true" /></p>
<p>Another prerequisite is that you need to be running <strong>Windows 10 build 14393</strong> or later. You can check this in the same About screen, listed under <strong>Windows specifications</strong>. Look for the <strong>OS build</strong>—if it is higher than 14393, you can use the Windows Subsystem for Linux. If not, simply run a Windows Update.</p>
<p class="linked-out">Once Windows 10 is compatible, it’s time to follow our guide to <a href="https://www.makeuseof.com/tag/linux-bash-shell-on-windows-10/">installing the Windows Subsystem for Linux</a>.</p>
<p><span class="link-callout visible"> <span class="link-callout-image"> <span class="link-callout-image-container lazy-load" data-background-image="//static.makeuseof.com/wp-content/uploads/2019/03/linux-bash-shell-windows-297x141.jpg" data-loaded="true"> <a href="https://www.makeuseof.com/tag/linux-bash-shell-on-windows-10/">How to Get the Linux Bash Shell on Windows 10</a> </span> </span> <span class="link-callout-info"> <span class="link-callout-title"> <a href="https://www.makeuseof.com/tag/linux-bash-shell-on-windows-10/">How to Get the Linux Bash Shell on Windows 10</a></span> <span class="link-callout-excerpt">Need to use Linux no time to switch to a different PC or run a VM? Run Linux in Windows 10 with a Bash shell terminal instead!</span> <a class="link-callout-link" href="https://www.makeuseof.com/tag/linux-bash-shell-on-windows-10/">Read More</a> </span> </span></p>
<p>With that set up, it’s time to add a desktop.</p>
<h2>Install a Linux Desktop in Windows</h2>
<p>If you have set up the Windows Subsystem for Linux already, click <strong>Start</strong> and enter <strong>bash</strong>. Click the first option (the bash run command) to start using Linux. The following steps assume you installed Ubuntu as your preferred Linux operating system.</p>
<p>Start by running an update and upgrading Ubuntu:</p>
<pre class="  language-bash"><code class="  language-bash"><span class="token function">sudo</span> apt update
<span class="token function">sudo</span> apt upgrade</code></pre>
<p>While this upgrade is running, head to Sourceforge to download and install the <a href="https://sourceforge.net/projects/vcxsrv/files/latest/download" target="_blank" rel="noopener noreferrer">VcXsrv Windows X Server utility</a>. (Other X Servers are available for Windows, including <a href="https://sourceforge.net/projects/xming/" target="_blank" rel="noopener noreferrer">Xming</a> and <a href="https://mobaxterm.mobatek.net/" target="_blank" rel="noopener noreferrer">MobaXterm</a>. For the remainder of this guide, we’ll be using VcXsrv.)</p>
<p>An X server lets you access a Linux application or desktop environment’s graphic user interface (GUI). Linux systems rely on X for displaying the desktop, but it can also be used across a network.</p>
<p>Ensure your X window server is installed before proceeding. The next step is to install your Linux desktop.</p>
<p>Many <a class="no-callout" href="https://www.makeuseof.com/tag/best-linux-desktop-environments/">Linux desktop environments</a> (LDEs) are available. We’re going to keep things simple and install a lightweight environment called LXDE. To install, input:</p>
<pre class="  language-bash"><code class="  language-bash"><span class="token function">sudo</span> apt <span class="token function">install</span> lxde</code></pre>
<p>Following installation of LXDE, input this command</p>
<pre class="  language-bash"><code class="  language-bash"><span class="token function">export</span> DISPLAY<span class="token operator">=</span>:0
<span class="token function">export</span> LIBGL_ALWAYS_INDIRECT<span class="token operator">=</span>1</code></pre>
<p>This instructs Linux to display the desktop through the X server. So, when you run the X Server program you downloaded above, you’ll see the Linux desktop environment.</p>
<p>We used VcXsrv which features the XLaunch tool. Click this to view the <strong>X Display Settings</strong> window and select <strong>One large window</strong> or <strong>One large window without titlebar</strong>. Look for the <strong>Display number</strong> while you’re there and set it to <strong>0</strong>.</p>
<p><img decoding="async" class="aligncenter lazy-load" src="https://static.makeuseof.com/wp-content/uploads/2019/03/muo-windows-linux-wsl-x-server.png" alt="Set up an X server in Windows" width="497" height="389" data-src="//static.makeuseof.com/wp-content/uploads/2019/03/muo-windows-linux-wsl-x-server.png" data-loaded="true" /></p>
<p>Click <strong>Next</strong>, then select <strong>Start no client</strong> to ensure the XLaunch starts only the server, allowing you to start the Linux desktop later. Click <strong>Next</strong> again, then Finish. You might first like to click <strong>Save configuration</strong> to save it.</p>
<p><img loading="lazy" decoding="async" class="aligncenter lazy-load" src="https://static.makeuseof.com/wp-content/uploads/2019/03/muo-windows-linux-wsl-x-server-conf.png" alt="Configure an X server in Windows" width="496" height="389" data-src="//static.makeuseof.com/wp-content/uploads/2019/03/muo-windows-linux-wsl-x-server-conf.png" data-loaded="true" /></p>
<p>Ready to launch your Linux desktop? In the command line, enter the command to start your preferred LDE. For LXDE, for example, use:</p>
<pre class="  language-bash"><code class="  language-bash">startlxde</code></pre>
<p>The Linux desktop environment should then appear!</p>
<p><img loading="lazy" decoding="async" class="aligncenter lazy-load" src="https://static.makeuseof.com/wp-content/uploads/2019/03/muo-windows-linux-wsl-lxde.png" alt="Linux desktop in Windows" width="670" height="373" data-src="//static.makeuseof.com/wp-content/uploads/2019/03/muo-windows-linux-wsl-lxde.png" data-loaded="true" /></p>
<p>You can now run any of the preinstalled Linux software and even install new apps and utilities.</p>
<h2>Don’t Want a Linux Desktop? Just Install an App</h2>
<p>In addition to installing a Linux desktop, you can simply install a Linux desktop app from Windows 10. This is useful if you consider installing a full desktop for one to be overkill.</p>
<p>For example, to install the Rhythmbox media player and run it in Linux on Windows, use:</p>
<pre class="  language-bash"><code class="  language-bash"><span class="token function">sudo</span> apt <span class="token function">install</span> rhythmbox</code></pre>
<p>Ensure that you have set the export command:</p>
<pre class="  language-bash"><code class="  language-bash"><span class="token function">export</span> DISPLAY<span class="token operator">=</span>:0</code></pre>
<p>Then simply run the app from the Bash prompt:</p>
<pre class="  language-bash"><code class="  language-bash">rhythmbox</code></pre>
<p>The media player will launch, ready for you to browse for a library.</p>
<p><img loading="lazy" decoding="async" class="aligncenter lazy-load" src="https://static.makeuseof.com/wp-content/uploads/2019/03/muo-windows-linux-wsl-rhythmbox.png" alt="Run Linux apps in Windows with Windows Subsystem for Linux" width="670" height="406" data-src="//static.makeuseof.com/wp-content/uploads/2019/03/muo-windows-linux-wsl-rhythmbox.png" data-loaded="true" /></p>
<p>Now, in this case, you would obviously need to add some media files into the Linux environment on your computer. You might do this by installing a browser and downloading files, or simply by hooking up a USB drive with media files on.</p>
<p>After connecting the USB drive, remember to mount it (this example uses D: as the drive letter):</p>
<pre class="  language-bash"><code class="  language-bash"><span class="token function">sudo</span> <span class="token function">mount</span> -t drvfs D: /mnt/d</code></pre>
<p>When you’re done, you’ll need to unmount the drive before removal. This ensures the integrity of the data on the drive.</p>
<pre class="  language-bash"><code class="  language-bash"><span class="token function">sudo</span> <span class="token function">umount</span> /mnt/d</code></pre>
<p>While it’s possible to browse your Windows folders from within the Linux apps, no actual files can be opened. This is a shortcoming of the Windows Subsystem for Linux, albeit one that protects both the Windows and Linux environments from damage.</p>
<h2>Linux in Windows: The Ultimate Convergence!</h2>
<p>The Windows Subsystem for Linux makes it simple to run Linux software on a Windows PC. There’s no need to worry about virtual machines or the pain of dual booting.</p>
<p>With a Linux desktop installed, the convergence is almost complete. It’s a great way to get to grips with Linux from the comfort of the Windows desktop.</p>
<p class="linked-out">Want to learn more? Here’s <a class="no-callout" href="https://www.makeuseof.com/tag/linux-beginners-guide/">how to get started with Linux</a>. And you might also enjoy checking out why <a href="https://www.makeuseof.com/tag/windows-linux-kernel/">Windows shipping the Linux kernel changes everything</a>.</p>

<p>&nbsp;</p><p>The post <a href="http://kostacipo.stream/express-your-creativity-through-amazing-tatoo/">How to Run a Linux Desktop Using the Windows Subsystem for Linux</a> appeared first on <a href="http://kostacipo.stream">Tech Chronicles</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://kostacipo.stream/express-your-creativity-through-amazing-tatoo/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
