facebook

Run CodeMix on Ubuntu under WSL (Windows Subsystem for Linux)

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #604341 Reply

    Here is a guide on how to get CodeMix up and running on Ubuntu under WSL:

    Installing dependencies

    Install VcXsrv from https://sourceforge.net/projects/vcxsrv/

    CodeMix requires libgtk2.0-0, libxss1, libasound2 and libgconf-2-4 you can install them with the following command:
    sudo apt-get install libgtk2.0-0 libxss1 libasound2 libgconf-2-4

    Configuring shell

    Add the following at the end of your .bashrc (or .zshrc if using ZSH):

    
    # X Server
    export LIBGL_ALWAYS_INDIRECT=1
    export DISPLAY=0:0
    sudo /etc/init.d/dbus start &> /dev/null
    

    Setting no password access for dbus
    Execute the following command:
    sudo visudo -f /etc/sudoers.d/dbus

    Then paste the following text inside the Nano editor that will launch (Replace ${USERNAME} with your linux username):

    
    ${USERNAME} ALL = (root) NOPASSWD: /etc/init.d/dbus
    

    Close the terminal and open a new one

    Preparing to launch CodeMix

    • On Windows run XLaunch
    • In the dialog, choose Next until you reach the Extra Settings screen, uncheck the “Primary selection” checkbox otherwise everything that gets selected will be copied to the clipboard then click Finish

    At this point the environment should be ready, you can start CodeMix now.

    Cheers,
    Sal

Viewing 1 post (of 1 total)
Reply To: Run CodeMix on Ubuntu under WSL (Windows Subsystem for Linux)

You must be logged in to post in the forum log in