Not Able to Run TeamViews on Ubuntu Server 18.04 With Putty

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





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







up vote
-1
down vote

favorite












I am trying to run TeamViewer on Ubuntu Server 18.04 through Putty connection but I am getting following errors. I have already sudo installed Ubuntu Desktop on this server and I am hoping to create a remote connect to the GUI but I am stuck here



a@gisdev05:~$ teamviewer
mkdir: cannot create directory ‘/home/a/.local/share/teamviewer13’: Permission denied
Error: Could not create /home/a/.local/share/teamviewer13/logfiles
mkdir: cannot create directory ‘/home/a/.local/share/teamviewer13’: Permission denied
Error: Could not create /home/a/.local/share/teamviewer13/logfiles
Error: InitDirs failed. (2)

a@gisdev05:~$ ^C


enter image description here



I was however able to run the TeamViewer before running



sudo apt-get install ubuntu-desktop


Can you please let me know how to fix this?







share|improve this question





















  • Did you at some point run teamviewer with sudo? if so you will likely need to re-take ownership of the ./local/share/teamviewer13 directory
    – steeldriver
    Jul 19 at 16:11










  • I tried running teamviewr both with and without sudo. Can you please let me know how to re-take ownership of the ./local/share/teamviewer13 directory
    – Mona Coder
    Jul 19 at 16:13
















up vote
-1
down vote

favorite












I am trying to run TeamViewer on Ubuntu Server 18.04 through Putty connection but I am getting following errors. I have already sudo installed Ubuntu Desktop on this server and I am hoping to create a remote connect to the GUI but I am stuck here



a@gisdev05:~$ teamviewer
mkdir: cannot create directory ‘/home/a/.local/share/teamviewer13’: Permission denied
Error: Could not create /home/a/.local/share/teamviewer13/logfiles
mkdir: cannot create directory ‘/home/a/.local/share/teamviewer13’: Permission denied
Error: Could not create /home/a/.local/share/teamviewer13/logfiles
Error: InitDirs failed. (2)

a@gisdev05:~$ ^C


enter image description here



I was however able to run the TeamViewer before running



sudo apt-get install ubuntu-desktop


Can you please let me know how to fix this?







share|improve this question





















  • Did you at some point run teamviewer with sudo? if so you will likely need to re-take ownership of the ./local/share/teamviewer13 directory
    – steeldriver
    Jul 19 at 16:11










  • I tried running teamviewr both with and without sudo. Can you please let me know how to re-take ownership of the ./local/share/teamviewer13 directory
    – Mona Coder
    Jul 19 at 16:13












up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I am trying to run TeamViewer on Ubuntu Server 18.04 through Putty connection but I am getting following errors. I have already sudo installed Ubuntu Desktop on this server and I am hoping to create a remote connect to the GUI but I am stuck here



a@gisdev05:~$ teamviewer
mkdir: cannot create directory ‘/home/a/.local/share/teamviewer13’: Permission denied
Error: Could not create /home/a/.local/share/teamviewer13/logfiles
mkdir: cannot create directory ‘/home/a/.local/share/teamviewer13’: Permission denied
Error: Could not create /home/a/.local/share/teamviewer13/logfiles
Error: InitDirs failed. (2)

a@gisdev05:~$ ^C


enter image description here



I was however able to run the TeamViewer before running



sudo apt-get install ubuntu-desktop


Can you please let me know how to fix this?







share|improve this question













I am trying to run TeamViewer on Ubuntu Server 18.04 through Putty connection but I am getting following errors. I have already sudo installed Ubuntu Desktop on this server and I am hoping to create a remote connect to the GUI but I am stuck here



a@gisdev05:~$ teamviewer
mkdir: cannot create directory ‘/home/a/.local/share/teamviewer13’: Permission denied
Error: Could not create /home/a/.local/share/teamviewer13/logfiles
mkdir: cannot create directory ‘/home/a/.local/share/teamviewer13’: Permission denied
Error: Could not create /home/a/.local/share/teamviewer13/logfiles
Error: InitDirs failed. (2)

a@gisdev05:~$ ^C


enter image description here



I was however able to run the TeamViewer before running



sudo apt-get install ubuntu-desktop


Can you please let me know how to fix this?









share|improve this question












share|improve this question




share|improve this question








edited Jul 19 at 21:49









slm♦

232k65479649




232k65479649









asked Jul 19 at 16:06









Mona Coder

1041




1041











  • Did you at some point run teamviewer with sudo? if so you will likely need to re-take ownership of the ./local/share/teamviewer13 directory
    – steeldriver
    Jul 19 at 16:11










  • I tried running teamviewr both with and without sudo. Can you please let me know how to re-take ownership of the ./local/share/teamviewer13 directory
    – Mona Coder
    Jul 19 at 16:13
















  • Did you at some point run teamviewer with sudo? if so you will likely need to re-take ownership of the ./local/share/teamviewer13 directory
    – steeldriver
    Jul 19 at 16:11










  • I tried running teamviewr both with and without sudo. Can you please let me know how to re-take ownership of the ./local/share/teamviewer13 directory
    – Mona Coder
    Jul 19 at 16:13















Did you at some point run teamviewer with sudo? if so you will likely need to re-take ownership of the ./local/share/teamviewer13 directory
– steeldriver
Jul 19 at 16:11




Did you at some point run teamviewer with sudo? if so you will likely need to re-take ownership of the ./local/share/teamviewer13 directory
– steeldriver
Jul 19 at 16:11












I tried running teamviewr both with and without sudo. Can you please let me know how to re-take ownership of the ./local/share/teamviewer13 directory
– Mona Coder
Jul 19 at 16:13




I tried running teamviewr both with and without sudo. Can you please let me know how to re-take ownership of the ./local/share/teamviewer13 directory
– Mona Coder
Jul 19 at 16:13










1 Answer
1






active

oldest

votes

















up vote
1
down vote













You inadvertently changed the owner/group on the directory /home/a/.local/share/teamviewer13. You need to fix this as root. You can do this using sudo:



$ sudo chown -R a.a /home/a/.local


-or- to use the user's default group:



$ sudo chown -R a: /home/a/.local


With this you should see this directory listed so that the owner is the user a and the group is also a.



NOTE: Your user a's group may not be a, it might be something else, you can confirm like this:



$ id -a
uid=1000(vagrant) gid=1000(vagrant) groups=1000(vagrant)


Here my user is vagrant, and the group is vagrant. You can confirm your directory ownership like this:



$ cd $HO<E/.config

$ pwd
/home/vagrant/.config

$ ls -l
total 4
drwxrwxr-x 2 vagrant vagrant 4096 Jul 3 22:52 abrt


NOTE: In the above you can see vagrant 2 times. The first is the owner and the second is the group.






share|improve this answer























    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f457258%2fnot-able-to-run-teamviews-on-ubuntu-server-18-04-with-putty%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    You inadvertently changed the owner/group on the directory /home/a/.local/share/teamviewer13. You need to fix this as root. You can do this using sudo:



    $ sudo chown -R a.a /home/a/.local


    -or- to use the user's default group:



    $ sudo chown -R a: /home/a/.local


    With this you should see this directory listed so that the owner is the user a and the group is also a.



    NOTE: Your user a's group may not be a, it might be something else, you can confirm like this:



    $ id -a
    uid=1000(vagrant) gid=1000(vagrant) groups=1000(vagrant)


    Here my user is vagrant, and the group is vagrant. You can confirm your directory ownership like this:



    $ cd $HO<E/.config

    $ pwd
    /home/vagrant/.config

    $ ls -l
    total 4
    drwxrwxr-x 2 vagrant vagrant 4096 Jul 3 22:52 abrt


    NOTE: In the above you can see vagrant 2 times. The first is the owner and the second is the group.






    share|improve this answer



























      up vote
      1
      down vote













      You inadvertently changed the owner/group on the directory /home/a/.local/share/teamviewer13. You need to fix this as root. You can do this using sudo:



      $ sudo chown -R a.a /home/a/.local


      -or- to use the user's default group:



      $ sudo chown -R a: /home/a/.local


      With this you should see this directory listed so that the owner is the user a and the group is also a.



      NOTE: Your user a's group may not be a, it might be something else, you can confirm like this:



      $ id -a
      uid=1000(vagrant) gid=1000(vagrant) groups=1000(vagrant)


      Here my user is vagrant, and the group is vagrant. You can confirm your directory ownership like this:



      $ cd $HO<E/.config

      $ pwd
      /home/vagrant/.config

      $ ls -l
      total 4
      drwxrwxr-x 2 vagrant vagrant 4096 Jul 3 22:52 abrt


      NOTE: In the above you can see vagrant 2 times. The first is the owner and the second is the group.






      share|improve this answer

























        up vote
        1
        down vote










        up vote
        1
        down vote









        You inadvertently changed the owner/group on the directory /home/a/.local/share/teamviewer13. You need to fix this as root. You can do this using sudo:



        $ sudo chown -R a.a /home/a/.local


        -or- to use the user's default group:



        $ sudo chown -R a: /home/a/.local


        With this you should see this directory listed so that the owner is the user a and the group is also a.



        NOTE: Your user a's group may not be a, it might be something else, you can confirm like this:



        $ id -a
        uid=1000(vagrant) gid=1000(vagrant) groups=1000(vagrant)


        Here my user is vagrant, and the group is vagrant. You can confirm your directory ownership like this:



        $ cd $HO<E/.config

        $ pwd
        /home/vagrant/.config

        $ ls -l
        total 4
        drwxrwxr-x 2 vagrant vagrant 4096 Jul 3 22:52 abrt


        NOTE: In the above you can see vagrant 2 times. The first is the owner and the second is the group.






        share|improve this answer















        You inadvertently changed the owner/group on the directory /home/a/.local/share/teamviewer13. You need to fix this as root. You can do this using sudo:



        $ sudo chown -R a.a /home/a/.local


        -or- to use the user's default group:



        $ sudo chown -R a: /home/a/.local


        With this you should see this directory listed so that the owner is the user a and the group is also a.



        NOTE: Your user a's group may not be a, it might be something else, you can confirm like this:



        $ id -a
        uid=1000(vagrant) gid=1000(vagrant) groups=1000(vagrant)


        Here my user is vagrant, and the group is vagrant. You can confirm your directory ownership like this:



        $ cd $HO<E/.config

        $ pwd
        /home/vagrant/.config

        $ ls -l
        total 4
        drwxrwxr-x 2 vagrant vagrant 4096 Jul 3 22:52 abrt


        NOTE: In the above you can see vagrant 2 times. The first is the owner and the second is the group.







        share|improve this answer















        share|improve this answer



        share|improve this answer








        edited Jul 19 at 21:46


























        answered Jul 19 at 20:52









        slm♦

        232k65479649




        232k65479649






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f457258%2fnot-able-to-run-teamviews-on-ubuntu-server-18-04-with-putty%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay