Hello,

I'm trying to get a virtual desktop in a LXD container running on a Kubuntu 16.04 host. I didn't find instructions on how to achive this. However, based on the information that I found, I have a container with the following device configuration:

wexi@wd:~$ lxc config show tbox
name: tbox
profiles:
- default
config:
volatile.base_image: de051f59f701c709515de3face41e53e66f329d6d5d34cc5d4818aa23a3f3a7d
  volatile.eth0.hwaddr: 00:16:3e:e5:11:7f
volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":165536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":165536,"Nsid":0,"Maprange":65536}]'
devices:
  /dev/dri/card0:
    path: /dev/dri/card0
    type: unix-char
  /dev/fb0:
    path: /dev/fb0
    type: unix-char
  /dev/nvidia-modeset:
    path: /dev/nvidia-modeset
    type: unix-char
  /dev/nvidia-uvm:
    path: /dev/nvidia-uvm
    type: unix-char
  /dev/nvidia0:
    path: /dev/nvidia0
    type: unix-char
  /dev/nvidiactl:
    path: /dev/nvidiactl
    type: unix-char
  /dev/tty0:
    path: /dev/tty0
    type: unix-char
  /dev/tty7:
    path: /dev/tty7
    type: unix-char
  /dev/tty8:
    path: /dev/tty8
    type: unix-char
  root:
    path: /
    type: disk
ephemeral: false

After trying to install Kubuntu into the container by installing the kubuntu-desktop metapackage. However, sddm in the container fails to start. I'm getting the following in syslog:

Oct 14 15:39:25 tbox sddm-helper[4078]: Received a wrong opcode instead of AUTHENTICATED: 0 Oct 14 15:39:25 tbox systemd[1]: sddm.service: Main process exited, code=dumped, status=11/SEGV
Oct 14 15:39:25 tbox systemd[1]: sddm.service: Unit entered failed state.
Oct 14 15:39:25 tbox systemd[1]: sddm.service: Triggering OnFailure= dependencies. Oct 14 15:39:25 tbox systemd[1]: sddm.service: Failed with result 'core-dump'. Oct 14 15:39:25 tbox systemd[1]: Failed to reset devices.list on /system.slice/plymouth-quit.service: Operation not permitted
Oct 14 15:39:25 tbox systemd[1]: Starting Terminate Plymouth Boot Screen...
Oct 14 15:39:25 tbox systemd[1]: Failed to reset devices.list on /system.slice/sddm.service: Operation not permitted
Oct 14 15:39:25 tbox systemd[1]: Started Apport crash forwarding receiver.
Oct 14 15:39:25 tbox systemd[1]: Started Terminate Plymouth Boot Screen.
Oct 14 15:39:26 tbox systemd[1]: sddm.service: Service hold-off time over, scheduling restart.
Oct 14 15:39:26 tbox systemd[1]: Stopped Simple Desktop Display Manager.
Oct 14 15:39:26 tbox systemd[1]: gpu-manager.service: Start request repeated too quickly.

Any ideas on what needs to be done to get sddm/X running in the container?

BR,
Wexi

_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to