Hi, I have a dom0 fedora core 5 and domU fedora core 5 running fine, however I''ve noticed something strange. If I ssh -X into the virtual machine and run firefox it seems to work fine, until I download a file. The downloaded file is saved in dom0 and not within the virtual machine. How is this possible? I''ve double checked that I am ssh''ing into the correctmachine. Has anybody else had the same problem? Thanks in advance for any replies. P. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Aug 16, 2006 at 08:55:23AM +0000, paulk wrote:> I have a dom0 fedora core 5 and domU fedora core 5 running fine, however I''ve noticed something strange. > > If I ssh -X into the virtual machine and run firefox it seems to work fine, until I download a file. The downloaded file is saved in dom0 and not within the virtual machine. How is this possible? > > I''ve double checked that I am ssh''ing into the correctmachine. > > Has anybody else had the same problem?Probably what is happening is that you have Firefox running in dom0 already - so when you run the *new* firefox in domU it doesn''t actually start a new process and export the display, instead it connects to your already-running instance and just creates a new window. (I''m not sure how this detection works,but it is easy to test, perhaps shared memory of some sort?) To be sure before you start the firefox via the SSH double-check you have no existing firefox processes presesnt. Steve -- http://xen-hosting.org/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Steve Kemp > Sent: 16 August 2006 10:09 > To: paulk > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] Security Violation? > > On Wed, Aug 16, 2006 at 08:55:23AM +0000, paulk wrote: > > > I have a dom0 fedora core 5 and domU fedora core 5 running > fine, however I''ve noticed something strange. > > > > If I ssh -X into the virtual machine and run firefox it > seems to work fine, until I download a file. The downloaded > file is saved in dom0 and not within the virtual machine. How > is this possible? > > > > I''ve double checked that I am ssh''ing into the correctmachine. > > > > Has anybody else had the same problem? > > Probably what is happening is that you have Firefox running in dom0 > already - so when you run the *new* firefox in domU it > doesn''t actually > start a new process and export the display, instead it connects to > your already-running instance and just creates a new window. > > (I''m not sure how this detection works,but it is easy to test, > perhaps shared memory of some sort?) > > To be sure before you start the firefox via the SSH double-check you > have no existing firefox processes presesnt.But surely, Firefox on DomU shouldn''t be able to see Firefox on Dom0, whichever way around it works. I think you''re on the right lines tho''. Firefox should not be able to access Dom0 from DomU in anyway shape or form, so Firefox is probably not running on DomU... -- Mats> > Steve > -- > http://xen-hosting.org/ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi,> On Wed, Aug 16, 2006 at 08:55:23AM +0000, paulk wrote: > > >>I have a dom0 fedora core 5 and domU fedora core 5 running fine, however I''ve noticed something strange. >> >>If I ssh -X into the virtual machine and run firefox it seems to work fine, until I download a file. The downloaded file is saved in dom0 and not within the virtual machine. How is this possible? >> >>I''ve double checked that I am ssh''ing into the correctmachine. >> >>Has anybody else had the same problem? > > > Probably what is happening is that you have Firefox running in dom0 > already - so when you run the *new* firefox in domU it doesn''t actually > start a new process and export the display, instead it connects to > your already-running instance and just creates a new window.I don''t think that this is the issue, since there is a strong isolation between the processes running inside the VM and Dom0. It is a curiose problem I never encountered. Frederic _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Aug 16, 2006 at 11:16:02AM +0200, Frederic Stumpf wrote:> > Probably what is happening is that you have Firefox running in dom0 > > already - so when you run the *new* firefox in domU it doesn''t actually > > start a new process and export the display, instead it connects to > > your already-running instance and just creates a new window. > > I don''t think that this is the issue, since there is a strong isolation > between the processes running inside the VM and Dom0.Try it with two random non-Xen hosts. The same thing happens. 1. Run firefox on the local host. 2. Run "ssh -X remote.host firefox" 3. Notice a new window. Notice that it is a new window belonging to the *local* firefox. (You can tell by things like bookmarks/ start page/whatever.)> It is a curiose problem I never encountered.This is not a Xen-specific problem, but an issue with firefox which suprises people often. Mozilla behaves the same way. Testing this is easy if you have two hosts with firefox/mozilla installed. Steve -- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Aug 16, 2006 at 09:21:32AM +0000, Steve Kemp wrote:> On Wed, Aug 16, 2006 at 11:16:02AM +0200, Frederic Stumpf wrote: > > > > Probably what is happening is that you have Firefox running in dom0 > > > already - so when you run the *new* firefox in domU it doesn''t actually > > > start a new process and export the display, instead it connects to > > > your already-running instance and just creates a new window. > > > > I don''t think that this is the issue, since there is a strong isolation > > between the processes running inside the VM and Dom0. > > Try it with two random non-Xen hosts. The same thing happens. > > 1. Run firefox on the local host. > > 2. Run "ssh -X remote.host firefox" > > 3. Notice a new window. Notice that it is a new window belonging > to the *local* firefox. (You can tell by things like bookmarks/ > start page/whatever.) > > > It is a curiose problem I never encountered. > > This is not a Xen-specific problem, but an issue with firefox which > suprises people often. Mozilla behaves the same way. > > Testing this is easy if you have two hosts with firefox/mozilla > installed. > > Steve > --Steve, you''re right. Firefox has the same affect on non xen hosts, which is very surprising. I''ve no idea how firefox manages to do this. rgds, Paul _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
It''s an X thing, nothing to do with Xen. Programs executing on the same $DISPLAY can communicate with each other. For firefox, that means the new invocation tells the one already running what page to display. -- Christopher _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users