Xubuntu bugs, Samba, sharing services not installed





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







0















Trying to share between 2 xubuntu machines on the same network:



sudo apt install samba from here, sudo apt install system-config-samba from here.



shares-admin from here didn't work initially - "Sharing services are not installed". Tried



sudo apt-get install nfs-kernel-server from here, now means I can open shares-admin, unlock it, try to add folders, and it crashes with




Segmentation fault




Opening Samba from the menu gives:




Failed to execute gksu system-config-samba. Failed to execute child
process "gksu"




sudo apt install gksu



Package gksu is not available




Can't edit the shortcut in the menu because although the icon appears and is clickable, the entry isn't present in menu editor.



sudo system-config-samba



Traceback (most recent call last):



File "/usr/sbin/system-config-samba", line 45, in module



mainWindow.MainWindow(debug_flag)


File "/usr/share/system-config-samba/mainWindow.py", line 121, in init



self.basic_preferences_win = basicPreferencesWin.BasicPreferencesWin(self, self.xml, self.samba_data, self.samba_backend, self.main_window)   


File "/usr/share/system-config-samba/basicPreferencesWin.py", line 97, in
init



self.admin = libuser.admin()


SystemError: could not open configuration file `/etc/libuser.conf': No such file or directory




sudo apt install thunar-shares-plugin



Unable to locate package




sudo /etc/init.d/samba restart



sudo: /etc/init.d/samba: command not found




This folder isn't present.



Does anyone have any tips for how to setup sharing on Xubuntu 18.10 & 18.04? This seems like it should be really simple and has immediately become nightmarish. Thanks.










share|improve this question





























    0















    Trying to share between 2 xubuntu machines on the same network:



    sudo apt install samba from here, sudo apt install system-config-samba from here.



    shares-admin from here didn't work initially - "Sharing services are not installed". Tried



    sudo apt-get install nfs-kernel-server from here, now means I can open shares-admin, unlock it, try to add folders, and it crashes with




    Segmentation fault




    Opening Samba from the menu gives:




    Failed to execute gksu system-config-samba. Failed to execute child
    process "gksu"




    sudo apt install gksu



    Package gksu is not available




    Can't edit the shortcut in the menu because although the icon appears and is clickable, the entry isn't present in menu editor.



    sudo system-config-samba



    Traceback (most recent call last):



    File "/usr/sbin/system-config-samba", line 45, in module



    mainWindow.MainWindow(debug_flag)


    File "/usr/share/system-config-samba/mainWindow.py", line 121, in init



    self.basic_preferences_win = basicPreferencesWin.BasicPreferencesWin(self, self.xml, self.samba_data, self.samba_backend, self.main_window)   


    File "/usr/share/system-config-samba/basicPreferencesWin.py", line 97, in
    init



    self.admin = libuser.admin()


    SystemError: could not open configuration file `/etc/libuser.conf': No such file or directory




    sudo apt install thunar-shares-plugin



    Unable to locate package




    sudo /etc/init.d/samba restart



    sudo: /etc/init.d/samba: command not found




    This folder isn't present.



    Does anyone have any tips for how to setup sharing on Xubuntu 18.10 & 18.04? This seems like it should be really simple and has immediately become nightmarish. Thanks.










    share|improve this question

























      0












      0








      0








      Trying to share between 2 xubuntu machines on the same network:



      sudo apt install samba from here, sudo apt install system-config-samba from here.



      shares-admin from here didn't work initially - "Sharing services are not installed". Tried



      sudo apt-get install nfs-kernel-server from here, now means I can open shares-admin, unlock it, try to add folders, and it crashes with




      Segmentation fault




      Opening Samba from the menu gives:




      Failed to execute gksu system-config-samba. Failed to execute child
      process "gksu"




      sudo apt install gksu



      Package gksu is not available




      Can't edit the shortcut in the menu because although the icon appears and is clickable, the entry isn't present in menu editor.



      sudo system-config-samba



      Traceback (most recent call last):



      File "/usr/sbin/system-config-samba", line 45, in module



      mainWindow.MainWindow(debug_flag)


      File "/usr/share/system-config-samba/mainWindow.py", line 121, in init



      self.basic_preferences_win = basicPreferencesWin.BasicPreferencesWin(self, self.xml, self.samba_data, self.samba_backend, self.main_window)   


      File "/usr/share/system-config-samba/basicPreferencesWin.py", line 97, in
      init



      self.admin = libuser.admin()


      SystemError: could not open configuration file `/etc/libuser.conf': No such file or directory




      sudo apt install thunar-shares-plugin



      Unable to locate package




      sudo /etc/init.d/samba restart



      sudo: /etc/init.d/samba: command not found




      This folder isn't present.



      Does anyone have any tips for how to setup sharing on Xubuntu 18.10 & 18.04? This seems like it should be really simple and has immediately become nightmarish. Thanks.










      share|improve this question














      Trying to share between 2 xubuntu machines on the same network:



      sudo apt install samba from here, sudo apt install system-config-samba from here.



      shares-admin from here didn't work initially - "Sharing services are not installed". Tried



      sudo apt-get install nfs-kernel-server from here, now means I can open shares-admin, unlock it, try to add folders, and it crashes with




      Segmentation fault




      Opening Samba from the menu gives:




      Failed to execute gksu system-config-samba. Failed to execute child
      process "gksu"




      sudo apt install gksu



      Package gksu is not available




      Can't edit the shortcut in the menu because although the icon appears and is clickable, the entry isn't present in menu editor.



      sudo system-config-samba



      Traceback (most recent call last):



      File "/usr/sbin/system-config-samba", line 45, in module



      mainWindow.MainWindow(debug_flag)


      File "/usr/share/system-config-samba/mainWindow.py", line 121, in init



      self.basic_preferences_win = basicPreferencesWin.BasicPreferencesWin(self, self.xml, self.samba_data, self.samba_backend, self.main_window)   


      File "/usr/share/system-config-samba/basicPreferencesWin.py", line 97, in
      init



      self.admin = libuser.admin()


      SystemError: could not open configuration file `/etc/libuser.conf': No such file or directory




      sudo apt install thunar-shares-plugin



      Unable to locate package




      sudo /etc/init.d/samba restart



      sudo: /etc/init.d/samba: command not found




      This folder isn't present.



      Does anyone have any tips for how to setup sharing on Xubuntu 18.10 & 18.04? This seems like it should be really simple and has immediately become nightmarish. Thanks.







      networking xubuntu samba nfs thunar






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 7 at 0:59









      dez93_2000dez93_2000

      5471816




      5471816






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Pretty much all of your links are outdated.



          [1] If you really want to use system-config-samba:



          sudo touch /etc/libuser.conf


          Then:



          sudo -H system-config-samba


          [2] If you need to restart any samba services it's:



          sudo service smbd restart 


          [3] Do not use shares-admin



          [4] All the ... um ... stuff you read about changing workgroup names, local master, preferred master, etc.. is irrelevant when using samba in an all Linux network since it's not using NetBIOS. It uses mDNS ( Avahi ) and samba will automatically register itself to the rest of the network using it.






          share|improve this answer
























          • useful intel, thanks. Before I try the above, your tone (already hard to be sure in text) suggests system-samba-config - and possible others - are outdated. Is there a better way of doing things than the method you've advised above? NFS? help.ubuntu.com/lts/serverguide/network-file-system.html.en

            – dez93_2000
            Apr 7 at 21:43











          • ran into another minefield of issues, requires users & password setups that still don't work, able to access but not write despite setting the permissions accordingly. Now trying linuxuprising.com/2018/11/… Amazed how problematic this is.

            – dez93_2000
            Apr 8 at 0:17











          • I haven't used NFS since the Berlin Wall came down so I can't help you with that. Share access and R/W ability does not necessarily require credentials - it all depends on how you set up the share. If you edit your original post by adding the output of the following command I may be able to assist you with that: "testparm -s" As far and users and passwords remember that unlike Windows in Samba there are two passwords for every user: The local login password and the samba password. You set the samba password with this command: "sudo smbpasswd -a user-name"

            – Morbius1
            Apr 8 at 11:42












          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%2f1131770%2fxubuntu-bugs-samba-sharing-services-not-installed%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









          1














          Pretty much all of your links are outdated.



          [1] If you really want to use system-config-samba:



          sudo touch /etc/libuser.conf


          Then:



          sudo -H system-config-samba


          [2] If you need to restart any samba services it's:



          sudo service smbd restart 


          [3] Do not use shares-admin



          [4] All the ... um ... stuff you read about changing workgroup names, local master, preferred master, etc.. is irrelevant when using samba in an all Linux network since it's not using NetBIOS. It uses mDNS ( Avahi ) and samba will automatically register itself to the rest of the network using it.






          share|improve this answer
























          • useful intel, thanks. Before I try the above, your tone (already hard to be sure in text) suggests system-samba-config - and possible others - are outdated. Is there a better way of doing things than the method you've advised above? NFS? help.ubuntu.com/lts/serverguide/network-file-system.html.en

            – dez93_2000
            Apr 7 at 21:43











          • ran into another minefield of issues, requires users & password setups that still don't work, able to access but not write despite setting the permissions accordingly. Now trying linuxuprising.com/2018/11/… Amazed how problematic this is.

            – dez93_2000
            Apr 8 at 0:17











          • I haven't used NFS since the Berlin Wall came down so I can't help you with that. Share access and R/W ability does not necessarily require credentials - it all depends on how you set up the share. If you edit your original post by adding the output of the following command I may be able to assist you with that: "testparm -s" As far and users and passwords remember that unlike Windows in Samba there are two passwords for every user: The local login password and the samba password. You set the samba password with this command: "sudo smbpasswd -a user-name"

            – Morbius1
            Apr 8 at 11:42
















          1














          Pretty much all of your links are outdated.



          [1] If you really want to use system-config-samba:



          sudo touch /etc/libuser.conf


          Then:



          sudo -H system-config-samba


          [2] If you need to restart any samba services it's:



          sudo service smbd restart 


          [3] Do not use shares-admin



          [4] All the ... um ... stuff you read about changing workgroup names, local master, preferred master, etc.. is irrelevant when using samba in an all Linux network since it's not using NetBIOS. It uses mDNS ( Avahi ) and samba will automatically register itself to the rest of the network using it.






          share|improve this answer
























          • useful intel, thanks. Before I try the above, your tone (already hard to be sure in text) suggests system-samba-config - and possible others - are outdated. Is there a better way of doing things than the method you've advised above? NFS? help.ubuntu.com/lts/serverguide/network-file-system.html.en

            – dez93_2000
            Apr 7 at 21:43











          • ran into another minefield of issues, requires users & password setups that still don't work, able to access but not write despite setting the permissions accordingly. Now trying linuxuprising.com/2018/11/… Amazed how problematic this is.

            – dez93_2000
            Apr 8 at 0:17











          • I haven't used NFS since the Berlin Wall came down so I can't help you with that. Share access and R/W ability does not necessarily require credentials - it all depends on how you set up the share. If you edit your original post by adding the output of the following command I may be able to assist you with that: "testparm -s" As far and users and passwords remember that unlike Windows in Samba there are two passwords for every user: The local login password and the samba password. You set the samba password with this command: "sudo smbpasswd -a user-name"

            – Morbius1
            Apr 8 at 11:42














          1












          1








          1







          Pretty much all of your links are outdated.



          [1] If you really want to use system-config-samba:



          sudo touch /etc/libuser.conf


          Then:



          sudo -H system-config-samba


          [2] If you need to restart any samba services it's:



          sudo service smbd restart 


          [3] Do not use shares-admin



          [4] All the ... um ... stuff you read about changing workgroup names, local master, preferred master, etc.. is irrelevant when using samba in an all Linux network since it's not using NetBIOS. It uses mDNS ( Avahi ) and samba will automatically register itself to the rest of the network using it.






          share|improve this answer













          Pretty much all of your links are outdated.



          [1] If you really want to use system-config-samba:



          sudo touch /etc/libuser.conf


          Then:



          sudo -H system-config-samba


          [2] If you need to restart any samba services it's:



          sudo service smbd restart 


          [3] Do not use shares-admin



          [4] All the ... um ... stuff you read about changing workgroup names, local master, preferred master, etc.. is irrelevant when using samba in an all Linux network since it's not using NetBIOS. It uses mDNS ( Avahi ) and samba will automatically register itself to the rest of the network using it.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 7 at 12:49









          Morbius1Morbius1

          1,715138




          1,715138













          • useful intel, thanks. Before I try the above, your tone (already hard to be sure in text) suggests system-samba-config - and possible others - are outdated. Is there a better way of doing things than the method you've advised above? NFS? help.ubuntu.com/lts/serverguide/network-file-system.html.en

            – dez93_2000
            Apr 7 at 21:43











          • ran into another minefield of issues, requires users & password setups that still don't work, able to access but not write despite setting the permissions accordingly. Now trying linuxuprising.com/2018/11/… Amazed how problematic this is.

            – dez93_2000
            Apr 8 at 0:17











          • I haven't used NFS since the Berlin Wall came down so I can't help you with that. Share access and R/W ability does not necessarily require credentials - it all depends on how you set up the share. If you edit your original post by adding the output of the following command I may be able to assist you with that: "testparm -s" As far and users and passwords remember that unlike Windows in Samba there are two passwords for every user: The local login password and the samba password. You set the samba password with this command: "sudo smbpasswd -a user-name"

            – Morbius1
            Apr 8 at 11:42



















          • useful intel, thanks. Before I try the above, your tone (already hard to be sure in text) suggests system-samba-config - and possible others - are outdated. Is there a better way of doing things than the method you've advised above? NFS? help.ubuntu.com/lts/serverguide/network-file-system.html.en

            – dez93_2000
            Apr 7 at 21:43











          • ran into another minefield of issues, requires users & password setups that still don't work, able to access but not write despite setting the permissions accordingly. Now trying linuxuprising.com/2018/11/… Amazed how problematic this is.

            – dez93_2000
            Apr 8 at 0:17











          • I haven't used NFS since the Berlin Wall came down so I can't help you with that. Share access and R/W ability does not necessarily require credentials - it all depends on how you set up the share. If you edit your original post by adding the output of the following command I may be able to assist you with that: "testparm -s" As far and users and passwords remember that unlike Windows in Samba there are two passwords for every user: The local login password and the samba password. You set the samba password with this command: "sudo smbpasswd -a user-name"

            – Morbius1
            Apr 8 at 11:42

















          useful intel, thanks. Before I try the above, your tone (already hard to be sure in text) suggests system-samba-config - and possible others - are outdated. Is there a better way of doing things than the method you've advised above? NFS? help.ubuntu.com/lts/serverguide/network-file-system.html.en

          – dez93_2000
          Apr 7 at 21:43





          useful intel, thanks. Before I try the above, your tone (already hard to be sure in text) suggests system-samba-config - and possible others - are outdated. Is there a better way of doing things than the method you've advised above? NFS? help.ubuntu.com/lts/serverguide/network-file-system.html.en

          – dez93_2000
          Apr 7 at 21:43













          ran into another minefield of issues, requires users & password setups that still don't work, able to access but not write despite setting the permissions accordingly. Now trying linuxuprising.com/2018/11/… Amazed how problematic this is.

          – dez93_2000
          Apr 8 at 0:17





          ran into another minefield of issues, requires users & password setups that still don't work, able to access but not write despite setting the permissions accordingly. Now trying linuxuprising.com/2018/11/… Amazed how problematic this is.

          – dez93_2000
          Apr 8 at 0:17













          I haven't used NFS since the Berlin Wall came down so I can't help you with that. Share access and R/W ability does not necessarily require credentials - it all depends on how you set up the share. If you edit your original post by adding the output of the following command I may be able to assist you with that: "testparm -s" As far and users and passwords remember that unlike Windows in Samba there are two passwords for every user: The local login password and the samba password. You set the samba password with this command: "sudo smbpasswd -a user-name"

          – Morbius1
          Apr 8 at 11:42





          I haven't used NFS since the Berlin Wall came down so I can't help you with that. Share access and R/W ability does not necessarily require credentials - it all depends on how you set up the share. If you edit your original post by adding the output of the following command I may be able to assist you with that: "testparm -s" As far and users and passwords remember that unlike Windows in Samba there are two passwords for every user: The local login password and the samba password. You set the samba password with this command: "sudo smbpasswd -a user-name"

          – Morbius1
          Apr 8 at 11:42


















          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%2f1131770%2fxubuntu-bugs-samba-sharing-services-not-installed%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

          數位音樂下載

          When can things happen in Etherscan, such as the picture below?

          格利澤436b