[Lxc-users] inexplicable effect when starting vnc4server (security hole?)
sfrazt
sfrazt at googlemail.com
Thu Sep 8 13:17:04 UTC 2011
> > You are absolutely right.
> > The value comes from XAUTHORITY which is given to the container. Is
> > it a
> > wanted behaviour?
>
> I suppose this is coming from sysv init which does not take care of
> cleaning up the env variables (which is better because we can transmit
> env variables from the host to the container).
>
> Can you check XAUTHORITY is set in your container ? and ensure it is
> set
> before the vncserver is launched ?
Yes. vnc4server doesn't need an XAUTHORITY env entry but uses it if it
is there.
So simple solution: delete that or all env-entries in rc.local before
execute vnv4server.
Thx for your help.
More information about the lxc-users
mailing list