Re: [lxc-users] Run GUI program using lxc-execute

2014-08-31 Thread Sun Keqin
Yes, you’re right. I do need network. Your explaination is extremely clear, and I will follow your advice. Thank you all! Jimmy On Sunday, 2014-08-31 at 14:12 +0800,Fajar A. Nugraha wrote: > Basically the main requirement for a GUI (without sound) is to bind-mount the > X socket and setting D

Re: [lxc-users] Run GUI program using lxc-execute

2014-08-30 Thread Fajar A. Nugraha
Basically the main requirement for a GUI (without sound) is to bind-mount the X socket and setting DISPLAY environment. In fact, if you run full container, you must make sure lightdm service disabled on the container so that the mounted X socket does not get overwritten. So if you keep the line tha

Re: [lxc-users] Run GUI program using lxc-execute

2014-08-30 Thread Sun Keqin
Yeah, I have read the article, but I still want to ask if there is a “lightweight" approach. Perhaps the answer is not. Thank you for help! On Sat, 2014-08-30 at 23:01 +0700, Michael H. Warfield wrote: > On Sat, 2014-08-30 at 21:32 +0700, Fajar A. Nugraha wrote: >> On Saturday, August 30, 2014

Re: [lxc-users] Run GUI program using lxc-execute

2014-08-30 Thread Michael H. Warfield
On Sat, 2014-08-30 at 21:32 +0700, Fajar A. Nugraha wrote: > On Saturday, August 30, 2014, Sun Keqin wrote: > Hi all, > How to run a GUI program (eg. firefox) with lxc-execute? > https://www.stgraber.org/2014/02/09/lxc-1-0-gui-in-containers/ He was asking about lxc-execute

Re: [lxc-users] Run GUI program using lxc-execute

2014-08-30 Thread Michael H. Warfield
On Sat, 2014-08-30 at 21:07 +0800, Sun Keqin wrote: > Hi all, > How to run a GUI program (eg. firefox) with lxc-execute? The error > message is: “Error: no display specified”. Maybe lxc-execute log in a new > user(root) and it does’t have the right to start XWindow. Do you have any > idea

Re: [lxc-users] Run GUI program using lxc-execute

2014-08-30 Thread Fajar A. Nugraha
On Saturday, August 30, 2014, Sun Keqin wrote: > Hi all, > How to run a GUI program (eg. firefox) with lxc-execute? https://www.stgraber.org/2014/02/09/lxc-1-0-gui-in-containers/ -- Fajar ___ lxc-users mailing list lxc-users@lists.linuxcontain

[lxc-users] Run GUI program using lxc-execute

2014-08-30 Thread Sun Keqin
Hi all, How to run a GUI program (eg. firefox) with lxc-execute? The error message is: “Error: no display specified”. Maybe lxc-execute log in a new user(root) and it does’t have the right to start XWindow. Do you have any idea to deal with that? Thanks! Jimmy ___