OpenVZ Forum


Home » General » Support » VPS uses HE process (running Firefox)
VPS uses HE process (running Firefox) [message #36412] Wed, 17 June 2009 08:31 Go to next message
starfry is currently offline  starfry
Messages: 24
Registered: March 2009
Location: Coulsdon, Surrey, UK
Junior Member
Hi I have a VPS in which I want to run Firefox so I can access the internet in a protected environment. It works fine, however...

If I have Firefox running on the HE then running it on the VPS just launches another instance on the HE.

It's easy for me to see when it happens because the HE browser and the VPS one have different home pages set so look very different on start-up.

I think it's probably because there is already a firefox process running on the HE and OpenVZ does not ignore it (as it should, it does not belong to the VPS).

I would expect a process request on a VPS to be honoured within the VPS regardless of what may or may not be running on the HE. I would not expect a VPS process request to utilize existing processes on the HE.

This seems to be a potentially dangerous thing: one could have a process running in a VPS that could potentially take over processes on the HE. This seems to me like a big risk.

Am I missing something, or doing something wrong?
Re: VPS uses HE process (running Firefox) [message #36413 is a reply to message #36412] Wed, 17 June 2009 08:44 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

starfry wrote on Wed, 17 June 2009 12:31

Am I missing something, or doing something wrong?



There is a built-in logic in firefox -- it queries (via X shared memory or something else -- I'm not an expert here) if firefox is already running, and if yes it just tells the already running instance to open another window. This is possible because you use one X server for both hardware node and container, so this is not a problem or a security hole in OpenVZ.

Try firefox -no-remote. Or use a separate X session for container, say, run Xvnc inside a container and connect to it using vncviewer.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: VPS uses HE process (running Firefox) [message #36769 is a reply to message #36413] Fri, 17 July 2009 12:14 Go to previous messageGo to next message
starfry is currently offline  starfry
Messages: 24
Registered: March 2009
Location: Coulsdon, Surrey, UK
Junior Member
Quote:
Try firefox -no-remote.


I can confirm that this solution works fine Very Happy

Thanks.

[Updated on: Fri, 17 July 2009 12:48] by Moderator

Report message to a moderator

Re: VPS uses HE process (running Firefox) [message #36894 is a reply to message #36413] Tue, 28 July 2009 14:24 Go to previous message
starfry is currently offline  starfry
Messages: 24
Registered: March 2009
Location: Coulsdon, Surrey, UK
Junior Member
HI, I just wanted to say that I tried this and it was the solution for me Smile
Previous Topic: Using the ip_conntrack_tftp iptables module within containers
Next Topic: Intelcore I7 compatibility
Goto Forum:
  


Current Time: Tue Jul 23 18:22:50 GMT 2024

Total time taken to generate the page: 0.02368 seconds