From mboxrd@z Thu Jan 1 00:00:00 1970 From: Priya Subject: Getting GUI to work with Xen PVMs Date: Mon, 19 Jul 2010 18:43:08 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0663538994==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0663538994== Content-Type: multipart/alternative; boundary=0016e647184816ae73048bc54c3f --0016e647184816ae73048bc54c3f Content-Type: text/plain; charset=ISO-8859-1 All, I am working with Xen 3.0 (I think, though can someone please tell me how I could verify this!) I want to install a couple of PVM which I could access with a X-terminal. (I don't know if I am using the correct terminology here, so I will elaborate: I want to start my PVM, ssh to them using the -X option [ssh -X user@pvm_ip] from another machine, and be able to run a command like "glxgears", so that a pop up window showing the gears-animation shows up and the console prints the FPS information). At this point, I already have a PVM installed running a guest OS with kernel 2.6.24-16-xen. However when I try to install "nvidia-glx" for the glxgears API I get the following error: ---------------- root@xen13:~# sudo apt-get install nvidia-glx Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: binutils-static cpp cpp-4.2 libdrm2 libfontenc1 libfreetype6 libgl1-mesa-glx libglu1-mesa libhal1 libice6 libpixman-1-0 libsm6 libx11-6 libx11-data libxau6 libxaw7 libxcb-xlib0 libxcb1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxfont1 libxi6 libxkbfile1 libxmu6 libxpm4 libxt6 libxxf86vm1 linux-restricted-modules-common mdetect x11-xkb-utils xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom Suggested packages: cpp-doc gcc-4.2-locales libfreetype6-dev nvidia-kernel-source nvidia-settings xfonts-100dpi xfonts-75dpi xfonts-scalable gsynaptics ksynaptics qsynaptics wacom-tools Recommended packages: displayconfig-gtk libgl1-mesa-dri xfonts-base The following NEW packages will be installed: binutils-static cpp cpp-4.2 libdrm2 libfontenc1 libfreetype6 libgl1-mesa-glx libglu1-mesa libhal1 libice6 libpixman-1-0 libsm6 libx11-6 libx11-data libxau6 libxaw7 libxcb-xlib0 libxcb1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxfont1 libxi6 libxkbfile1 libxmu6 libxpm4 libxt6 libxxf86vm1 linux-restricted-modules-common mdetect nvidia-glx x11-xkb-utils xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 7 not fully installed or removed. Need to get 0B/14.4MB of archives. After this operation, 41.2MB of additional disk space will be used. Do you want to continue [Y/n]? y Extracting templates from packages: 100% Preconfiguring packages ... Setting up x11-common (1:7.3+10ubuntu10.2) ... Segmentation fault dpkg: error processing x11-common (--configure): subprocess post-installation script returned error exit status 139 Errors were encountered while processing: x11-common E: Sub-process /usr/bin/dpkg returned an error code (1) ------------------- I Googled this error and found a number of suggestions. But all the suggested work-arounds lead me to this same error. What am I missing here? Do I indeed need to install nvidia-glx on my PVM ? Any advice would be helpful! -- Priya Bhat --0016e647184816ae73048bc54c3f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
A= ll,

I am working with Xen 3.0 (I think, though can so= meone please tell me how I could verify this!)

I = want to install a couple of PVM which I could access with a X-terminal. (I = don't know if I am using the correct terminology here, so I will elabor= ate: I want to start my PVM, ssh to them using the -X option [ssh -X user@p= vm_ip] from another machine, and be able to run a command like "glxgea= rs", so that a pop up window showing the gears-animation shows up and = the console prints the FPS information).

At= this point, I already have a PVM installed running a guest OS with kernel = 2.6.24-16-xen. However when I try to install "nvidia-glx" for the= glxgears API I get the following error:

--= --------------
root@xen13:~# sudo apt-get install nvidia-glx
Reading package lists... Done
Building dependency tree =A0 =A0 =A0=A0<= /div>
Reading state information... Done
<= /font>
The following extra packages will be ins= talled:
=A0=A0binutils-stati= c cpp cpp-4.2 libdrm2 libfontenc1 libfreetype6 libgl1-mesa-glx
=A0=A0libglu1-mesa l= ibhal1 libice6 libpixman-1-0 libsm6 libx11-6 libx11-data
=A0=A0libxau6 libxaw= 7 libxcb-xlib0 libxcb1 libxdamage1 libxdmcp6 libxext6
=A0=A0libxfixes3 lib= xfont1 libxi6 libxkbfile1 libxmu6 libxpm4 libxt6 libxxf86vm1
=A0=A0linux-restrict= ed-modules-common mdetect x11-xkb-utils xserver-xorg
=A0=A0xserver-xorg-c= ore xserver-xorg-input-all xserver-xorg-input-evdev
=A0=A0xserver-xorg-i= nput-kbd xserver-xorg-input-mouse xserver-xorg-input-synaptics
=A0=A0xserver-xorg-i= nput-vmmouse xserver-xorg-input-wacom
Suggested packages:<= /div>
=A0=A0cpp-doc gcc-4.= 2-locales libfreetype6-dev nvidia-kernel-source
=A0=A0nvidia-setting= s xfonts-100dpi xfonts-75dpi xfonts-scalable gsynaptics
=A0=A0ksynaptics qsy= naptics wacom-tools
Recommended packages= :
=A0=A0displayconfig-= gtk libgl1-mesa-dri xfonts-base
The following NEW pa= ckages will be installed:
=A0=A0binutils-stati= c cpp cpp-4.2 libdrm2 libfontenc1 libfreetype6 libgl1-mesa-glx
=A0=A0libglu1-mesa l= ibhal1 libice6 libpixman-1-0 libsm6 libx11-6 libx11-data
=A0=A0libxau6 libxaw= 7 libxcb-xlib0 libxcb1 libxdamage1 libxdmcp6 libxext6
=A0=A0libxfixes3 lib= xfont1 libxi6 libxkbfile1 libxmu6 libxpm4 libxt6 libxxf86vm1
=A0=A0linux-restrict= ed-modules-common mdetect nvidia-glx x11-xkb-utils
=A0=A0xserver-xorg x= server-xorg-core xserver-xorg-input-all
=A0=A0xserver-xorg-i= nput-evdev xserver-xorg-input-kbd xserver-xorg-input-mouse
=A0=A0xserver-xorg-i= nput-synaptics xserver-xorg-input-vmmouse
=A0=A0xserver-xorg-i= nput-wacom
0 upgraded, 42 newly= installed, 0 to remove and 0 not upgraded.
7 not fully installe= d or removed.
Need to get 0B/14.4M= B of archives.
After this operation= , 41.2MB of additional disk space will be used.
Do you want to conti= nue [Y/n]? y
Extracting templates= from packages: 100%
Preconfiguring packa= ges ...
Setting up x11-commo= n (1:7.3+10ubuntu10.2) ...
Segmentation fault
dpkg: error processi= ng x11-common (--configure):
=A0subprocess post-i= nstallation script returned error exit status 139
Errors were encounte= red while processing:
=A0x11-common
<= /font>
E: Sub-process /usr/bin/dpkg returned an= error code (1)
=

-------------------<= /font>

= =A0I Googled this error and found a number of suggestions. But all the suggested wor= k-arounds lead me to this same error. What am I missing here?=

Do= I indeed need to install nvidia-glx on my PVM ?
Any advice would be = helpful!
--
Priya Bha= t
=


--0016e647184816ae73048bc54c3f-- --===============0663538994== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0663538994==--