Default Ubuntu Desktop with TightVnc and Windows Linux Subsystem The 2019 Stack Overflow Developer Survey Results Are InHow do I install Ubuntu alongside a pre-installed Windows with UEFI?What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?How to install Ubuntu on VirtualBox?Why can't I get a working session with vnc4servertightvncserver on ubuntu 12.04 server with ubuntu-desktop installed no unityhow to start LXDE session automatically after tightvncserver starts to make me able see desktop when connecting to the host via vncclient?How to share current desktop through tightvncUbuntu via (Windows Linux Subsystem) and DockerHow to fix GDBus and xlib error when accessing Ubuntu 16.10 GNOME environment via TightVNCCan't start VNC on Jetson Ubuntu 16.04 (grey screen)After upgrade from 16.04 LTS to 18.04 LTS, display manager fails apparently because of freedesktopubuntu VNC from my iphone Grey screenTightVNC and normal GNOME desktop

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

A poker game description that does not feel gimmicky

Is "plugging out" electronic devices an American expression?

What is the most effective way of iterating a std::vector and why?

Are there incongruent pythagorean triangles with the same perimeter and same area?

Is there any way to tell whether the shot is going to hit you or not?

Why isn't the circumferential light around the M87 black hole's event horizon symmetric?

Why can Shazam fly?

Is there a symbol for a right arrow with a square in the middle?

Can we generate random numbers using irrational numbers like π and e?

Where to refill my bottle in India?

Resizing object distorts it (Illustrator CC 2018)

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

Is bread bad for ducks?

Aging parents with no investments

Multiply Two Integer Polynomials

Earliest use of the term "Galois extension"?

Have you ever entered Singapore using a different passport or name?

How to deal with fear of taking dependencies

What is the meaning of the verb "bear" in this context?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Should I use my personal e-mail address, or my workplace one, when registering to external websites for work purposes?

Shouldn't "much" here be used instead of "more"?

Can a flute soloist sit?



Default Ubuntu Desktop with TightVnc and Windows Linux Subsystem



The 2019 Stack Overflow Developer Survey Results Are InHow do I install Ubuntu alongside a pre-installed Windows with UEFI?What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?How to install Ubuntu on VirtualBox?Why can't I get a working session with vnc4servertightvncserver on ubuntu 12.04 server with ubuntu-desktop installed no unityhow to start LXDE session automatically after tightvncserver starts to make me able see desktop when connecting to the host via vncclient?How to share current desktop through tightvncUbuntu via (Windows Linux Subsystem) and DockerHow to fix GDBus and xlib error when accessing Ubuntu 16.10 GNOME environment via TightVNCCan't start VNC on Jetson Ubuntu 16.04 (grey screen)After upgrade from 16.04 LTS to 18.04 LTS, display manager fails apparently because of freedesktopubuntu VNC from my iphone Grey screenTightVNC and normal GNOME desktop



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















I have successfully installed WLS (ubuntu 18) on windows 10 machine. I want to access its UI features using TightVnc. With default settings the .vnc/xstartup contains the following lines



xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession


and I can connect to it using Tight vnc viewer from windows but the UI looks like
enter image description here
But, I want to use the default desktop that ships with Ubuntu 18. I installed gnome and changed xstartup file to the following (suggested by someone on the web)



#!/bin/sh

#Uncommment this line if using Gnome and your keyboard mappings are incorrect.
#export XKL_XMODMAP_DISABLE=1

# Load X resources (if any)
if [ -r "$HOME/.Xresources" ]
then
xrdb "$HOME/.Xresources"
fi

gnome-session --disable-acceleration-check --session=ubuntu &


But when I start vncserver after making these changes, I am able to connect but it shows a grey screen with no visual controls like
enter image description here
Please note that I had no .Xresources file on my machine so I created an empty one manually but it made no difference. Below is the output of ls /usr/share/xsessions



ubuntu-communitheme-snap.desktop ubuntu.desktop xfce.desktop


I can see some errors in .vnc/CS-63341DT:5.log file. Below are the contents of this file



05/04/19 12:49:17 Xvnc version TightVNC-1.3.10
05/04/19 12:49:17 Copyright (C) 2000-2009 TightVNC Group
05/04/19 12:49:17 Copyright (C) 1999 AT&T Laboratories Cambridge
05/04/19 12:49:17 All Rights Reserved.
05/04/19 12:49:17 See http://www.tightvnc.com/ for information on TightVNC
05/04/19 12:49:17 Desktop name 'X' (CS-63341DT:5)
05/04/19 12:49:17 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
05/04/19 12:49:17 Listening for VNC connections on TCP port 5905
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
gnome-session-binary[1645]: WARNING: Using null backend for session tracking
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
GNOME_KEYRING_CONTROL=/home/adeel/.cache/keyring-FKBRZZ
GNOME_KEYRING_CONTROL=/home/adeel/.cache/keyring-FKBRZZ
GNOME_KEYRING_CONTROL=/home/adeel/.cache/keyring-FKBRZZ
SSH_AUTH_SOCK=/home/adeel/.cache/keyring-FKBRZZ/ssh
Window manager warning: Unsupported session type
gnome-session-binary[1645]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Window manager warning: Unsupported session type
gnome-session-binary[1645]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
gnome-session-binary[1645]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
gnome-session-binary[1645]: CRITICAL: We failed, but the fail whale is dead. Sorry....


What can I do to make default ubuntu 18 deskto work with TightVnc viewer from windows?










share|improve this question















This question has an open bounty worth +50
reputation from Muhammad Adeel Zahid ending ending at 2019-04-15 13:37:40Z">in 5 days.


