Windows 10: Installing and Running BASH on Windows 10 (Build 14316)

Page 3 of 4 FirstFirst 1234 LastLast
  1. badrobot's Avatar
    Posts : 4,313
    Win 10 Pro x64
       08 Apr 2016 #21

    I also used "Bash on Ubuntu" window and still okay. I just finished updating both Pi's..


    Click image for larger version. 

Name:	2016_04_08_23_31_531.png 
Views:	7 
Size:	333.3 KB 
ID:	73856
      My ComputerSystem Spec

  2.    08 Apr 2016 #22

    Rocky said: View Post
    I have been using Ubuntu BASH on Windows 10 for a couple of days now, and here are a couple of real quick observations. Contrary to what the OP said, there is no need for SUDO on BASH in Windows 10, when you open BASH you are already root. This is wrong and goes against everything that Ubuntu and Linux in general stands for.
    Remember this is a beta... and root is likely perfectly fine given that it's a virtual environment...

    Rocky said: View Post
    Also, I have used this app to try a lot of different things and some commands just don't work. Like

    top

    it does not do anything in BASH on Windows 10 but it is a handy command in an actual Ubuntu installation.
    I imagine that most tools that deal with processes and what not would not work, or it might be because the tty is not configured in a way that top likes. Remember, it's a beta.

    Rocky said: View Post
    I think that this app is a joke and I can't see any practical use for it, but I am still playing with it to come to grips with its function.
    There are many valid uses I can think of. Windows has had a Subsystem for Unix for years to allow you to run posix commands under Windows. Imagine running perl scripts or python.. without having to rewrite them for Windows...
      My ComputerSystem Spec

  3.    09 Apr 2016 #23

    Hi there
    Can you install services on it -- I'd like to see if the excellent MPD (Music Player Daemon) works -- be great if I could run that from a windows console.

    However installing XRDP on the Linux host and simply accessing the Linux host directly via Windows RDP seems to negate the whole point of Bash on Windows - so is it a really useful function or will it be just a Toy.

    What would be nice if you had a whole Linux Virtualized environment built in including a GUI -- Linux can be made really small so the overhead shouldn't be too much at all.

    Cheers
    jimbo
      My ComputerSystem Spec

  4.    09 Apr 2016 #24

    jimbo45 said: View Post
    Hi there
    Can you install services on it -- I'd like to see if the excellent MPD (Music Player Daemon) works -- be great if I could run that from a windows console.

    However installing XRDP on the Linux host and simply accessing the Linux host directly via Windows RDP seems to negate the whole point of Bash on Windows - so is it a really useful function or will it be just a Toy.

    What would be nice if you had a whole Linux Virtualized environment built in including a GUI -- Linux can be made really small so the overhead shouldn't be too much at all.

    Cheers
    jimbo
    Remote desktop works great if your logging into the full Raspbian on a Pi. Once you install XRDP. If it's running OPENELEC/KODI though, its not so easy, if even possible. I haven't been able to make it work. I only just started trying about 10 min ago. Everything I read says you can't do it from Windows Remote Desktop. I'll have to plug my spare tower in and install the latest preview with BASH and give that a go.
      My ComputerSystem Spec

  5. badrobot's Avatar
    Posts : 4,313
    Win 10 Pro x64
       09 Apr 2016 #25

    jimbo45 said: View Post
    Hi there
    Can you install services on it -- I'd like to see if the excellent MPD (Music Player Daemon) works -- be great if I could run that from a windows console.

    However installing XRDP on the Linux host and simply accessing the Linux host directly via Windows RDP seems to negate the whole point of Bash on Windows - so is it a really useful function or will it be just a Toy.

    What would be nice if you had a whole Linux Virtualized environment built in including a GUI -- Linux can be made really small so the overhead shouldn't be too much at all.

    Cheers
    jimbo



    There's no problem installing services. I was able to install mpc, mpd, moc but it doesn't detect a sound driver. I have yet to go back and try to resolve that. Maybe you can help us figure it out.


    XRDP is good if you are not used to working on terminal screens and you rely on tools and icons (GUI) or if you are using office tools, etc. but SSH can also accomplish a lot if you know what you are doing.
      My ComputerSystem Spec

  6.    10 Apr 2016 #26

    Hi there
    I'll have a go - I'm currently rebuilding a NAS box to use Esxi and a number of VM's this weekend. When I've done that I'll have a go with the latest build. I've got a spare machine I can use for this so it doesn't matter if I totally hose it up.

    Mpd would be great as it can run command line - doesn't need a GUI. I'll see about the sound problem. Be later in the week though -- want to get my NAS server up and running again first.

    Cheers
    jimbo
      My ComputerSystem Spec

  7.    13 May 2016 #27

    Rocky said: View Post
    I have been using Ubuntu BASH on Windows 10 for a couple of days now, and here are a couple of real quick observations. Contrary to what the OP said, there is no need for SUDO on BASH in Windows 10, when you open BASH you are already root. This is wrong and goes against everything that Ubuntu and Linux in general stands for.
    I have just enabled this feature in 14342 and it appears this has changed.

    After downloading Ubuntu from the store it prompts you to create a user and password. When you open bash it no longer opens root@localhost but yourname@yourWindowsPC. And you do have to use sudo now.

    Click image for larger version. 

