Yes.  You can use a unix domain socket to communicate between the host and a 
container.

Regards.
Mark K Vallevand   mark.vallev...@unisys.com<mailto:mark.vallev...@unisys.com>
May you live in interesting times, may you come to the attention of important 
people and may all your wishes come true.
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

From: wang yao [mailto:yaowang2...@gmail.com]
Sent: Thursday, August 29, 2013 3:21 AM
To: lxc-users@lists.sourceforge.net
Subject: [Lxc-users] X communication between the host and the container

Hi all,

I try to display the applications running inside of the container (e.g. 
Firefox) on the screen of the host. I have achived this with the help of TCP 
communication between container and host, and now I want to do this with unix 
socket, but I am not sure whether the container can communicate with the host 
by the way of unix socket.

I tried to share /tmp/.X11-unix/X0 of the host with the container and export 
the container's DISPLAY parameter with :0.0, but this did not work. So I hope 
to know whether the container can communicate with the host by the way of unix 
socket. And if it can't, can we do something to realize it? Can anyone help me?

Regards,
Yao
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to