This question has not received enough attention.






















    3















    I have successfully installed WLS (ubuntu 18) on windows 10 machine. I want to access its UI features using TightVnc. With default settings the .vnc/xstartup contains the following lines



    xrdb $HOME/.Xresources
    xsetroot -solid grey
    #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    #x-window-manager &
    # Fix to make GNOME work
    export XKL_XMODMAP_DISABLE=1
    /etc/X11/Xsession


    and I can connect to it using Tight vnc viewer from windows but the UI looks like
    enter image description here
    But, I want to use the default desktop that ships with Ubuntu 18. I installed gnome and changed xstartup file to the following (suggested by someone on the web)



    #!/bin/sh

    #Uncommment this line if using Gnome and your keyboard mappings are incorrect.
    #export XKL_XMODMAP_DISABLE=1

    # Load X resources (if any)
    if [ -r "$HOME/.Xresources" ]
    then
    xrdb "$HOME/.Xresources"
    fi

    gnome-session --disable-acceleration-check --session=ubuntu &


    But when I start vncserver after making these changes, I am able to connect but it shows a grey screen with no visual controls like
    enter image description here
    Please note that I had no .Xresources file on my machine so I created an empty one manually but it made no difference. Below is the output of ls /usr/share/xsessions



    ubuntu-communitheme-snap.desktop ubuntu.desktop xfce.desktop


    I can see some errors in .vnc/CS-63341DT:5.log file. Below are the contents of this file



    05/04/19 12:49:17 Xvnc version TightVNC-1.3.10
    05/04/19 12:49:17 Copyright (C) 2000-2009 TightVNC Group
    05/04/19 12:49:17 Copyright (C) 1999 AT&T Laboratories Cambridge
    05/04/19 12:49:17 All Rights Reserved.
    05/04/19 12:49:17 See http://www.tightvnc.com/ for information on TightVNC
    05/04/19 12:49:17 Desktop name 'X' (CS-63341DT:5)
    05/04/19 12:49:17 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
    05/04/19 12:49:17 Listening for VNC connections on TCP port 5905
    Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
    Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
    gnome-session-binary[1645]: WARNING: Using null backend for session tracking
    _IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
    GNOME_KEYRING_CONTROL=/home/adeel/.cache/keyring-FKBRZZ
    GNOME_KEYRING_CONTROL=/home/adeel/.cache/keyring-FKBRZZ
    GNOME_KEYRING_CONTROL=/home/adeel/.cache/keyring-FKBRZZ
    SSH_AUTH_SOCK=/home/adeel/.cache/keyring-FKBRZZ/ssh
    Window manager warning: Unsupported session type
    gnome-session-binary[1645]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
    Window manager warning: Unsupported session type
    gnome-session-binary[1645]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
    gnome-session-binary[1645]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
    gnome-session-binary[1645]: CRITICAL: We failed, but the fail whale is dead. Sorry....


    What can I do to make default ubuntu 18 deskto work with TightVnc viewer from windows?










    share|improve this question















    This question has an open bounty worth +50
    reputation from Muhammad Adeel Zahid ending ending at 2019-04-15 13:37:40Z">in 5 days.


    This question has not received enough attention.


















      3












      3








      3


      1






      I have successfully installed WLS (ubuntu 18) on windows 10 machine. I want to access its UI features using TightVnc. With default settings the .vnc/xstartup contains the following lines



      xrdb $HOME/.Xresources
      xsetroot -solid grey
      #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
      #x-window-manager &
      # Fix to make GNOME work
      export XKL_XMODMAP_DISABLE=1
      /etc/X11/Xsession


      and I can connect to it using Tight vnc viewer from windows but the UI looks like
      enter image description here
      But, I want to use the default desktop that ships with Ubuntu 18. I installed gnome and changed xstartup file to the following (suggested by someone on the web)



      #!/bin/sh

      #Uncommment this line if using Gnome and your keyboard mappings are incorrect.
      #export XKL_XMODMAP_DISABLE=1

      # Load X resources (if any)
      if [ -r "$HOME/.Xresources" ]
      then
      xrdb "$HOME/.Xresources"
      fi

      gnome-session --disable-acceleration-check --session=ubuntu &


      But when I start vncserver after making these changes, I am able to connect but it shows a grey screen with no visual controls like
      enter image description here
      Please note that I had no .Xresources file on my machine so I created an empty one manually but it made no difference. Below is the output of ls /usr/share/xsessions



      ubuntu-communitheme-snap.desktop ubuntu.desktop xfce.desktop


      I can see some errors in .vnc/CS-63341DT:5.log file. Below are the contents of this file



      05/04/19 12:49:17 Xvnc version TightVNC-1.3.10
      05/04/19 12:49:17 Copyright (C) 2000-2009 TightVNC Group
      05/04/19 12:49:17 Copyright (C) 1999 AT&T Laboratories Cambridge
      05/04/19 12:49:17 All Rights Reserved.
      05/04/19 12:49:17 See http://www.tightvnc.com/ for information on TightVNC
      05/04/19 12:49:17 Desktop name 'X' (CS-63341DT:5)
      05/04/19 12:49:17 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
      05/04/19 12:49:17 Listening for VNC connections on TCP port 5905
      Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
      Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
      gnome-session-binary[1645]: WARNING: Using null backend for session tracking
      _IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
      GNOME_KEYRING_CONTROL=/home/adeel/.cache/keyring-FKBRZZ
      GNOME_KEYRING_CONTROL=/home/adeel/.cache/keyring-FKBRZZ
      GNOME_KEYRING_CONTROL=/home/adeel/.cache/keyring-FKBRZZ
      SSH_AUTH_SOCK=/home/adeel/.cache/keyring-FKBRZZ/ssh
      Window manager warning: Unsupported session type
      gnome-session-binary[1645]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
      Window manager warning: Unsupported session type
      gnome-session-binary[1645]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
      gnome-session-binary[1645]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
      gnome-session-binary[1645]: CRITICAL: We failed, but the fail whale is dead. Sorry....


      What can I do to make default ubuntu 18 deskto work with TightVnc viewer from windows?










      share|improve this question














      I have successfully installed WLS (ubuntu 18) on windows 10 machine. I want to access its UI features using TightVnc. With default settings the .vnc/xstartup contains the following lines



      xrdb $HOME/.Xresources
      xsetroot -solid grey
      #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
      #x-window-manager &
      # Fix to make GNOME work
      export XKL_XMODMAP_DISABLE=1
      /etc/X11/Xsession


      and I can connect to it using Tight vnc viewer from windows but the UI looks like
      enter image description here
      But, I want to use the default desktop that ships with Ubuntu 18. I installed gnome and changed xstartup file to the following (suggested by someone on the web)



      #!/bin/sh

      #Uncommment this line if using Gnome and your keyboard mappings are incorrect.
      #export XKL_XMODMAP_DISABLE=1

      # Load X resources (if any)
      if [ -r "$HOME/.Xresources" ]
      then
      xrdb "$HOME/.Xresources"
      fi

      gnome-session --disable-acceleration-check --session=ubuntu &


      But when I start vncserver after making these changes, I am able to connect but it shows a grey screen with no visual controls like
      enter image description here
      Please note that I had no .Xresources file on my machine so I created an empty one manually but it made no difference. Below is the output of ls /usr/share/xsessions



      ubuntu-communitheme-snap.desktop ubuntu.desktop xfce.desktop


      I can see some errors in .vnc/CS-63341DT:5.log file. Below are the contents of this file



      05/04/19 12:49:17 Xvnc version TightVNC-1.3.10
      05/04/19 12:49:17 Copyright (C) 2000-2009 TightVNC Group
      05/04/19 12:49:17 Copyright (C) 1999 AT&T Laboratories Cambridge
      05/04/19 12:49:17 All Rights Reserved.
      05/04/19 12:49:17 See http://www.tightvnc.com/ for information on TightVNC
      05/04/19 12:49:17 Desktop name 'X' (CS-63341DT:5)
      05/04/19 12:49:17 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
      05/04/19 12:49:17 Listening for VNC connections on TCP port 5905
      Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
      Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
      gnome-session-binary[1645]: WARNING: Using null backend for session tracking
      _IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
      GNOME_KEYRING_CONTROL=/home/adeel/.cache/keyring-FKBRZZ
      GNOME_KEYRING_CONTROL=/home/adeel/.cache/keyring-FKBRZZ
      GNOME_KEYRING_CONTROL=/home/adeel/.cache/keyring-FKBRZZ
      SSH_AUTH_SOCK=/home/adeel/.cache/keyring-FKBRZZ/ssh
      Window manager warning: Unsupported session type
      gnome-session-binary[1645]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
      Window manager warning: Unsupported session type
      gnome-session-binary[1645]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
      gnome-session-binary[1645]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
      gnome-session-binary[1645]: CRITICAL: We failed, but the fail whale is dead. Sorry....


      What can I do to make default ubuntu 18 deskto work with TightVnc viewer from windows?







      gnome vnc windows-subsystem-for-linux tightvncserver






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 5 at 7:52









      Muhammad Adeel ZahidMuhammad Adeel Zahid

      664




      664






      This question has an open bounty worth +50
      reputation from Muhammad Adeel Zahid ending ending at 2019-04-15 13:37:40Z">in 5 days.


      This question has not received enough attention.








      This question has an open bounty worth +50
      reputation from Muhammad Adeel Zahid ending ending at 2019-04-15 13:37:40Z">in 5 days.


      This question has not received enough attention.






















          1 Answer
          1






          active

          oldest

          votes


















          3














          According to Microsoft WSL is designed only for developers who want to run Linux terminal utilities. This is indicated in this similar question.



          It's been reported that you can obtain possibly successful results by



          1) Installing an Xserver like Xming



          2) Installing the graphical software you wish to run under WSL via apt-get or apt



          3) Exporting your display environment variable with export DISPLAY=:0 every time you want to run a graphical application.



          4) launch a graphical application by typing the name of its executable



          Note:
          This subsystem (WSL) is not capable of running all Linux software, such as 32-bit binaries, or those that require specific Linux kernel services not implemented in WSL.



          It is possible to run some graphical (GUI) applications (such as Mozilla Firefox) by installing an X11 server within the Windows (host) environment (such as VcXsrv or Xming), as mentioned above although not without caveats, such as the lack of audio support or hardware acceleration (resulting in poor graphics performance). Support for OpenCL and CUDA is also not being implemented currently, although it may be implemented in future releases.



          IMHO this exercise is more work than it's worth. The end result suffers from poor graphics performance and I/O bottlenecks. It's far prefereable to simply run Ubuntu on a VM or dual-boot than to deal with the possibility that the Linux system calls an application requires may not be fully supported by the Windows Subsystem for Linux.



          Sources:



          What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?



          How do I install Ubuntu alongside a pre-installed Windows with UEFI?



          https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/



          https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux






          share|improve this answer

























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131379%2fdefault-ubuntu-desktop-with-tightvnc-and-windows-linux-subsystem%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            3














            According to Microsoft WSL is designed only for developers who want to run Linux terminal utilities. This is indicated in this similar question.



            It's been reported that you can obtain possibly successful results by



            1) Installing an Xserver like Xming



            2) Installing the graphical software you wish to run under WSL via apt-get or apt



            3) Exporting your display environment variable with export DISPLAY=:0 every time you want to run a graphical application.



            4) launch a graphical application by typing the name of its executable



            Note:
            This subsystem (WSL) is not capable of running all Linux software, such as 32-bit binaries, or those that require specific Linux kernel services not implemented in WSL.



            It is possible to run some graphical (GUI) applications (such as Mozilla Firefox) by installing an X11 server within the Windows (host) environment (such as VcXsrv or Xming), as mentioned above although not without caveats, such as the lack of audio support or hardware acceleration (resulting in poor graphics performance). Support for OpenCL and CUDA is also not being implemented currently, although it may be implemented in future releases.



            IMHO this exercise is more work than it's worth. The end result suffers from poor graphics performance and I/O bottlenecks. It's far prefereable to simply run Ubuntu on a VM or dual-boot than to deal with the possibility that the Linux system calls an application requires may not be fully supported by the Windows Subsystem for Linux.



            Sources:



            What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?



            How do I install Ubuntu alongside a pre-installed Windows with UEFI?



            https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/



            https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux






            share|improve this answer





























              3














              According to Microsoft WSL is designed only for developers who want to run Linux terminal utilities. This is indicated in this similar question.



              It's been reported that you can obtain possibly successful results by



              1) Installing an Xserver like Xming



              2) Installing the graphical software you wish to run under WSL via apt-get or apt



              3) Exporting your display environment variable with export DISPLAY=:0 every time you want to run a graphical application.



              4) launch a graphical application by typing the name of its executable



              Note:
              This subsystem (WSL) is not capable of running all Linux software, such as 32-bit binaries, or those that require specific Linux kernel services not implemented in WSL.



              It is possible to run some graphical (GUI) applications (such as Mozilla Firefox) by installing an X11 server within the Windows (host) environment (such as VcXsrv or Xming), as mentioned above although not without caveats, such as the lack of audio support or hardware acceleration (resulting in poor graphics performance). Support for OpenCL and CUDA is also not being implemented currently, although it may be implemented in future releases.



              IMHO this exercise is more work than it's worth. The end result suffers from poor graphics performance and I/O bottlenecks. It's far prefereable to simply run Ubuntu on a VM or dual-boot than to deal with the possibility that the Linux system calls an application requires may not be fully supported by the Windows Subsystem for Linux.



              Sources:



              What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?



              How do I install Ubuntu alongside a pre-installed Windows with UEFI?



              https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/



              https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux






              share|improve this answer



























                3












                3








                3







                According to Microsoft WSL is designed only for developers who want to run Linux terminal utilities. This is indicated in this similar question.



                It's been reported that you can obtain possibly successful results by



                1) Installing an Xserver like Xming



                2) Installing the graphical software you wish to run under WSL via apt-get or apt



                3) Exporting your display environment variable with export DISPLAY=:0 every time you want to run a graphical application.



                4) launch a graphical application by typing the name of its executable



                Note:
                This subsystem (WSL) is not capable of running all Linux software, such as 32-bit binaries, or those that require specific Linux kernel services not implemented in WSL.



                It is possible to run some graphical (GUI) applications (such as Mozilla Firefox) by installing an X11 server within the Windows (host) environment (such as VcXsrv or Xming), as mentioned above although not without caveats, such as the lack of audio support or hardware acceleration (resulting in poor graphics performance). Support for OpenCL and CUDA is also not being implemented currently, although it may be implemented in future releases.



                IMHO this exercise is more work than it's worth. The end result suffers from poor graphics performance and I/O bottlenecks. It's far prefereable to simply run Ubuntu on a VM or dual-boot than to deal with the possibility that the Linux system calls an application requires may not be fully supported by the Windows Subsystem for Linux.



                Sources:



                What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?



                How do I install Ubuntu alongside a pre-installed Windows with UEFI?



                https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/



                https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux






                share|improve this answer















                According to Microsoft WSL is designed only for developers who want to run Linux terminal utilities. This is indicated in this similar question.



                It's been reported that you can obtain possibly successful results by



                1) Installing an Xserver like Xming



                2) Installing the graphical software you wish to run under WSL via apt-get or apt



                3) Exporting your display environment variable with export DISPLAY=:0 every time you want to run a graphical application.



                4) launch a graphical application by typing the name of its executable



                Note:
                This subsystem (WSL) is not capable of running all Linux software, such as 32-bit binaries, or those that require specific Linux kernel services not implemented in WSL.



                It is possible to run some graphical (GUI) applications (such as Mozilla Firefox) by installing an X11 server within the Windows (host) environment (such as VcXsrv or Xming), as mentioned above although not without caveats, such as the lack of audio support or hardware acceleration (resulting in poor graphics performance). Support for OpenCL and CUDA is also not being implemented currently, although it may be implemented in future releases.



                IMHO this exercise is more work than it's worth. The end result suffers from poor graphics performance and I/O bottlenecks. It's far prefereable to simply run Ubuntu on a VM or dual-boot than to deal with the possibility that the Linux system calls an application requires may not be fully supported by the Windows Subsystem for Linux.



                Sources:



                What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?



                How do I install Ubuntu alongside a pre-installed Windows with UEFI?



                https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/



                https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 2 days ago

























                answered 2 days ago









                Elder GeekElder Geek

                27.5k1055130




                27.5k1055130



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131379%2fdefault-ubuntu-desktop-with-tightvnc-and-windows-linux-subsystem%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?