Name:	sudo.PNG 
Views:	32 
Size:	18.8 KB 
ID:	79493

    However through windows you have full control to %localappdata%\lxss\rootfs so it seems these authorities only apply to the bash side of things.

    Click image for larger version. 

Name:	Authority.PNG 
Views:	35 
Size:	32.1 KB 
ID:	79488
      My ComputerSystem Spec

  8. Cliff S's Avatar
    Posts : 13,912
    Microsoft Windows 10 Pro 64-bit 14393, Windows 10 Insider Fast Ring, Windows 8.1 Update, Ubuntu
       02 Jul 2016 #28

    I found this video today on YouTube:
      My ComputerSystem Spec

  9.    02 Jul 2016 #29

    Cliff S said: View Post
    I found this video today on YouTube:
    Excellent Video, thanks for that. He is great I think.

    It is a shame the whole root directory is in %appdata% as it would be nice if it was shared amongst users but I guess that isn't the point. I also wonder if it is possible to back rootfs up and copy back after a clean install to save re-installing everything - I'll try it I guess.
      My ComputerSystem Spec

  10. Cliff S's Avatar
    Posts : 13,912
    Microsoft Windows 10 Pro 64-bit 14393, Windows 10 Insider Fast Ring, Windows 8.1 Update, Ubuntu
       02 Jul 2016 #30

    lx07 said: View Post
    Excellent Video, thanks for that. He is great I think.

    It is a shame the whole root directory is in %appdata% as it would be nice if it was shared amongst users but I guess that isn't the point. I also wonder if it is possible to back rootfs up and copy back after a clean install to save re-installing everything - I'll try it I guess.
    Try copying it to a Win10 VM or use @Kari's tutorial and create a native boot Win10 vhd: Hyper-V - Native Boot VHD - Windows 10 Forums
    Then if something screws up, just repair bootmgr with Macrium Reflect and delete the vhd
    Excerpt from the tutorial:
    If you are not a Windows Insider but would like to test the latest Windows Insider build to help you decide if opting in to Insider builds would be something for you, you can do it even if you have never had or used Hyper-V or would not even like to set it up.
    You can download free 90 day trial Hyper-V Windows 10 virtual machines from Microsoft, both the latest official release (build 10586 when writing this) and latest Insider build (14366).


    See this thread for download instructions: Windows 10 virtual machines now available on Microsoft Edge Dev - Windows 10 Forums

    You don't have to setup any virtualization software, nor do you need install anything, instead when you have downloaded the vm, mount the VHD it contains as told above and you can dualboot to your chosen Windows 10 build for 90 days, for free

      My ComputerSystem Spec


 
Page 3 of 4 FirstFirst 1234 LastLast

Related Threads
Read more at source Microsoft set to announce bash on Linux running on Windows 10
Read more: Here's how Microsoft will support Bash on Windows 10 | ZDNet See also: Run Bash on Ubuntu on Windows | Building Apps for Windows
Yesterday I was playing Dota2 and everything seemed fine. Afterwards I installed Aptana Studio, Node.js, and some Microsoft Redistributable packages that it said were necessary. Now My entire computer is lagging. I can't figure out why.
Running two Windows 10 in General Support
Is it possible to 64bit on one drive and 32bit on another? I tried and it ran fine for a day or two, then my drives became corrupt.
If you run Stardock Windowblinds then please uninstall it before performing an upgrade installation of Win 10. If you don't then a vertical taskbar configuration may get corrupted. This happened to me and in Win 10 a vertical taskbar takes up...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:20.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums