Hi, Consider this:
$ su - Password: # lxc-destroy -n c2 && lxc-copy -n c1 -N c2; n Destroyed container c2 no server running on /tmp/tmux-0/default Failed to open connection to "session" message bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead E: dbus-send failed. # export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus # from the non-root user # lxc-destroy -n c2 && lxc-copy -n c1 -N c2; n Destroyed container c2 no server running on /tmp/tmux-0/default Failed to open connection to "session" message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. E: dbus-send failed. # export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus # lxc-destroy -n c2 && lxc-copy -n c1 -N c2; n Destroyed container c2 no server running on /tmp/tmux-0/default Failed to open connection to "session" message bus: Failed to connect to socket /run/user/0/bus: No such file or directory E: dbus-send failed. # exit $ sudo lxc-destroy -n c2 && sudo lxc-copy -n c1 -N c2; n [sudo] password for yuri: Destroyed container c2 Can you explain what's the proper way to use it please? What does it need dbus for? Regards, Yuri _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
