Re: [Unicon-group] Bash on Ubuntu on Windows

2016-09-22 Thread Jafar Al-Gharaibeh
Ah. It is the same error I saw when I ran it a few weeks ago.

On Thu, Sep 22, 2016 at 11:10 AM Sergey Logichev 
wrote:

> I have got the following error:
> gui : error whilst processing object UIDE : couldn't open window
> But DISPLAY is set. The reason in someting else. I don't know.
>
> 22.09.2016, 19:04, "Jafar Al-Gharaibeh" :
>
> I think I did set DISPLAY. Can you run "ui" (under unicon/bin)?
>
>
> On Thu, Sep 22, 2016 at 10:57 AM Sergey Logichev 
> wrote:
>
> Jafar,
>
> Thank you very much! Now I succeed! Graphics is included and working. So I
> could build xmarkup and get graphical output. I use Xming as X Windows
> server too. It's recommended by MS itself. BTW, you need to set DISPLAY
> environemnt variable to open Xming window from bash:
> export DISPLAY=:0.0
>
> Sergey
>
> 22.09.2016, 18:30, "Jafar Al-Gharaibeh" :
>
> Sergey,
>
>   I believe you want to  "apt-get libx11-dev" as I don't think X11-common
> include the development library.  I did configure with graphics a few weeks
> ago on my Windows/Bash, I forgot if I did something else.  The build went
> OK but I coudn't get  (ui) to run out of the box. I didn't try to debug
> further at the time. I used xming as an X server.
>
> --Jafar
>
>
>
> On Thu, Sep 22, 2016 at 10:18 AM Sergey Logichev 
> wrote:
>
> Dick,
> I used sudo actually. I have following output:
>
> slog@G780:~$ sudo apt-get install x11-common
> [sudo] password for slog:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> x11-common is already the newest version.
> x11-common set to manually installed.
> The following package was automatically installed and is no longer
> required:
>   os-prober
> Use 'apt-get autoremove' to remove it.
> 0 upgraded, 0 newly installed, 0 to remove and 53 not upgraded.
>
> It seems as I have X11 installed already.
> Please, try to build Unicon with graphics. What result you will get?
> I used "make X-Configure name=x86_64_linux" to configure.
>
> 22.09.2016, 17:18, "Richard H. McCullough" :
>
> Sergy,
> You must use sudo for apt-get.
> This completed with no errors for me:
>  sudo apt-get install x11-common
>
> Dick McCullough
>
> --
> From: slogic...@yandex.ru
> To: rhmccullo...@outlook.com; unicon-group@lists.sourceforge.net
> Date: Thu, 22 Sep 2016 16:12:11 +0300
> Subject: Re: [Unicon-group] Bash on Ubuntu on Windows
>
> Dick,
> Thank you for such useful comments.
> Do you know how to install X11 binaries on Win10? I discovered that to run
> X11 application from bash you need to instal Xming server from sourceforge.
> That's working, really. But when I try to build Unicon with graphics "make
> X-Configure" says that X11 libraries and headers are missed. "apt-get
> install x11-common" doesn't install anything due to some access error. So,
> now I can use bash only for pre-builded graphical Ubuntu applications.
> Sergey
>
> 22.09.2016, 14:45, "Richard H. McCullough" :
>
> A few comments which you may find useful.
>
> 1. Windows Subsystem for Linux is a beta version, only available in
> Windows 10 version 1607 and later.
> 2. The current version does not allow you to execute Windows .exe files.
>  You can access any Windows files via /mnt/c/, limited by Windows
> permissions.
> 3. The Windows Bash command (C:/Windows/System32/bash.exe) is a little
> different from
>  the Ubuntu bash command (/bin/bash).
>  "bash.exe ~" opens the Bash window in your Ubuntu home directory
> (e.g. /home/rhm)
>  "bash.exe ~ --login" also executes your .profile or .bash_profile
> 4. ssh from a remote machine will put you in your Windows home directory
> (e.g. C:/Users/rhm)
> running the Windows shell (cmd.exe).
> Executing "/windows/system32/bash.exe ~ --login" then works as
> described above.
> If your SSH Server services disappear, you need to rerun the enable
> WSL command in PowerShell.
>
> Dick McCullough
>
>
>
>
> --
> ___
> Unicon-group mailing list
> Unicon-group@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>
> --
>
> -- Sent From My Smartphone
>
> --
>
> -- Sent From My Smartphone
>
> --

-- Sent From My Smartphone
--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-09-22 Thread Sergey Logichev
I have got the following error:gui : error whilst processing object UIDE : couldn't open windowBut DISPLAY is set. The reason in someting else. I don't know. 22.09.2016, 19:04, "Jafar Al-Gharaibeh" :I think I did set DISPLAY. Can you run "ui" (under unicon/bin)?  On Thu, Sep 22, 2016 at 10:57 AM Sergey Logichev <slogic...@yandex.ru> wrote:Jafar, Thank you very much! Now I succeed! Graphics is included and working. So I could build xmarkup and get graphical output. I use Xming as X Windows server too. It's recommended by MS itself. BTW, you need to set DISPLAY environemnt variable to open Xming window from bash:export DISPLAY=:0.0 Sergey 22.09.2016, 18:30, "Jafar Al-Gharaibeh" <to.ja...@gmail.com>:Sergey,   I believe you want to  "apt-get libx11-dev" as I don't think X11-common include the development library.  I did configure with graphics a few weeks ago on my Windows/Bash, I forgot if I did something else.  The build went OK but I coudn't get  (ui) to run out of the box. I didn't try to debug further at the time. I used xming as an X server. --Jafar   On Thu, Sep 22, 2016 at 10:18 AM Sergey Logichev <slogic...@yandex.ru> wrote:Dick,I used sudo actually. I have following output: slog@G780:~$ sudo apt-get install x11-common[sudo] password for slog:Reading package lists... DoneBuilding dependency treeReading state information... Donex11-common is already the newest version.x11-common set to manually installed.The following package was automatically installed and is no longer required:  os-proberUse 'apt-get autoremove' to remove it.0 upgraded, 0 newly installed, 0 to remove and 53 not upgraded. It seems as I have X11 installed already.Please, try to build Unicon with graphics. What result you will get?I used "make X-Configure name=x86_64_linux" to configure. 22.09.2016, 17:18, "Richard H. McCullough" <r...@pioneerca.com>:Sergy,You must use sudo for apt-get.This completed with no errors for me: sudo apt-get install x11-commonDick McCullough From: slogic...@yandex.ruTo: rhmccullo...@outlook.com; unicon-group@lists.sourceforge.netDate: Thu, 22 Sep 2016 16:12:11 +0300Subject: Re: [Unicon-group] Bash on Ubuntu on Windows Dick,Thank you for such useful comments.Do you know how to install X11 binaries on Win10? I discovered that to run X11 application from bash you need to instal Xming server from sourceforge. That's working, really. But when I try to build Unicon with graphics "make X-Configure" says that X11 libraries and headers are missed. "apt-get install x11-common" doesn't install anything due to some access error. So, now I can use bash only for pre-builded graphical Ubuntu applications.Sergey 22.09.2016, 14:45, "Richard H. McCullough" <rhmccullo...@outlook.com>:A few comments which you may find useful. 1. Windows Subsystem for Linux is a beta version, only available in Windows 10 version 1607 and later.2. The current version does not allow you to execute Windows .exe files. You can access any Windows files via /mnt/c/, limited by Windows permissions.3. The Windows Bash command (C:/Windows/System32/bash.exe) is a little different from the Ubuntu bash command (/bin/bash). "bash.exe ~" opens the Bash window in your Ubuntu home directory (e.g. /home/rhm) "bash.exe ~ --login" also executes your .profile or .bash_profile4. ssh from a remote machine will put you in your Windows home directory (e.g. C:/Users/rhm)    running the Windows shell (cmd.exe).    Executing "/windows/system32/bash.exe ~ --login" then works as described above.    If your SSH Server services disappear, you need to rerun the enable WSL command in PowerShell.Dick McCullough  --___Unicon-group mailing listUnicon-group@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/unicon-group Sent From My Smartphone Sent From My Smartphone--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-09-22 Thread Jafar Al-Gharaibeh
I think I did set DISPLAY. Can you run "ui" (under unicon/bin)?


On Thu, Sep 22, 2016 at 10:57 AM Sergey Logichev 
wrote:

> Jafar,
>
> Thank you very much! Now I succeed! Graphics is included and working. So I
> could build xmarkup and get graphical output. I use Xming as X Windows
> server too. It's recommended by MS itself. BTW, you need to set DISPLAY
> environemnt variable to open Xming window from bash:
> export DISPLAY=:0.0
>
> Sergey
>
> 22.09.2016, 18:30, "Jafar Al-Gharaibeh" :
>
> Sergey,
>
>   I believe you want to  "apt-get libx11-dev" as I don't think X11-common
> include the development library.  I did configure with graphics a few weeks
> ago on my Windows/Bash, I forgot if I did something else.  The build went
> OK but I coudn't get  (ui) to run out of the box. I didn't try to debug
> further at the time. I used xming as an X server.
>
> --Jafar
>
>
>
> On Thu, Sep 22, 2016 at 10:18 AM Sergey Logichev 
> wrote:
>
> Dick,
> I used sudo actually. I have following output:
>
> slog@G780:~$ sudo apt-get install x11-common
> [sudo] password for slog:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> x11-common is already the newest version.
> x11-common set to manually installed.
> The following package was automatically installed and is no longer
> required:
>   os-prober
> Use 'apt-get autoremove' to remove it.
> 0 upgraded, 0 newly installed, 0 to remove and 53 not upgraded.
>
> It seems as I have X11 installed already.
> Please, try to build Unicon with graphics. What result you will get?
> I used "make X-Configure name=x86_64_linux" to configure.
>
> 22.09.2016, 17:18, "Richard H. McCullough" :
>
> Sergy,
> You must use sudo for apt-get.
> This completed with no errors for me:
>  sudo apt-get install x11-common
>
> Dick McCullough
>
> --
> From: slogic...@yandex.ru
> To: rhmccullo...@outlook.com; unicon-group@lists.sourceforge.net
> Date: Thu, 22 Sep 2016 16:12:11 +0300
> Subject: Re: [Unicon-group] Bash on Ubuntu on Windows
>
> Dick,
> Thank you for such useful comments.
> Do you know how to install X11 binaries on Win10? I discovered that to run
> X11 application from bash you need to instal Xming server from sourceforge.
> That's working, really. But when I try to build Unicon with graphics "make
> X-Configure" says that X11 libraries and headers are missed. "apt-get
> install x11-common" doesn't install anything due to some access error. So,
> now I can use bash only for pre-builded graphical Ubuntu applications.
> Sergey
>
> 22.09.2016, 14:45, "Richard H. McCullough" :
>
> A few comments which you may find useful.
>
> 1. Windows Subsystem for Linux is a beta version, only available in
> Windows 10 version 1607 and later.
> 2. The current version does not allow you to execute Windows .exe files.
>  You can access any Windows files via /mnt/c/, limited by Windows
> permissions.
> 3. The Windows Bash command (C:/Windows/System32/bash.exe) is a little
> different from
>  the Ubuntu bash command (/bin/bash).
>  "bash.exe ~" opens the Bash window in your Ubuntu home directory
> (e.g. /home/rhm)
>  "bash.exe ~ --login" also executes your .profile or .bash_profile
> 4. ssh from a remote machine will put you in your Windows home directory
> (e.g. C:/Users/rhm)
> running the Windows shell (cmd.exe).
> Executing "/windows/system32/bash.exe ~ --login" then works as
> described above.
> If your SSH Server services disappear, you need to rerun the enable
> WSL command in PowerShell.
>
> Dick McCullough
>
>
>
>
> --
> ___
> Unicon-group mailing list
> Unicon-group@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>
> --
>
> -- Sent From My Smartphone
>
> --

-- Sent From My Smartphone
--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-09-22 Thread Sergey Logichev
Jafar, Thank you very much! Now I succeed! Graphics is included and working. So I could build xmarkup and get graphical output. I use Xming as X Windows server too. It's recommended by MS itself. BTW, you need to set DISPLAY environemnt variable to open Xming window from bash:export DISPLAY=:0.0 Sergey 22.09.2016, 18:30, "Jafar Al-Gharaibeh" :Sergey,   I believe you want to  "apt-get libx11-dev" as I don't think X11-common include the development library.  I did configure with graphics a few weeks ago on my Windows/Bash, I forgot if I did something else.  The build went OK but I coudn't get  (ui) to run out of the box. I didn't try to debug further at the time. I used xming as an X server. --Jafar   On Thu, Sep 22, 2016 at 10:18 AM Sergey Logichev <slogic...@yandex.ru> wrote:Dick,I used sudo actually. I have following output: slog@G780:~$ sudo apt-get install x11-common[sudo] password for slog:Reading package lists... DoneBuilding dependency treeReading state information... Donex11-common is already the newest version.x11-common set to manually installed.The following package was automatically installed and is no longer required:  os-proberUse 'apt-get autoremove' to remove it.0 upgraded, 0 newly installed, 0 to remove and 53 not upgraded. It seems as I have X11 installed already.Please, try to build Unicon with graphics. What result you will get?I used "make X-Configure name=x86_64_linux" to configure. 22.09.2016, 17:18, "Richard H. McCullough" <r...@pioneerca.com>:Sergy,You must use sudo for apt-get.This completed with no errors for me: sudo apt-get install x11-commonDick McCullough From: slogic...@yandex.ruTo: rhmccullo...@outlook.com; unicon-group@lists.sourceforge.netDate: Thu, 22 Sep 2016 16:12:11 +0300Subject: Re: [Unicon-group] Bash on Ubuntu on Windows Dick,Thank you for such useful comments.Do you know how to install X11 binaries on Win10? I discovered that to run X11 application from bash you need to instal Xming server from sourceforge. That's working, really. But when I try to build Unicon with graphics "make X-Configure" says that X11 libraries and headers are missed. "apt-get install x11-common" doesn't install anything due to some access error. So, now I can use bash only for pre-builded graphical Ubuntu applications.Sergey 22.09.2016, 14:45, "Richard H. McCullough" <rhmccullo...@outlook.com>:A few comments which you may find useful. 1. Windows Subsystem for Linux is a beta version, only available in Windows 10 version 1607 and later.2. The current version does not allow you to execute Windows .exe files. You can access any Windows files via /mnt/c/, limited by Windows permissions.3. The Windows Bash command (C:/Windows/System32/bash.exe) is a little different from the Ubuntu bash command (/bin/bash). "bash.exe ~" opens the Bash window in your Ubuntu home directory (e.g. /home/rhm) "bash.exe ~ --login" also executes your .profile or .bash_profile4. ssh from a remote machine will put you in your Windows home directory (e.g. C:/Users/rhm)    running the Windows shell (cmd.exe).    Executing "/windows/system32/bash.exe ~ --login" then works as described above.    If your SSH Server services disappear, you need to rerun the enable WSL command in PowerShell.Dick McCullough  --___Unicon-group mailing listUnicon-group@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/unicon-group Sent From My Smartphone--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-09-22 Thread Jafar Al-Gharaibeh
Sergey,

  I believe you want to  "apt-get libx11-dev" as I don't think X11-common
include the development library.  I did configure with graphics a few weeks
ago on my Windows/Bash, I forgot if I did something else.  The build went
OK but I coudn't get  (ui) to run out of the box. I didn't try to debug
further at the time. I used xming as an X server.

--Jafar



On Thu, Sep 22, 2016 at 10:18 AM Sergey Logichev 
wrote:

> Dick,
> I used sudo actually. I have following output:
>
> slog@G780:~$ sudo apt-get install x11-common
> [sudo] password for slog:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> x11-common is already the newest version.
> x11-common set to manually installed.
> The following package was automatically installed and is no longer
> required:
>   os-prober
> Use 'apt-get autoremove' to remove it.
> 0 upgraded, 0 newly installed, 0 to remove and 53 not upgraded.
>
> It seems as I have X11 installed already.
> Please, try to build Unicon with graphics. What result you will get?
> I used "make X-Configure name=x86_64_linux" to configure.
>
> 22.09.2016, 17:18, "Richard H. McCullough" :
>
> Sergy,
> You must use sudo for apt-get.
> This completed with no errors for me:
>  sudo apt-get install x11-common
>
> Dick McCullough
>
> --
> From: slogic...@yandex.ru
> To: rhmccullo...@outlook.com; unicon-group@lists.sourceforge.net
> Date: Thu, 22 Sep 2016 16:12:11 +0300
> Subject: Re: [Unicon-group] Bash on Ubuntu on Windows
>
> Dick,
> Thank you for such useful comments.
> Do you know how to install X11 binaries on Win10? I discovered that to run
> X11 application from bash you need to instal Xming server from sourceforge.
> That's working, really. But when I try to build Unicon with graphics "make
> X-Configure" says that X11 libraries and headers are missed. "apt-get
> install x11-common" doesn't install anything due to some access error. So,
> now I can use bash only for pre-builded graphical Ubuntu applications.
> Sergey
>
> 22.09.2016, 14:45, "Richard H. McCullough" :
>
> A few comments which you may find useful.
>
> 1. Windows Subsystem for Linux is a beta version, only available in
> Windows 10 version 1607 and later.
> 2. The current version does not allow you to execute Windows .exe files.
>  You can access any Windows files via /mnt/c/, limited by Windows
> permissions.
> 3. The Windows Bash command (C:/Windows/System32/bash.exe) is a little
> different from
>  the Ubuntu bash command (/bin/bash).
>  "bash.exe ~" opens the Bash window in your Ubuntu home directory
> (e.g. /home/rhm)
>  "bash.exe ~ --login" also executes your .profile or .bash_profile
> 4. ssh from a remote machine will put you in your Windows home directory
> (e.g. C:/Users/rhm)
> running the Windows shell (cmd.exe).
> Executing "/windows/system32/bash.exe ~ --login" then works as
> described above.
> If your SSH Server services disappear, you need to rerun the enable
> WSL command in PowerShell.
>
> Dick McCullough
>
>
>
>
> --
> ___
> Unicon-group mailing list
> Unicon-group@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>
-- 

-- Sent From My Smartphone
--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-09-22 Thread Sergey Logichev
Dick,I used sudo actually. I have following output: slog@G780:~$ sudo apt-get install x11-common[sudo] password for slog:Reading package lists... DoneBuilding dependency treeReading state information... Donex11-common is already the newest version.x11-common set to manually installed.The following package was automatically installed and is no longer required:  os-proberUse 'apt-get autoremove' to remove it.0 upgraded, 0 newly installed, 0 to remove and 53 not upgraded. It seems as I have X11 installed already.Please, try to build Unicon with graphics. What result you will get?I used "make X-Configure name=x86_64_linux" to configure. 22.09.2016, 17:18, "Richard H. McCullough" :Sergy,You must use sudo for apt-get.This completed with no errors for me: sudo apt-get install x11-commonDick McCullough From: slogic...@yandex.ruTo: rhmccullo...@outlook.com; unicon-group@lists.sourceforge.netDate: Thu, 22 Sep 2016 16:12:11 +0300Subject: Re: [Unicon-group] Bash on Ubuntu on Windows Dick,Thank you for such useful comments.Do you know how to install X11 binaries on Win10? I discovered that to run X11 application from bash you need to instal Xming server from sourceforge. That's working, really. But when I try to build Unicon with graphics "make X-Configure" says that X11 libraries and headers are missed. "apt-get install x11-common" doesn't install anything due to some access error. So, now I can use bash only for pre-builded graphical Ubuntu applications.Sergey 22.09.2016, 14:45, "Richard H. McCullough" <rhmccullo...@outlook.com>:A few comments which you may find useful. 1. Windows Subsystem for Linux is a beta version, only available in Windows 10 version 1607 and later.2. The current version does not allow you to execute Windows .exe files. You can access any Windows files via /mnt/c/, limited by Windows permissions.3. The Windows Bash command (C:/Windows/System32/bash.exe) is a little different from the Ubuntu bash command (/bin/bash). "bash.exe ~" opens the Bash window in your Ubuntu home directory (e.g. /home/rhm) "bash.exe ~ --login" also executes your .profile or .bash_profile4. ssh from a remote machine will put you in your Windows home directory (e.g. C:/Users/rhm)    running the Windows shell (cmd.exe).    Executing "/windows/system32/bash.exe ~ --login" then works as described above.    If your SSH Server services disappear, you need to rerun the enable WSL command in PowerShell.Dick McCullough  --
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-09-22 Thread Richard H. McCullough
Sergy,You must use sudo for apt-get.This completed with no errors for me: 
sudo apt-get install x11-common

Dick McCullough

From: slogic...@yandex.ru
To: rhmccullo...@outlook.com; unicon-group@lists.sourceforge.net
Date: Thu, 22 Sep 2016 16:12:11 +0300
Subject: Re: [Unicon-group] Bash on Ubuntu on Windows

Dick,Thank you for such useful comments.Do you know how to install X11 binaries 
on Win10? I discovered that to run X11 application from bash you need to instal 
Xming server from sourceforge. That's working, really. But when I try to build 
Unicon with graphics "make X-Configure" says that X11 libraries and headers are 
missed. "apt-get install x11-common" doesn't install anything due to some 
access error. So, now I can use bash only for pre-builded graphical Ubuntu 
applications.Sergey 22.09.2016, 14:45, "Richard H. McCullough" 
:A few comments which you may find useful. 1. Windows 
Subsystem for Linux is a beta version, only available in Windows 10 version 
1607 and later.2. The current version does not allow you to execute Windows 
.exe files. You can access any Windows files via /mnt/c/, limited by 
Windows permissions.3. The Windows Bash command (C:/Windows/System32/bash.exe) 
is a little different from the Ubuntu bash command (/bin/bash). 
"bash.exe ~" opens the Bash window in your Ubuntu home directory (e.g. 
/home/rhm) "bash.exe ~ --login" also executes your .profile or 
.bash_profile4. ssh from a remote machine will put you in your Windows home 
directory (e.g. C:/Users/rhm)running the Windows shell (cmd.exe).
Executing "/windows/system32/bash.exe ~ --login" then works as described above. 
   If your SSH Server services disappear, you need to rerun the enable WSL 
command in PowerShell.

Dick McCullough 
  --
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-09-22 Thread Sergey Logichev
Dick,Thank you for such useful comments.Do you know how to install X11 binaries on Win10? I discovered that to run X11 application from bash you need to instal Xming server from sourceforge. That's working, really. But when I try to build Unicon with graphics "make X-Configure" says that X11 libraries and headers are missed. "apt-get install x11-common" doesn't install anything due to some access error. So, now I can use bash only for pre-builded graphical Ubuntu applications.Sergey 22.09.2016, 14:45, "Richard H. McCullough" :A few comments which you may find useful. 1. Windows Subsystem for Linux is a beta version, only available in Windows 10 version 1607 and later.2. The current version does not allow you to execute Windows .exe files. You can access any Windows files via /mnt/c/, limited by Windows permissions.3. The Windows Bash command (C:/Windows/System32/bash.exe) is a little different from the Ubuntu bash command (/bin/bash). "bash.exe ~" opens the Bash window in your Ubuntu home directory (e.g. /home/rhm) "bash.exe ~ --login" also executes your .profile or .bash_profile4. ssh from a remote machine will put you in your Windows home directory (e.g. C:/Users/rhm)    running the Windows shell (cmd.exe).    Executing "/windows/system32/bash.exe ~ --login" then works as described above.    If your SSH Server services disappear, you need to rerun the enable WSL command in PowerShell.Dick McCullough ,--,___Unicon-group mailing listUnicon-group@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/unicon-group--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-09-22 Thread Richard H. McCullough
A few comments which you may find useful.
1. Windows Subsystem for Linux is a beta version, only available in Windows 10 
version 1607 and later.2. The current version does not allow you to execute 
Windows .exe files. You can access any Windows files via /mnt/c/, limited 
by Windows permissions.3. The Windows Bash command 
(C:/Windows/System32/bash.exe) is a little different from the Ubuntu bash 
command (/bin/bash). "bash.exe ~" opens the Bash window in your Ubuntu home 
directory (e.g. /home/rhm) "bash.exe ~ --login" also executes your .profile 
or .bash_profile4. ssh from a remote machine will put you in your Windows home 
directory (e.g. C:/Users/rhm)running the Windows shell (cmd.exe).
Executing "/windows/system32/bash.exe ~ --login" then works as described above. 
   If your SSH Server services disappear, you need to rerun the enable WSL 
command in PowerShell.

Dick McCullough

  --
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-09-20 Thread Sergey Logichev
I have just managed to install Ubuntu bash on my Windows 10 Home version 1607 too.After installing gcc (version 4.8.4) I successfully build Unicon from the sources. It seemed to me that make under bash is working 2X or even 3X faster than in native Windows cmd shell. That's great! Now I can quckly switch from Windows environment to Ubuntu for experiments.It should be recommended!Sergey  19.09.2016, 16:36, "Jay Hammond" :  I got Bash going on Windows 10 Pro. The August updates (anniversaryrelease) probably helped.jay--___Unicon-group mailing listUnicon-group@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/unicon-group--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-09-19 Thread Jay Hammond
  I got Bash going  on Windows 10 Pro. The August updates (anniversary 
release) probably helped.

jay



--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-08-26 Thread Richard H. McCullough






Jafar,
Here are some details of my successful installation of bash.
I ran on Windows 10 Pro with Windows Anniversary Update on Lenovo Z570 laptop.
I'm still not sure whether I'm a member of Windows Insider Program or not.I 
never registered, but I clicked on Settings > Windows Insider Program, and 
logged in with my Microsoft Account.Next time I clicked on Windows Insider 
Program it displayed my Windows Insider Account/Microsoft Accountand offered 
option of unlinking my Microsoft Account.
I installed Windows System for Linux after selecting: for Developers > 
Developer Mode.
The first time I executed the enable command in PowerShell it failed.After I 
applied all the items under "for Developers" menu, the enable succeeded.I did 
not turn on the Device Portal.Username/password can be different for 
bash/Ubuntu and Microsoft Account.I don't know if there's any required relation 
to the username/passwordfor the Device Portal.
Executing bash in Command Prompt is done for each Windows user.The first 
execution of bash installs an instance of bash/Ubuntu for that user.

Dick McCullough

 

From: to.ja...@gmail.com
Date: Fri, 26 Aug 2016 16:59:13 +
To: homem...@talktalk.net; unicon-group@lists.sourceforge.net
Subject: Re: [Unicon-group] Bash on Ubuntu on Windows

Jay,
Thanks for the information.  You are right it is still a "beta" feature and not 
everyone can get it. a quick google returned this link dated August 24, 2016:
https://msdn.microsoft.com/en-us/commandline/wsl/install_guide

Here are the prerequisites according to the link:Windows 10 Anniversary Update 
- build 14393Available as of 8/2/2016x64-based processorYour PC must have an 
AMD/Intel x64 compatible CPUYou must be a member of the (free) Windows Insider 
Program (Preferably Fast-Ring)Your PC must be running a 64-bit version of 
Windows 10 Anniversary Update build 14316 or later
So, the main restricting point is that you must register for the Windows 
Insider Program regardless of what the Windows edition you have. They will 
probably keep it that way while it is Beta.
Cheers,Jafar

On Fri, Aug 26, 2016 at 11:37 AM Jay Hammond  wrote:
On 26/08/2016 16:53, Jafar Al-Gharaibeh wrote:

> You still have to install Bash on windows though, but that is just a

> matter of turning the feature on via Windows settings.



My experience suggests Bash on Windows has not been released to everyone.



Today I thought I'd try Bash on Win.



Requirements: you need to have the right updates, and  some other

criteria; it was  "insider track" in March.



I turned developer mode up a notch, then I tried the GUI method. Under

settings; windows features it  did not  show the Linux subsystem as an

option to click.



There's a commandline method. I used powershell (run as administrator)

to run the  enable incantation,  it errored - did not recognise the

feature to be enabled.



These failures were on  Windows 10 home version  Specifically 10.0.10586

Build 10586.



I guess Bash on Win is still in Beta, so not for home users yet. I'll

try it on Win 10 Pro if I can find time to.



I don't need help with this, I just thought you might like to know that

not all Windows 10 versions are equal.



Jay







-- 
-- Sent From My Smartphone


--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group

  --
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-08-26 Thread Jafar Al-Gharaibeh
Jay,

Thanks for the information.  You are right it is still a "beta" feature and
not everyone can get it. a quick google returned this link dated August 24,
2016:

https://msdn.microsoft.com/en-us/commandline/wsl/install_guide

Here are the prerequisites according to the link:

   1. Windows 10 Anniversary Update - build 14393
   Available as of 8/2/2016
   2.

   x64-based processor
   3.

   Your PC must have an AMD/Intel x64 compatible CPU
   4. You must be a member of the (free) Windows Insider Program
    (Preferably Fast-Ring)
   5. Your PC must be running a 64-bit version of Windows 10 Anniversary
   Update build 14316 or later


So, the main restricting point is that you must register for the Windows
Insider Program regardless of what the Windows edition you have. They will
probably keep it that way while it is Beta.

Cheers,
Jafar


On Fri, Aug 26, 2016 at 11:37 AM Jay Hammond  wrote:

> On 26/08/2016 16:53, Jafar Al-Gharaibeh wrote:
> > You still have to install Bash on windows though, but that is just a
> > matter of turning the feature on via Windows settings.
>
> My experience suggests Bash on Windows has not been released to everyone.
>
> Today I thought I'd try Bash on Win.
>
> Requirements: you need to have the right updates, and  some other
> criteria; it was  "insider track" in March.
>
> I turned developer mode up a notch, then I tried the GUI method. Under
> settings; windows features it  did not  show the Linux subsystem as an
> option to click.
>
> There's a commandline method. I used powershell (run as administrator)
> to run the  enable incantation,  it errored - did not recognise the
> feature to be enabled.
>
> These failures were on  Windows 10 home version  Specifically 10.0.10586
> Build 10586.
>
> I guess Bash on Win is still in Beta, so not for home users yet. I'll
> try it on Win 10 Pro if I can find time to.
>
> I don't need help with this, I just thought you might like to know that
> not all Windows 10 versions are equal.
>
> Jay
>
>
>
> --

-- Sent From My Smartphone
--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-08-26 Thread Jay Hammond
On 26/08/2016 16:53, Jafar Al-Gharaibeh wrote:
> You still have to install Bash on windows though, but that is just a 
> matter of turning the feature on via Windows settings. 

My experience suggests Bash on Windows has not been released to everyone.

Today I thought I'd try Bash on Win.

Requirements: you need to have the right updates, and  some other 
criteria; it was  "insider track" in March.

I turned developer mode up a notch, then I tried the GUI method. Under 
settings; windows features it  did not  show the Linux subsystem as an 
option to click.

There's a commandline method. I used powershell (run as administrator) 
to run the  enable incantation,  it errored - did not recognise the 
feature to be enabled.

These failures were on  Windows 10 home version  Specifically 10.0.10586 
Build 10586.

I guess Bash on Win is still in Beta, so not for home users yet. I'll 
try it on Win 10 Pro if I can find time to.

I don't need help with this, I just thought you might like to know that 
not all Windows 10 versions are equal.

Jay




--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-08-26 Thread Jay Hammond
On 26/08/2016 16:53, Jafar Al-Gharaibeh wrote:

> You still have to install Bash on windows though, but that is just a 
> matter of turning the feature on via Windows settings. 

Hi,

"just" - you need to have the right updates, and  some other criteria; 
it was  "insider track" in March


Today I thought I'd try Bash on Win.  I turned developer mode up a 
notch, then I tried the GUI method. Under settings ; windows features 
it  did not  show the linux subsystem as an option to click.

There's a commandline method. I used powershell (run as administrator) 
to run the  enable incantation.  It  did not recognise the feature to be 
enabled. Error messages in red.

These failures were on  Windows 10 home version  Specifically 10.0.10586 
Build 10586, so new enough.

I guess Bash on Win is still in Beta, so not for home users yet. I'll 
try it on Win 10 Pro if I can find time to.

I don't need help with this, I just thought you might like to know that 
not all Windows 10 versions are equal.

Jay


--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


Re: [Unicon-group] Bash on Ubuntu on Windows

2016-08-26 Thread Jafar Al-Gharaibeh
I did enable Bash/Ubuntu subsystem on my Windows 10 laptop a couple of
weeks ago. Inside the Bash shell you get a Linux environment that works and
feels like an Ubuntu Linux environment  (for the most part, try "ip route"
for example ;-) ) , commands, apt-get, the file system, etc.
I was able to build Unicon using the x86_64_linux configuration without any
issues, and it worked just fine. If you want graphics you have to install
an X server like xming, but even then, I couldn't get a Unicon graphical
application to work. There were some errors, but I didn't try to debug
those.

I was hoping that Bash would give us an easy option to build Unicon Windows
binaries without having to worry about mingw/libraries, but that is not
that case. Bash on Windows is its own world, and any binaries produced
within that environment  can (only?) run in a similar environment. Still,
it is an option for people who want to build from sources on Windows
without worrying about mingw and getting the extra libraries. You still
have to install Bash on windows though, but that is just a matter of
turning the feature on via Windows settings.

Cheers,
Jafar


On Fri, Aug 26, 2016 at 8:14 AM Richard H. McCullough 
wrote:

> bash is available in Windows Anniversary Update
> see
> https://msdn.microsoft.com/commandline/wsl/about
>
> Dick McCullough
>
>
> --
> ___
> Unicon-group mailing list
> Unicon-group@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>
-- 

-- Sent From My Smartphone
--
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group


[Unicon-group] Bash on Ubuntu on Windows

2016-08-26 Thread Richard H. McCullough

bash is available in Windows Anniversary 
Updateseehttps://msdn.microsoft.com/commandline/wsl/about

Dick McCullough


  --
___
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group