Setting Shares in XFCE (LinuxLite) & MINT (SOLVED)

Chat about Linux in general
Post Reply
User avatar
lsemmens
Level 6
Level 6
Posts: 1139
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Setting Shares in XFCE (LinuxLite) & MINT (SOLVED)

Post by lsemmens » Sun Oct 14, 2018 12:00 am

EDIT: AS PER ADVICE FURTHER DOWN - changed to Linux Mint XFCE the solution works for Mint, can't say for Lite, but I'd suggest that it would.

Code: Select all

System:    Host: SmallLappie Kernel: 4.15.0-22-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Xfce 4.12.3 (Gtk 2.24.31) Distro: Ubuntu 18.04 LTS
Machine:   Device: laptop System: TOSHIBA product: TOSHIBA NB505 v: PLL50U-01700C serial: N/A
           Mobo: TOSHIBA model: PBU00 v: 1.00 serial: N/A
           BIOS: TOSHIBA v: V2.00 date: 07/09/2012
Battery    BAT1: charge: 20.1 Wh 100.0% condition: 20.1/47.5 Wh (42%)
           model: TOSHIBA PA3820U-1BRS status: N/A
CPU:       Single core Intel Atom N455 (-MT-) 
           arch: Bonnell rev.10 cache: 512 KB
           flags: (lm nx sse sse2 sse3 ssse3) bmips: 3325
           clock speeds: max: 1667 MHz 1: 1241 MHz 2: 1301 MHz
Graphics:  Card: Intel Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: intel (unloaded: modesetting,fbdev,vesa)
           Resolution: 1024x600@60.00hz
           OpenGL: renderer: Mesa DRI Intel Pineview M
           version: 1.4 Mesa 18.0.0-rc5 Direct Render: Yes
Audio:     Card Intel NM10/ICH7 Family High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-22-generic
Network:   Card-1: Realtek RTL8188CE 802.11b/g/n WiFi Adapter
           driver: rtl8192ce port: 2000 bus-ID: 07:00.0
           IF: wlp7s0 state: up mac: <filter>
           Card-2: Realtek RTL8101/2/6E PCIE Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 09:00.0
           IF: enp9s0 state: down mac: <filter>
Drives:    HDD Total Size: 250.1GB (4.6% used)
           ID-1: /dev/sda model: TOSHIBA_MK2575GS size: 250.1GB
Partition: ID-1: / size: 23G used: 6.6G (31%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 206G used: 3.4G (2%) fs: ext4 dev: /dev/sda5
           ID-3: swap-1 size: 0.52GB used: 0.00GB (0%)
           fs: swap dev: /dev/zram0
           ID-4: swap-2 size: 0.52GB used: 0.00GB (0%)
           fs: swap dev: /dev/zram1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 59.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 175 Uptime: 3:08 Memory: 790.2/1983.7MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
I'e set up a small ATOM based laptop using linuxlite which is, I believe, XFCE based Ubuntu. I cannot seem to find a method to share files or folders on my network

Samba is set up and working. I can see my network and can import stuff from it but this machine, whilst visible on the network will not allow me to share anything. I'm not familiar enough with terminal to do it there but am willing to learn.
Say I want to share /home/leigh/Documents/ how do I go about it? Right clicking and selecting properties (which is how I do it in Cinnamon) does not show any option to share. It does let me adjust permissions, but that is it.

Help will be greatly appreciated.
Last edited by lsemmens on Sun Oct 14, 2018 9:38 pm, edited 1 time in total.
Kernel: 4.15.0-36-generic x86_64 bits: 64
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop T4500 Dualcore 4Gb RAM
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Linux Mint machines
Out of my mind - please leave a message

User avatar
Moem
Level 17
Level 17
Posts: 7025
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Setting Shsres in XFCE

Post by Moem » Sun Oct 14, 2018 3:12 am

Mod note:
Moved to the Chat section because it's not about Linux Mint.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

User avatar
lsemmens
Level 6
Level 6
Posts: 1139
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: Setting Shsres in XFCE

Post by lsemmens » Sun Oct 14, 2018 4:23 am

Moem wrote:
Sun Oct 14, 2018 3:12 am
Mod note:
Moved to the Chat section because it's not about Linux Mint.
Is there a lightweight version of mint, I much prefer Cinnamon, but it is just a bit too slow on this device. My main box has suffered a major accident in that the screen is now hanging by only one hinge which has force me pressing this box into service until I can find another decent size lappie. (I'm a pensioner, so will be looking at govt auction sites.)
Kernel: 4.15.0-36-generic x86_64 bits: 64
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop T4500 Dualcore 4Gb RAM
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Linux Mint machines
Out of my mind - please leave a message

User avatar
Moem
Level 17
Level 17
Posts: 7025
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Setting Shsres in XFCE

Post by Moem » Sun Oct 14, 2018 4:37 am

lsemmens wrote:
Sun Oct 14, 2018 4:23 am
Is there a lightweight version of mint, I much prefer Cinnamon, but it is just a bit too slow on this device.
Yes, that would be Linux Mint XFCE.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

User avatar
catweazel
Level 17
Level 17
Posts: 7751
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Setting Shsres in XFCE

Post by catweazel » Sun Oct 14, 2018 4:40 am

lsemmens wrote:
Sun Oct 14, 2018 4:23 am
(I'm a pensioner, so will be looking at govt auction sites.)
If you wish, you can PM me your name and address. I'll be pleased to send you a decent laptop. No charge.

Cheers.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

HaveaMint
Level 4
Level 4
Posts: 427
Joined: Fri Feb 02, 2018 9:56 pm
Location: Somewhere in the USA
Contact:

Re: Setting Shsres in XFCE

Post by HaveaMint » Sun Oct 14, 2018 6:29 am

catweazel wrote:
Sun Oct 14, 2018 4:40 am
lsemmens wrote:
Sun Oct 14, 2018 4:23 am
(I'm a pensioner, so will be looking at govt auction sites.)
If you wish, you can PM me your name and address. I'll be pleased to send you a decent laptop. No charge.

Cheers.
The good thing is you're both in Aussieland so the text is already upside down. :lol:
"Tune for maximum Smoke and then read the Instructions".

User avatar
lsemmens
Level 6
Level 6
Posts: 1139
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: Setting Shsres in XFCE (LinuxLite)

Post by lsemmens » Sun Oct 14, 2018 7:40 am

Thankyou for your kind offer Catweasel, you are a truly generous individual. I shall wait for the next auction, I can find a fairly recent machine for a couple of hundred dollars. It's a nuisance to me, that is all. It's not as though I don't have other options. If I were truly desperate, I can use a desktop computer of which I do own several. As it is, I am going to try Moem's suggestion and try Mint XFCE. That was my intent when I fount linuxlite. Off to download Mint XFCE now. :D
Kernel: 4.15.0-36-generic x86_64 bits: 64
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop T4500 Dualcore 4Gb RAM
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Linux Mint machines
Out of my mind - please leave a message

altair4
Level 19
Level 19
Posts: 9278
Joined: Tue Feb 03, 2009 10:27 am

Re: Setting Shsres in XFCE (LinuxLite)

Post by altair4 » Sun Oct 14, 2018 9:17 am

XFCE no longer has a way to create a samba share from Thunar.

But this is XFCE and Thunar can be made to do whatever you can imagine so you can create your own way: Create Samba Shares Directly from Thunar

But in the long run I would suggest just creating the share definition directly in /etc/samba/smb.conf or use the one that LinuxLite already set up for you - see below.

Fun facts about LinuxLite and Samba:

[1] It does make the effort to install Samba automatically.

[2] But it's disabled in it's firewall so you need to disable ufw:

Code: Select all

sudo ufw disable
Or allow Samba:

Code: Select all

sudo ufw allow Samba
[3] Linux Lite automatically creates a samba share of a "linux_share" directory in your home directory. You can see how it's set up in /etc/samba/smb.conf. And you can edit it's path to point to your "Documents" folder.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

User avatar
lsemmens
Level 6
Level 6
Posts: 1139
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: Setting Shsres in XFCE (LinuxLite)

Post by lsemmens » Sun Oct 14, 2018 9:19 pm

Thanks for that. This thread is almost redundant because I took moem's advice and installed Mint XFCE. It still has the same problem so am investigating your links, too, thanks altair4
Kernel: 4.15.0-36-generic x86_64 bits: 64
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop T4500 Dualcore 4Gb RAM
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Linux Mint machines
Out of my mind - please leave a message

User avatar
catweazel
Level 17
Level 17
Posts: 7751
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Setting Shsres in XFCE (LinuxLite)

Post by catweazel » Mon Oct 15, 2018 12:22 am

lsemmens wrote:
Sun Oct 14, 2018 7:40 am
If I were truly desperate, I can use a desktop computer of which I do own several.
Ok, no worries.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

altair4
Level 19
Level 19
Posts: 9278
Joined: Tue Feb 03, 2009 10:27 am

Re: Setting Shsres in XFCE (LinuxLite)

Post by altair4 » Mon Oct 15, 2018 6:28 am

lsemmens wrote:
Sun Oct 14, 2018 9:19 pm
This thread is almost redundant because I took moem's advice and installed Mint XFCE. It still has the same problem so am investigating your links, too, thanks altair4
The problem with Mint XFCE is that it doesn't do any of the things LinuxLite does with samba.

** So you will have to install samba:

Code: Select all

sudo apt install samba
** Mint doesn't enable ufw by default so you don't have to worry about disabling it or allowing Samba.

** As far as the share of your Documents folder you can either create the Thunar Custom Actions or simply create share definitions in /etc/samba/smb.conf:

For access only to you:

Code: Select all

[Documents]
path = /home/lsemmens/Documents
read only = No
valid users = lsemmens
And remember to add yourself to the samba password database:

Code: Select all

sudo smbpasswd -a lsemmens
For access to everyone:

Code: Select all

[Documents]
path = /home/lsemmens/Documents
read only = No
guest ok = yes
force user = lsemmens
Either way remember to restart smbd after editing smb.conf:

Code: Select all

sudo service smbd restart
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

User avatar
lsemmens
Level 6
Level 6
Posts: 1139
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: Setting Shares in XFCE (LinuxLite) & MINT (SOLVED)

Post by lsemmens » Mon Oct 15, 2018 7:06 am

Thanks again, altair4, your first post solved my problem. I now have an option in my right click menu that works a treat.
Kernel: 4.15.0-36-generic x86_64 bits: 64
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop T4500 Dualcore 4Gb RAM
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Linux Mint machines
Out of my mind - please leave a message

Post Reply

Return to “Chat about Linux”