VSCode installed with Anaconda on Ubuntu 18.04 LTS does not open, permission denied error [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite













This question already has an answer here:



  • Mendeley desktop crash

    1 answer



  • Does a snap for vscode exist?

    2 answers



I just installed VScode with anaconda on Ubuntu 18.04 and after installation it won't open.



I did the same on Ubuntu 16 LTS but it worked fine. I tried to uninstall it from anaconda navigator and install it with this procedure but it's still not working. When I click on the icon just nothing happens.



 code --verbose 

Gtk-Message: 17:32:24.579: Failed to load module "overlay-scrollbar"
Gtk-Message: 17:32:24.621: Failed to load module "canberra-gtk-module" [main 4:32:25 PM] Startup error: ,,
Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/CachedData',Error: EACCES: permission denied,
mkdir '/home/mohsen74x/.config/Code/logs/20180528T173225' [main 4:32:25 PM] Lifecycle#kill()






share|improve this question














marked as duplicate by karel, Amanda, David Foerster, Eric Carvalho, user364819 May 31 at 20:18


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • Any error messages? Try code --verbose.
    – George Udosen
    May 26 at 19:21










  • @GeorgeUdosen code --verbose Gtk-Message: 17:32:24.579: Failed to load module "overlay-scrollbar" Gtk-Message: 17:32:24.621: Failed to load module "canberra-gtk-module" [main 4:32:25 PM] Startup error: ,,Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/CachedData',Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/logs/20180528T173225' [main 4:32:25 PM] Lifecycle#kill() thanks
    – mohsen74persian
    May 28 at 13:06











  • Are you sure you are running with sudo?
    – pro neon
    May 28 at 14:05






  • 1




    vscode should not be run with sudo @proneon
    – George Udosen
    May 28 at 14:06










  • But the message just says " permission denied " .
    – pro neon
    May 28 at 14:07














up vote
0
down vote

favorite













This question already has an answer here:



  • Mendeley desktop crash

    1 answer



  • Does a snap for vscode exist?

    2 answers



I just installed VScode with anaconda on Ubuntu 18.04 and after installation it won't open.



I did the same on Ubuntu 16 LTS but it worked fine. I tried to uninstall it from anaconda navigator and install it with this procedure but it's still not working. When I click on the icon just nothing happens.



 code --verbose 

Gtk-Message: 17:32:24.579: Failed to load module "overlay-scrollbar"
Gtk-Message: 17:32:24.621: Failed to load module "canberra-gtk-module" [main 4:32:25 PM] Startup error: ,,
Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/CachedData',Error: EACCES: permission denied,
mkdir '/home/mohsen74x/.config/Code/logs/20180528T173225' [main 4:32:25 PM] Lifecycle#kill()






share|improve this question














marked as duplicate by karel, Amanda, David Foerster, Eric Carvalho, user364819 May 31 at 20:18


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • Any error messages? Try code --verbose.
    – George Udosen
    May 26 at 19:21










  • @GeorgeUdosen code --verbose Gtk-Message: 17:32:24.579: Failed to load module "overlay-scrollbar" Gtk-Message: 17:32:24.621: Failed to load module "canberra-gtk-module" [main 4:32:25 PM] Startup error: ,,Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/CachedData',Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/logs/20180528T173225' [main 4:32:25 PM] Lifecycle#kill() thanks
    – mohsen74persian
    May 28 at 13:06











  • Are you sure you are running with sudo?
    – pro neon
    May 28 at 14:05






  • 1




    vscode should not be run with sudo @proneon
    – George Udosen
    May 28 at 14:06










  • But the message just says " permission denied " .
    – pro neon
    May 28 at 14:07












up vote
0
down vote

favorite









up vote
0
down vote

favorite












This question already has an answer here:



  • Mendeley desktop crash

    1 answer



  • Does a snap for vscode exist?

    2 answers



I just installed VScode with anaconda on Ubuntu 18.04 and after installation it won't open.



I did the same on Ubuntu 16 LTS but it worked fine. I tried to uninstall it from anaconda navigator and install it with this procedure but it's still not working. When I click on the icon just nothing happens.



 code --verbose 

Gtk-Message: 17:32:24.579: Failed to load module "overlay-scrollbar"
Gtk-Message: 17:32:24.621: Failed to load module "canberra-gtk-module" [main 4:32:25 PM] Startup error: ,,
Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/CachedData',Error: EACCES: permission denied,
mkdir '/home/mohsen74x/.config/Code/logs/20180528T173225' [main 4:32:25 PM] Lifecycle#kill()






share|improve this question















This question already has an answer here:



  • Mendeley desktop crash

    1 answer



  • Does a snap for vscode exist?

    2 answers



I just installed VScode with anaconda on Ubuntu 18.04 and after installation it won't open.



I did the same on Ubuntu 16 LTS but it worked fine. I tried to uninstall it from anaconda navigator and install it with this procedure but it's still not working. When I click on the icon just nothing happens.



 code --verbose 

Gtk-Message: 17:32:24.579: Failed to load module "overlay-scrollbar"
Gtk-Message: 17:32:24.621: Failed to load module "canberra-gtk-module" [main 4:32:25 PM] Startup error: ,,
Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/CachedData',Error: EACCES: permission denied,
mkdir '/home/mohsen74x/.config/Code/logs/20180528T173225' [main 4:32:25 PM] Lifecycle#kill()




This question already has an answer here:



  • Mendeley desktop crash

    1 answer



  • Does a snap for vscode exist?

    2 answers









share|improve this question













share|improve this question




share|improve this question








edited May 28 at 18:53









Zanna

47.8k13116226




47.8k13116226










asked May 26 at 18:48









mohsen74persian

112




112




marked as duplicate by karel, Amanda, David Foerster, Eric Carvalho, user364819 May 31 at 20:18


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by karel, Amanda, David Foerster, Eric Carvalho, user364819 May 31 at 20:18


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.













  • Any error messages? Try code --verbose.
    – George Udosen
    May 26 at 19:21










  • @GeorgeUdosen code --verbose Gtk-Message: 17:32:24.579: Failed to load module "overlay-scrollbar" Gtk-Message: 17:32:24.621: Failed to load module "canberra-gtk-module" [main 4:32:25 PM] Startup error: ,,Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/CachedData',Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/logs/20180528T173225' [main 4:32:25 PM] Lifecycle#kill() thanks
    – mohsen74persian
    May 28 at 13:06











  • Are you sure you are running with sudo?
    – pro neon
    May 28 at 14:05






  • 1




    vscode should not be run with sudo @proneon
    – George Udosen
    May 28 at 14:06










  • But the message just says " permission denied " .
    – pro neon
    May 28 at 14:07
















  • Any error messages? Try code --verbose.
    – George Udosen
    May 26 at 19:21










  • @GeorgeUdosen code --verbose Gtk-Message: 17:32:24.579: Failed to load module "overlay-scrollbar" Gtk-Message: 17:32:24.621: Failed to load module "canberra-gtk-module" [main 4:32:25 PM] Startup error: ,,Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/CachedData',Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/logs/20180528T173225' [main 4:32:25 PM] Lifecycle#kill() thanks
    – mohsen74persian
    May 28 at 13:06











  • Are you sure you are running with sudo?
    – pro neon
    May 28 at 14:05






  • 1




    vscode should not be run with sudo @proneon
    – George Udosen
    May 28 at 14:06










  • But the message just says " permission denied " .
    – pro neon
    May 28 at 14:07















Any error messages? Try code --verbose.
– George Udosen
May 26 at 19:21




Any error messages? Try code --verbose.
– George Udosen
May 26 at 19:21












@GeorgeUdosen code --verbose Gtk-Message: 17:32:24.579: Failed to load module "overlay-scrollbar" Gtk-Message: 17:32:24.621: Failed to load module "canberra-gtk-module" [main 4:32:25 PM] Startup error: ,,Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/CachedData',Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/logs/20180528T173225' [main 4:32:25 PM] Lifecycle#kill() thanks
– mohsen74persian
May 28 at 13:06





@GeorgeUdosen code --verbose Gtk-Message: 17:32:24.579: Failed to load module "overlay-scrollbar" Gtk-Message: 17:32:24.621: Failed to load module "canberra-gtk-module" [main 4:32:25 PM] Startup error: ,,Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/CachedData',Error: EACCES: permission denied, mkdir '/home/mohsen74x/.config/Code/logs/20180528T173225' [main 4:32:25 PM] Lifecycle#kill() thanks
– mohsen74persian
May 28 at 13:06













Are you sure you are running with sudo?
– pro neon
May 28 at 14:05




Are you sure you are running with sudo?
– pro neon
May 28 at 14:05




1




1




vscode should not be run with sudo @proneon
– George Udosen
May 28 at 14:06




vscode should not be run with sudo @proneon
– George Udosen
May 28 at 14:06












But the message just says " permission denied " .
– pro neon
May 28 at 14:07




But the message just says " permission denied " .
– pro neon
May 28 at 14:07










1 Answer
1






active

oldest

votes

















up vote
1
down vote













I fixed it like this:



sudo apt-get install --reinstall overlay-scrollbar-gtk2
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module


and for permission:



sudo chown -R mohsen74x:staff /home/mohsen74x/.config/Code


this solved my problem.






share|improve this answer





























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    I fixed it like this:



    sudo apt-get install --reinstall overlay-scrollbar-gtk2
    sudo apt install libcanberra-gtk-module libcanberra-gtk3-module


    and for permission:



    sudo chown -R mohsen74x:staff /home/mohsen74x/.config/Code


    this solved my problem.






    share|improve this answer


























      up vote
      1
      down vote













      I fixed it like this:



      sudo apt-get install --reinstall overlay-scrollbar-gtk2
      sudo apt install libcanberra-gtk-module libcanberra-gtk3-module


      and for permission:



      sudo chown -R mohsen74x:staff /home/mohsen74x/.config/Code


      this solved my problem.






      share|improve this answer
























        up vote
        1
        down vote










        up vote
        1
        down vote









        I fixed it like this:



        sudo apt-get install --reinstall overlay-scrollbar-gtk2
        sudo apt install libcanberra-gtk-module libcanberra-gtk3-module


        and for permission:



        sudo chown -R mohsen74x:staff /home/mohsen74x/.config/Code


        this solved my problem.






        share|improve this answer














        I fixed it like this:



        sudo apt-get install --reinstall overlay-scrollbar-gtk2
        sudo apt install libcanberra-gtk-module libcanberra-gtk3-module


        and for permission:



        sudo chown -R mohsen74x:staff /home/mohsen74x/.config/Code


        this solved my problem.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 28 at 18:54









        Zanna

        47.8k13116226




        47.8k13116226










        answered May 28 at 14:42









        mohsen74persian

        112




        112












            Popular posts from this blog

            Which professions warranted travel in Medieval times?

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Trouble downloading packages list due to a “Hash sum mismatch” error