This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips:lxd [2018/07/17 13:18] – [basic] scipio | tips:lxd [2019/11/19 19:12] (current) – [container] scipio | ||
|---|---|---|---|
| Line 221: | Line 221: | ||
| <code bash> | <code bash> | ||
| NAME=x11test | NAME=x11test | ||
| - | lxc launch images: | + | lxc launch images: |
| </ | </ | ||
| Line 231: | Line 231: | ||
| </ | </ | ||
| - | set DISPLAY env to xorg server on host | + | |
| - | < | + | < |
| - | lxc config set $NAME environment.DISPLAY < | + | NAME=nvidia-sdk-manager |
| + | # lxc config set $NAME environment.DISPLAY < | ||
| + | lxc config set $NAME environment.DISPLAY :0 | ||
| + | lxc config device add $NAME X0 disk path=/ | ||
| + | lxc config device add $NAME Xauthority disk path=/ | ||
| </ | </ | ||