Hello, I''m having some trouble running a windows guest after the migration to the new XEN tool stack. Note that I am running XEN on a Desktop Environment now, using the gentoo-sources-3.0.4 kernel. All the Linux guests are running without any problem at the moment. I access to my Linux box as a normal user and when I need to start a VM I become root and issue the needed commands to start a domU with the xl toolstack. Well, the problem is that when I start the windows guest, having the following configuration file kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1024 shadow_memory = 8 name = "windows-7" vif = [ ''type=ioemu, mac=00:16:3e:00:00:02, bridge=xenbr0'' ] acpi = 1 apic = 1 disk = [ ''file:/mnt/data/xen/vmstore/windows-7/xenwin7.img,xvda,w'', ''file:/mnt/data/xen/vmstore/windows-7/Windows-7.iso,hdc:cdrom,r'' ] boot="dc" sdl=0 vnc=1 vncconsole=1 vncpasswd='''' serial=''pty'' usbdevice=''tablet'' the guest starts but I can''t start vncviewer. # xl vncviewer 1 VNC Viewer Free Edition 4.1.3 for X - built Feb 16 2011 13:13:42 Copyright (C) 2002-2008 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Invalid MIT-MAGIC-COOKIE-1 keyvncviewer: unable to open display ":0" Is this problem solvable? I''ve read something about this in Internet but I didn''t understand if it is possible to solve it or not. Cheers, -- Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, I''m having some trouble running a windows guest after the migration to the new XEN tool stack. Note that I am running XEN on a Desktop Environment now, using the gentoo-sources-3.0.6 kernel. All the Linux guests are running without any problem at the moment. I access to my Linux box as a normal user and when I need to start a VM I become root and issue the needed commands to start a domU with the xl toolstack. Well, the problem is that when I start the windows guest, having the following configuration file kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1024 shadow_memory = 8 name = "windows-7" vif = [ ''type=ioemu, mac=00:16:3e:00:00:02, bridge=xenbr0'' ] acpi = 1 apic = 1 disk = [ ''file:/mnt/data/xen/vmstore/windows-7/xenwin7.img,xvda,w'', ''file:/mnt/data/xen/vmstore/windows-7/Windows-7.iso,hdc:cdrom,r'' ] boot="dc" sdl=0 vnc=1 vncconsole=1 vncpasswd='''' serial=''pty'' usbdevice=''tablet'' the guest starts but I can''t start vncviewer. # xl vncviewer 1 VNC Viewer Free Edition 4.1.3 for X - built Feb 16 2011 13:13:42 Copyright (C) 2002-2008 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Invalid MIT-MAGIC-COOKIE-1 keyvncviewer: unable to open display ":0" Is this problem solvable? I''ve read something about this in Internet but I didn''t understand if it is possible to solve it or not. Cheers, -- Flavio _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Flavio writes ("[Xen-devel] Help with Windows guest and
vncviewer"):> # xl vncviewer 1
>
> VNC Viewer Free Edition 4.1.3 for X - built Feb 16 2011 13:13:42
> Copyright (C) 2002-2008 RealVNC Ltd.
> See http://www.realvnc.com for information on VNC.
> Invalid MIT-MAGIC-COOKIE-1 keyvncviewer: unable to open display
":0"
Can you start "xterm" (or similar) at the root prompt ? If not, then
fix that first and I think you will find that xl vncviewer will work.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
On 17 October 2011 16:52, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:> Can you start "xterm" (or similar) at the root prompt ? If not, then > fix that first and I think you will find that xl vncviewer will work.Actually no. I can''t start xterm at least in this way. I usually fix this problem using this method: sudo su - -c "xauth merge $HOME/.Xauthority;export DISPLAY=:0.0 && xterm" as a normal user. And it works. So, if I put "xl vncviewer" in place of "xterm" in the command above, I can start it. This problem has been introduced about 2 years ago on Linux systems with the new Xorg and it comes when you are not the root user (in the sense that you logged in as a normal user and use "su" to issue the xl commands etc.). So I was wandering if there would be another solution to this problem in addiction to the one I''ve just posted above. Thanks! -- Flavio _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Flavio writes ("Re: [Xen-devel] Help with Windows guest and
vncviewer"):> Actually no. I can''t start xterm at least in this way. I usually
fix
> this problem using this method:
...> So I was wandering if there would be another solution to this
> problem in addiction to the one I''ve just posted above.
You would have to ask your Linux distro about that. This is not
something that the Xen project can fix.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
On 17 October 2011 17:18, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:> > You would have to ask your Linux distro about that. This is not > something that the Xen project can fix.You are right and please apologize me for taking your time in this circumstance. Anyway let me thank you again for your exemplary support. -- Flavio _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel