Here is my config. I have a simple 32bit jail on 64bit host. I have extracted FreeBSD 13-RELEASE base.txz in /usr/jail/wine32, also i enabled X11Forwarding and it works fine(but without 3D acceleration).
This works without a problem.
But when i try this:
I get this:
/etc/jail.conf:
and devfs rule number 8:
As i can see this is not enough,
This works without a problem.
ssh -X user@123.123.123.123 xterm
But when i try this:
ssh -X user@123.123.123.123 glxgears
I get this:
Error: couldn't get an RGB, Double-buffered visual
/etc/jail.conf:
wine32 {
host.hostname = www.wine32.com;
ip4 = inherit;
path = "/usr/jail/wine32";
mount.devfs;
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
allow.mount = 1;
enforce_statfs = 0;
allow.mount.devfs = 1;
allow.raw_sockets = 1;
allow.mount.procfs = 1;
devfs_ruleset=8;
}
and devfs rule number 8:
[devfsrules_unhide_xorg=8]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add path agpgart unhide
add path console unhide
add path consolectl unhide
add path dri unhide
add path 'dri/*' unhide
add path io unhide
add path 'nvidia*' unhide
add path sysmouse unhide
add path mem unhide
add path pci unhide
add path tty unhide
add path ttyv0 unhide
add path ttyv1 unhide
add path ttyv8 unhide
As i can see this is not enough,