Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:lxd [2019/11/19 16:10] – [on host] scipiotips:lxd [2019/11/19 19:12] (current) – [container] scipio
Line 231: Line 231:
 </code> </code>
  
-set DISPLAY env to xorg server on host 
-<code bash> 
-lxc config set $NAME environment.DISPLAY <ip-of-host-lxdbr0-bridge>:0 
-</code> 
- 
- 
-TODO 
  
 <code> <code>
-lxc config device add nvidia-sdk-manager Xauthority disk path=/root/.Xauthority source=${XAUTHORITY}+NAME=nvidia-sdk-manager 
 +# lxc config set $NAME environment.DISPLAY <ip-of-host-lxdbr0-bridge>:
 +lxc config set $NAME environment.DISPLAY :0 
 +lxc config device add $NAME X0 disk path=/tmp/.X11-unix/X0 source=/tmp/.X11-unix/X0 
 +lxc config device add $NAME Xauthority disk path=/root/.Xauthority source=${XAUTHORITY}
 </code> </code>
  
  • tips/lxd.1574176234.txt.gz
  • Last modified: 2019/11/19 16:10
  • by scipio