Skip to content

Commit 0d6778a

Browse files
calhlanewei120
authored andcommitted
Add privleged mode...
The popover window to select printers acts strange and fuzzes out. I see errors trying to access the raw video card device using libGL, and other errors with dbus access. Turning on privileged mode fixes this.
1 parent a664128 commit 0d6778a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DockerRun.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ set -x
33
# Just in case, here's some other things that might help:
44
# Force the container's hostname to be the same as your workstation
55
# -h $HOSTNAME \
6-
# just give it all privileges if there's a wierd error
7-
# --privileged=true \
86
# If there's problems with the X display, try this
97
# -v /tmp/.X11-unix:/tmp/.X11-unix \
108
docker run \
@@ -16,6 +14,8 @@ docker run \
1614
-v $HOME:/home/$USER \
1715
`# Pass the X display number to the container` \
1816
-e DISPLAY=$DISPLAY \
17+
`# It seems that libGL and dbus things need privileged mode` \
18+
--privileged=true \
1919
`# Attach tty for running bambu with command line things` \
2020
-ti \
2121
`# Pass all parameters from this script to the bambu ENTRYPOINT binary` \

0 commit comments

Comments
 (0)