Firefox over ssh

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Firefox over ssh

Ed Ahlsen-Girard-2
I used to be able to run the browser on one box from another box. No
longer, for some time.

Is this related to unveil? Is there a way around other than recompiling
firefox?

--

Edward Ahlsen-Girard
Ft Walton Beach, FL


Reply | Threaded
Open this post in threaded view
|

Re: Firefox over ssh

Stuart Henderson
On 2020/06/24 08:16, Ed Ahlsen-Girard wrote:

> I used to be able to run the browser on one box from another box. No
> longer, for some time.
>
> Is this related to unveil? Is there a way around other than recompiling
> firefox?
>
> --
>
> Edward Ahlsen-Girard
> Ft Walton Beach, FL
>
>

IIRC disabling pledge should avoid the problem, or rebuild mesa with this

Index: dri_sw_winsys.c
===================================================================
RCS file: /cvs/xenocara/lib/mesa/src/gallium/winsys/sw/dri/dri_sw_winsys.c,v
retrieving revision 1.9
diff -u -p -r1.9 dri_sw_winsys.c
--- dri_sw_winsys.c 22 Jan 2020 02:49:36 -0000 1.9
+++ dri_sw_winsys.c 25 Jun 2020 10:43:30 -0000
@@ -138,7 +138,7 @@ dri_sw_displaytarget_create(struct sw_wi
 
    dri_sw_dt->shmid = -1;
 
-#ifdef HAVE_SYS_SHM_H
+#if defined(HAVE_SYS_SHM_H) && !defined(__OpenBSD__)
    if (ws->lf->put_image_shm)
       dri_sw_dt->data = alloc_shm(dri_sw_dt, size);
 #endif