Conversation
Notices
-
Embed this notice
feld (feld@bikeshed.party)'s status on Tuesday, 07-Nov-2023 04:29:57 JST
feld
@JustineSmithies @evilham the mode here is probably supposed to be 1777
rwxrwxrwx with a sticky bit for the directory-
Embed this notice
JustineSmithies (justinesmithies@fosstodon.org)'s status on Tuesday, 07-Nov-2023 04:29:59 JST
JustineSmithies
@evilham Also in my /etc/fstab I have
tmpfs /tmp tmpfs rw,mode=0177 0 0 -
Embed this notice
JustineSmithies (justinesmithies@fosstodon.org)'s status on Tuesday, 07-Nov-2023 04:30:00 JST
JustineSmithies
@evilham If I enter mount -l I see tmpfs on /tmp (tmpfs, local)
but further down I also see zroot/tmp on /tmp ( zfs, local, noatime, noexec, nosuid, nfsv4acls) -
Embed this notice
Evilham :antifa: (evilham@chaos.social)'s status on Tuesday, 07-Nov-2023 04:30:01 JST
Evilham :antifa:
@JustineSmithies great, so your user doesn't have permissions there! (try with your user mkdir /tmp/test)
That's probably the issue, are you sure it's a temporary file system? (mount -l should say something like tmpfs)
The permissions should probably look like this: drwxrwxrwt -
Embed this notice
JustineSmithies (justinesmithies@fosstodon.org)'s status on Tuesday, 07-Nov-2023 04:30:02 JST
JustineSmithies
@evilham ?? If i ls -ld /tmp i get: frwx------ 11 root wheel 14 nov 6 19:11 /tmp
-
Embed this notice
Evilham :antifa: (evilham@chaos.social)'s status on Tuesday, 07-Nov-2023 04:30:04 JST
Evilham :antifa:
@JustineSmithies nice! Soooo, how do the permissins for `/tmp` look like? is it backed by ZFS's tmp dataset? or is it a tmpfs?
-
Embed this notice
JustineSmithies (justinesmithies@fosstodon.org)'s status on Tuesday, 07-Nov-2023 04:30:05 JST
JustineSmithies
@evilham Cannot create /tmp/riverlog permission denied
-
Embed this notice
Evilham :antifa: (evilham@chaos.social)'s status on Tuesday, 07-Nov-2023 04:30:07 JST
Evilham :antifa:
@JustineSmithies have you tried starting river as:
dbus-launch --exit-with-session river -log-level debug > /tmp/riverlog
To see if there is something more useful?
Also: is polkit installed? (pkg info polkit)
-
Embed this notice
JustineSmithies (justinesmithies@fosstodon.org)'s status on Tuesday, 07-Nov-2023 04:30:08 JST
JustineSmithies
@evilham Sway runs from the tty no issues.
I vae XDG_RUNTIME_DIR=/var/run/user/`id -u` and I've setup tmpfs for /var/run but still river or Hyprland fail . River gives "No display in the first 33" for xwayland/sockets. Also No clients on seat0 to activate -
Embed this notice
JustineSmithies (justinesmithies@fosstodon.org)'s status on Tuesday, 07-Nov-2023 04:30:08 JST
JustineSmithies
@evilham I also created /var/run/user/1001 and did the chown for the user and the chmod 0700 too as per FreeBSD docs
-
Embed this notice
Evilham :antifa: (evilham@chaos.social)'s status on Tuesday, 07-Nov-2023 04:30:10 JST
Evilham :antifa:
Oh, and also:
> River can either be run nested in an X11/Wayland session or directly from a tty using KMS/DRM. Simply run the river command.
Does this work under e.g. sway?
-
Embed this notice
Evilham :antifa: (evilham@chaos.social)'s status on Tuesday, 07-Nov-2023 04:30:11 JST
Evilham :antifa:
You should also look into flags that enable more verbosity, in case there is an error that is more helpful.
-
Embed this notice
Evilham :antifa: (evilham@chaos.social)'s status on Tuesday, 07-Nov-2023 04:30:12 JST
Evilham :antifa:
Hey! Just tried both river (then didn't know how to exit!) and Hyprland and can run them.
This is how:
/etc/rc.conf contains seatd_enable=YESI export XDG_RUNTIME_DIR as a temporary directory that is no backed by ZFS (this is why: https://hub.darcs.net/raichoo/hikari/browse/README.md#41)
I also export XDG_CURRENT_DESKTOP as the binary that I'm running.
Then run:
dbus-launch --exit-with-session "${GUI}"I am a member of these groups:
MyOwn operator video u2f webcamd -
Embed this notice
JustineSmithies (justinesmithies@fosstodon.org)'s status on Tuesday, 07-Nov-2023 04:30:13 JST
JustineSmithies
#FreeBSD folks I have an issue and I think I need to either change permissions or add my user to a group ? I have installed the following #Wayland #WM Sway, River and to see if it works Hyprland. I can run Sway no problem as my user justine but both River and Hyprland refuse as my user but I am able to run them up as root which I know is very wrong. So how do I fix this as cannot see anything in the FreeBSD manual ??
In conversation permalink
-
Embed this notice