[lxc-users] Run GUI in LXD 2.0+

Felipe fmbrieva at gmail.com
Sat Apr 15 13:39:46 UTC 2017


Instructions:

a) In LXD container:

   1.  lxc launch ubuntu: pokemon
   2.  lxc exec pokemon bash
   3.  add-apt-repository ppa:x2go/stable && sudo apt-get update
   4.  apt-get install xfce4 xfce4-goodies xfce4-artwork xubuntu-icon-theme
   firefox x2goserver x2goserver-xsession
   5.  adduser pikachu
   6.  vi /etc/ssh/sshd_config
            # Change to no to disable tunnelled clear text passwords
            PasswordAuthentication yes
   7.  /etc/init.d/ssh restart

b) In client:

   1. apt-get install x2goclient
   2. x2goclient


Enjoy the power of LXD

pipe_

2017-04-15 5:01 GMT+02:00 Spike <spike at drba.org>:

> thanks for sharing Felipe, was looking for something like that myself.
> Could you share how pokemon is built? is it just a server install + apt-get
> of xfce-desktop and install the x2go server?
>
> thanks,
>
> Spike
>
> On Fri, Apr 14, 2017 at 11:40 AM Felipe <fmbrieva at gmail.com> wrote:
>
>> Check https://github.com/fmbrieva/lxd-guiapps-x2go/blob/master/README.md
>>
>> El 14 abr. 2017 12:53, "Matlink" <matlink at matlink.fr> escribió:
>>
>>> Hi everyone !
>>>
>>> I'm new to LXD but have been an LXC 1.0 user for a long time.
>>> I used to run GUI in LXC 1.0 according to @stgraber howto
>>> (https://stgraber.org/2014/02/09/lxc-1-0-gui-in-containers/). However,
>>> it does not seem to be reproducible with LXD/LXC 2.0+ (except via SSH
>>> which is not something optimal for me).
>>>
>>> Has someone be able to run GUI via X11-only on LXD 2.0+ ?
>>>
>>> Thanks,
>>> Matlink
>>>
>>>
>>> _______________________________________________
>>> lxc-users mailing list
>>> lxc-users at lists.linuxcontainers.org
>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170415/24745023/attachment.html>


More information about the lxc-users mailing list