DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th February 2025
pl's Avatar
pl pl is offline
Real Name: /etc/myname: permission denied
Live And Let Unix
 
Join Date: Aug 2024
Location: /etc/fstab
Posts: 25
Default Getting GVFS to work on NetBSD 10.0 w/ XFCE4?

It's alive, autostarted by XFCE4 (or dbus?), but thunar shows nothing when plugging in USB drives. I can normally mount these disks with e.g.
Code:
mount /dev/sd0e /mnt
I've tried to search for the cause with no luck so far. GVFS doesn't seem to log anything and gvfs-* commands or their manpages don't help either. Has anyone idea what is maybe goin' on and how to fix it?
I'll try updating it to 10.1 on next time I have access to it, but I suspect problem is on GVFS side (It barely works in overall, even on Linux)
__________________
FUD is people's food
Reply With Quote
  #2   (View Single Post)  
Old 6th February 2025
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
The Deliverator
 
Join Date: Dec 2015
Location: London
Posts: 492
Default

I don't use NetBSD so I might be wrong but the Linux version of Thunar needs thunar-volman to use GVFS for mounts but it uses udev and so is only available for Linux:

https://wiki.netbsd.org/xfce4/
__________________
Para todos todo, para nosotros nada
Reply With Quote
  #3   (View Single Post)  
Old 6th February 2025
pl's Avatar
pl pl is offline
Real Name: /etc/myname: permission denied
Live And Let Unix
 
Join Date: Aug 2024
Location: /etc/fstab
Posts: 25
Default

I've stumbled upon that page, but it's nearly decade-old. And if I understand correctly, volman is merely for automatic tasks regarding inserted media:
Quote:
Originally Posted by https://docs.xfce.org/xfce/thunar/thunar-volman
The Thunar Volume Manager is an extension for the Thunar file manager, which enables automatic management of removable drives and media. For example, if thunar-volman is installed and configured properly, and you plug in your digital camera, it will automatically launch your preferred photo application and import the new pictures from the camera into your photo collection.
It doesn't seem to be required for just accessing media

By the way, I should mention that in first post, before XFCE I installed MATE and in Caja it didn't work either.

Now I remind meself I haven't checked if polkitd was running at all. Maybe that's the problem...
__________________
FUD is people's food
Reply With Quote
  #4   (View Single Post)  
Old 6th February 2025
shep shep is offline
Real Name: Scott
Regex Recruiter
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,554
Default

I don't run NetBSD but thunar should be able to access a usb drive once is it manually mounted. You are free to mount your drive to any directory, there is a Guide on doing this in OpenBSD in this forum:
https://daemonforums.org/showthread.php?t=2232

In OpenBSD there is an automount daemon that has to be configured and running. NetBSD has an amd(8) daemon but it appears to be for NFS - not sure it will work for USB drives.
Reply With Quote
  #5   (View Single Post)  
Old 6th February 2025
pl's Avatar
pl pl is offline
Real Name: /etc/myname: permission denied
Live And Let Unix
 
Join Date: Aug 2024
Location: /etc/fstab
Posts: 25
Default

Quote:
Originally Posted by shep View Post
I don't run NetBSD but thunar should be able to access a usb drive once is it manually mounted. You are free to mount your drive to any directory, there is a Guide on doing this in OpenBSD in this forum:
https://daemonforums.org/showthread.php?t=2232
Yes, I'm aware of that, and on my systems I don't need GVFS at all
The problem is it's PC used by IT-illiterate grandparents who are barely able to use clicky-click GUI, so any usage of command-line is a complete no-go
__________________
FUD is people's food
Reply With Quote
  #6   (View Single Post)  
Old 6th February 2025
shep shep is offline
Real Name: Scott
Regex Recruiter
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,554
Default

My blunt opinion is that NetBSD is not for the IT-illiterate - unless you want to move in with them
Reply With Quote
  #7   (View Single Post)  
Old 7th February 2025
pl's Avatar
pl pl is offline
Real Name: /etc/myname: permission denied
Live And Let Unix
 
Join Date: Aug 2024
Location: /etc/fstab
Posts: 25
Default

Quote:
Originally Posted by shep View Post
My blunt opinion is that NetBSD is not for the IT-illiterate - unless you want to move in with them
They need help with whatever system is installed in there anyway, and NetBSD is the only one that works there so far without bigger problems. Originally that PC ran Win10 that was notoriously-crashing irritation for us both, then Debian + XFCE4 which firstly worked but then that infamous init started to kill itself and FreeBSD for whatever reason threw ATA errors on healthy SSD.
__________________
FUD is people's food

Last edited by pl; 7th February 2025 at 02:27 PM. Reason: spelling
Reply With Quote
  #8   (View Single Post)  
Old 7th February 2025
shep shep is offline
Real Name: Scott
Regex Recruiter
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,554
Default

Without knowing your hardware or your Grandparents, I'll plug my project in this thread: https://daemonforums.org/showthread.php?t=11178. It is my daily driver and I think it is both stable and secure. On a fast connection it takes 30 minutes to setup with the defaults. It is OpenBSD based and that project is much better than NetBSD about security updates.

The most common tasks (web browser, email, terminal, file manager, office suit, music player) are large, single click icons on the bottom of the screen.

If you want, it is easy to change the items in the bottom launcher. If you change out firefox-esr for netsurf and libreoffice for abiword, it will run on a 32bit machine. Hopefully your relatives have a 64 bit machine with at least 4mb ram (8mb should handle graphics editing).
Reply With Quote
  #9   (View Single Post)  
Old 8th February 2025
jmccue jmccue is offline
Real Name: John McCue
Package Pilot
 
Join Date: Aug 2012
Location: here
Posts: 198
Default

If all your grandmother does is email, browsing, WP and spreadsheets you may be better off creating fvwm or windowmaker setup with xfe. fvwm can be set to look like about anything. All you will need to do for xfe is customize "~/.config/xfe/xferc".

The only thing with OpenBSD is the 6 month updates, NetBSD has a longer support cycle and pkgsrc updates can be added to crontab. The admin would just need to ssh and change "/usr/pkg/etc/pkgin/repositories.conf" when a new Qtr pkgsrc is released.

Plus with only sshd running and not using passwords for login, I think security is a non issue since patches are rather rare.

Of course when firefox is updated on NetBSD, it seems to create a new peofile. I do not know how to get around that, too lazy to look, but I am sure there is a method to force use of the old profile.
__________________
[t]csh(1) - "An elegant shell, for a more... civilized age."
- Paraphrasing Star Wars (tvtropes.org)
Reply With Quote
Old 8th February 2025
pl's Avatar
pl pl is offline
Real Name: /etc/myname: permission denied
Live And Let Unix
 
Join Date: Aug 2024
Location: /etc/fstab
Posts: 25
Default

It's merely a family photo viewer with tax paying functionality (Usually once a month, I have to assist in it). Things like e-mail or spreadsheets are complete dark magic for them

Hardware-wise, it's a Athlon II-based mashup of random leftovers "glued" with quick 'n' dirty hacks only true Pole would do. Not a speed demon, but fast enough for it's job, especially when running toaster-optimized unix. I'd like to avoid reinstalling entire system as there's over 90GB worth of photos which I would have to copy once again over USB 2.0 (And getting NetBSD there was de-facto experiment as I had no experience with it regardng desktop use, and with OpenBSD I've yet messed at all)

Personally I also favor minimal setups (less is more), but keep XFCE4 there as they handle changes terribly (combined with very limited computer expertise it'sa complete paralysation) and they somewhat "know" XFCE already (by "know" meaning how to navigate with Thunar and turn off PC). Also I don't have right now time to make up something meself as I already experiment on my setup

P.S.
Quote:
Originally Posted by jmccue View Post
Of course when firefox is updated on NetBSD, it seems to create a new peofile. I do not know how to get around that, too lazy to look, but I am sure there is a method to force use of the old profile.
Quick guess, I think you should be able to import it to newer version with Profile Manager (--ProfileManager command-line arg)
__________________
FUD is people's food

Last edited by pl; 8th February 2025 at 10:08 PM.
Reply With Quote
Old 3 Weeks Ago
pl's Avatar
pl pl is offline
Real Name: /etc/myname: permission denied
Live And Let Unix
 
Join Date: Aug 2024
Location: /etc/fstab
Posts: 25
Default

polkitd was running, but not gvfs' FUSE daemon. I recall that on Debian it wouldn't work either without it.
When I try to start it manually it exits instantly;
Code:
$ /usr/pkg/libexec/gvfs-fuse-daemon -fd /mnt
can't open /dev/puffs: permission denied
With root it will run, but is virtually useless then as it can't connect to dbus

So I guess it's a privilege matter. How can I allow non-root to access PUFFS?
__________________
FUD is people's food
Reply With Quote
Old 8 Hours Ago
pl's Avatar
pl pl is offline
Real Name: /etc/myname: permission denied
Live And Let Unix
 
Join Date: Aug 2024
Location: /etc/fstab
Posts: 25
Default

Quote:
So I guess it's a privilege matter. How can I allow non-root to access PUFFS?
Code:
chown ${USER}: /dev/puffs
But it just starts with no errors and that's all. sheesh...
Setting "security.models.extensions.usermount=1" in /etc/sysctl.conf didn't make a change either.

I give up, it's not a piece of software but poor comedy. I just set up FTP server instead, barely any configuration and it Just Works(TM). Leftover USB disks they had I just mounted the simple way and imported everything from these.

I'll install MATE once again here and see if it works there, but I suspect it won't.
EDIT: It doesn't
__________________
FUD is people's food

Last edited by pl; 6 Hours Ago at 11:08 AM. Reason: update
Reply With Quote
Reply

Tags
gvfs, xfce4

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
X server does not work in NetBSD 8.1. Vitek_z NetBSD General 4 7th January 2020 02:44 PM
xfce4 work fine, but gnome issue philo_neo71 OpenBSD Packages and Ports 10 9th September 2016 01:12 AM
mouse not work under xfce4 philo_neo71 NetBSD General 4 10th October 2015 10:52 PM
automounting devices on Xfce4 with hotplugd does not work harishankar OpenBSD Packages and Ports 13 17th December 2013 03:57 PM
NetBSD on a laptop: trying to make it work Mr-Biscuit NetBSD Installation and Upgrading 1 1st June 2009 01:43 AM


All times are GMT. The time now is 05:50 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick