mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-06-07 20:27:59 +00:00
fix(devcontainer): ⚡ use xhost to allow qemu to run inside the container
I did this because on every reboot xauth directory was changing, and had to rebuild the container.
This commit is contained in:
parent
154d857c2e
commit
f5c8ae9323
@ -25,17 +25,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
// From this line below are for qemu, so not that important.
|
// From this line below are for qemu, so not that important.
|
||||||
|
"initializeCommand": "xhost +local:docker", // "xhost -local:docker" to disable
|
||||||
"mounts": [
|
"mounts": [
|
||||||
{
|
{
|
||||||
"source": "/tmp/.X11-unix",
|
"source": "/tmp/.X11-unix",
|
||||||
"target": "/tmp/.X11-unix",
|
"target": "/tmp/.X11-unix",
|
||||||
"type": "bind"
|
"type": "bind"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"source": "${localEnv:XAUTHORITY}",
|
|
||||||
"target": "/home/vscode/.Xauthority",
|
|
||||||
"type": "bind"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"source": "/run/user/1000/pulse/native",
|
"source": "/run/user/1000/pulse/native",
|
||||||
"target": "/run/user/1000/pulse/native",
|
"target": "/run/user/1000/pulse/native",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user