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 [2018/07/17 13:18] – [basic] scipiotips:lxd [2019/11/19 19:12] (current) – [container] scipio
Line 221: Line 221:
 <code bash> <code bash>
 NAME=x11test NAME=x11test
-lxc launch images:ubuntu/xenial/amd64 $NAME+lxc launch images:ubuntu/bionic/amd64 $NAME
 </code> </code>
  
Line 231: Line 231:
 </code> </code>
  
-set DISPLAY env to xorg server on host + 
-<code bash+<code> 
-lxc config set $NAME environment.DISPLAY <ip-of-host-lxdbr0-bridge>:0+NAME=nvidia-sdk-manager 
 +lxc config set $NAME environment.DISPLAY <ip-of-host-lxdbr0-bridge>:0 
 +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.1531826285.txt.gz
  • Last modified: 2018/07/17 13:18
  • by scipio