mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									a664128714
								
							
						
					
					
						commit
						0d6778a9d4
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -3,8 +3,6 @@ set -x
 | 
			
		|||
# Just in case, here's some other things that might help:
 | 
			
		||||
#  Force the container's hostname to be the same as your workstation
 | 
			
		||||
#  -h $HOSTNAME \
 | 
			
		||||
#  just give it all privileges if there's a wierd error
 | 
			
		||||
#  --privileged=true \
 | 
			
		||||
#  If there's problems with the X display, try this
 | 
			
		||||
#  -v /tmp/.X11-unix:/tmp/.X11-unix \
 | 
			
		||||
docker run \
 | 
			
		||||
| 
						 | 
				
			
			@ -16,6 +14,8 @@ docker run \
 | 
			
		|||
  -v $HOME:/home/$USER \
 | 
			
		||||
  `# Pass the X display number to the container` \
 | 
			
		||||
  -e DISPLAY=$DISPLAY \
 | 
			
		||||
  `# It seems that libGL and dbus things need privileged mode` \
 | 
			
		||||
  --privileged=true \
 | 
			
		||||
  `# Attach tty for running bambu with command line things` \
 | 
			
		||||
  -ti \
 | 
			
		||||
  `# Pass all parameters from this script to the bambu ENTRYPOINT binary` \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue