xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Getting GUI to work with Xen PVMs
@ 2010-07-19 22:43 Priya
  2010-07-19 23:11 ` Javier Guerra Giraldez
  2010-07-20  0:46 ` Dan Magenheimer
  0 siblings, 2 replies; 6+ messages in thread
From: Priya @ 2010-07-19 22:43 UTC (permalink / raw)
  To: xen-users, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 3302 bytes --]

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<http://ubuntuforums.org/showthread.php?t=318206>.
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

[-- Attachment #1.2: Type: text/html, Size: 13785 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Getting GUI to work with Xen PVMs
  2010-07-19 22:43 Getting GUI to work with Xen PVMs Priya
@ 2010-07-19 23:11 ` Javier Guerra Giraldez
  2010-07-20  0:33   ` Priya
  2010-07-20  0:46 ` Dan Magenheimer
  1 sibling, 1 reply; 6+ messages in thread
From: Javier Guerra Giraldez @ 2010-07-19 23:11 UTC (permalink / raw)
  To: Priya; +Cc: xen-devel, xen-users

On Mon, Jul 19, 2010 at 5:43 PM, Priya <pbhat@acis.ufl.edu> wrote:
> 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).


glxgears is a demo of OpenGL. if you don't need 3d, use another test,
like 'xeyes', or even 'xterm'.

if you do need openGL but don't mind it being (very) slow, search
about mesa3d. it's a software-only implementation of OpenGL but  i'm
not sure it works over a network.

if you _do_ need hardware accelerated 3d, search about vmgl; but i
don't know how complete is it already, or even if it's really usable.

another option is Virtualbox....


-- 
Javier

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Getting GUI to work with Xen PVMs
  2010-07-19 23:11 ` Javier Guerra Giraldez
@ 2010-07-20  0:33   ` Priya
  0 siblings, 0 replies; 6+ messages in thread
From: Priya @ 2010-07-20  0:33 UTC (permalink / raw)
  To: Javier Guerra Giraldez; +Cc: xen-devel, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 4077 bytes --]

Hey Javier,

Thanks for replying! I tried installing x11-apps (for 'xeyer') and xterm but
get the same 'segmentation fault, dpkg: error processing x11-common
(--configure)' in both cases:
-----------------------


root@xen13:~# sudo apt-get install x11-apps

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

  cpp cpp-4.2 defoma file fontconfig-config libexpat1 libfontconfig1

  libfreetype6 libgdbm3 libice6 libmagic1 libpng12-0 libsm6 libx11-6

  libx11-data libxau6 libxaw7 libxcb-xlib0 libxcb1 libxcursor1 libxdmcp6

  libxext6 libxfixes3 libxft2 libxkbfile1 libxmu6 libxmuu1 libxpm4
libxrender1

  libxt6 perl perl-modules ttf-dejavu ttf-dejavu-core ttf-dejavu-extra ucf

Suggested packages:

  cpp-doc gcc-4.2-locales defoma-doc dfontmgr psfontmgr x-ttcidfont-conf

  libfreetype6-dev libterm-readline-gnu-perl libterm-readline-perl-perl

  mesa-utils

Recommended packages:

  libft-perl perl-doc

The following NEW packages will be installed:

  cpp cpp-4.2 defoma file fontconfig-config libexpat1 libfontconfig1

  libfreetype6 libgdbm3 libice6 libmagic1 libpng12-0 libsm6 libx11-6

  libx11-data libxau6 libxaw7 libxcb-xlib0 libxcb1 libxcursor1 libxdmcp6

  libxext6 libxfixes3 libxft2 libxkbfile1 libxmu6 libxmuu1 libxpm4
libxrender1

  libxt6 perl perl-modules ttf-dejavu ttf-dejavu-core ttf-dejavu-extra ucf

  x11-apps

0 upgraded, 37 newly installed, 0 to remove and 0 not upgraded.

7 not fully installed or removed.

Need to get 777kB/16.0MB of archives.

After this operation, 49.7MB of additional disk space will be used.

Do you want to continue [Y/n]?

Get:1 http://archive.ubuntu.com hardy-updates/main libpng12-0
1.2.15~beta5-3ubuntu0.3 [189kB]

Get:2 http://archive.ubuntu.com hardy/main libxcursor1 1:1.1.9-1 [24.2kB]

Get:3 http://archive.ubuntu.com hardy/main libxmuu1 2:1.0.4-1 [13.4kB]

Get:4 http://archive.ubuntu.com hardy/main x11-apps 7.3+1 [551kB]

Fetched 777kB in 1s (495kB/s)

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)

-------------------------
It is possible that my machine is lacking some basic files, even though I
have performed an update/upgrade.

Can someone provide pointers as to why I am unable to install any software
on my PVM?

As far as 3d OpenGL animation is concerned, I would prefer something like
'glxgears' but its not important. Thanks you for all your suggestions. Once
I am able to install software on my PVM, I will test with all of them and
see what works best.

Thanks again!


On Mon, Jul 19, 2010 at 7:11 PM, Javier Guerra Giraldez
<javier@guerrag.com>wrote:

> On Mon, Jul 19, 2010 at 5:43 PM, Priya <pbhat@acis.ufl.edu> wrote:
> > 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).
>
>
> glxgears is a demo of OpenGL. if you don't need 3d, use another test,
> like 'xeyes', or even 'xterm'.
>
> if you do need openGL but don't mind it being (very) slow, search
> about mesa3d. it's a software-only implementation of OpenGL but  i'm
> not sure it works over a network.
>
> if you _do_ need hardware accelerated 3d, search about vmgl; but i
> don't know how complete is it already, or even if it's really usable.
>
> another option is Virtualbox....
>
>
> --
> Javier
>
>


-- 
Priya Bhat

[-- Attachment #1.2: Type: text/html, Size: 14799 bytes --]

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Getting GUI to work with Xen PVMs
  2010-07-19 22:43 Getting GUI to work with Xen PVMs Priya
  2010-07-19 23:11 ` Javier Guerra Giraldez
@ 2010-07-20  0:46 ` Dan Magenheimer
  2010-07-20  1:24   ` Priya
  1 sibling, 1 reply; 6+ messages in thread
From: Dan Magenheimer @ 2010-07-20  0:46 UTC (permalink / raw)
  To: Priya, xen-users, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 3835 bytes --]

Use "xm info" in dom0 to find out the Xen version.  If it is indeed Xen 3.0, that is so ancient that recent kernels are bound to have some problems.

 

From: Priya [mailto:pbhat@acis.ufl.edu] 
Sent: Monday, July 19, 2010 4:43 PM
To: xen-users@lists.xensource.com; xen-devel@lists.xensource.com
Subject: [Xen-devel] Getting GUI to work with Xen PVMs

 

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 HYPERLINK "http://ubuntuforums.org/showthread.php?t=318206"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

 

 

[-- Attachment #1.2: Type: text/html, Size: 18060 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Getting GUI to work with Xen PVMs
  2010-07-20  0:46 ` Dan Magenheimer
@ 2010-07-20  1:24   ` Priya
  2010-07-20 15:20     ` Priya
  0 siblings, 1 reply; 6+ messages in thread
From: Priya @ 2010-07-20  1:24 UTC (permalink / raw)
  To: Dan Magenheimer; +Cc: xen-devel, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 5647 bytes --]

Thanks for responding, Dan!

Here is the (partial) output of "xm info":
---

-bash-3.2$ sudo /usr/sbin/xm info

Password:

release                : 2.6.18-xen

version                : #1 SMP Sat Mar 1 14:47:04 EST 2008

machine                : i686

nr_cpus                : 2

nr_nodes               : 1

sockets_per_node       : 2

cores_per_socket       : 1

threads_per_core       : 1

cpu_mhz                : 3200

hw_caps                : bfebfbff:20000000:00000000:00000180:0000641d

total_memory           : 4095

free_memory            : 0

xen_major              : 3

xen_minor              : 1

xen_extra              : .0

xen_caps               : xen-3.0-x86_32p

xen_scheduler          : credit

xen_pagesize           : 4096

platform_params        : virt_start=0xf5800000

xen_changeset          : unavailable

cc_compiler            : gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)

cc_compile_by          : root

cc_compile_date        : Sat Mar  1 13:44:07 EST 2008

xend_config_format     : 4


--
You are right. This thing is ancient. I do not have root privileges on this
machine and cannot change the xen-version. Do you think I could perhaps work
around this problem somehow! :-(

All I need to do for the time being is to get the GUI based application to
work via the network really.

Cheers

On Mon, Jul 19, 2010 at 8:46 PM, Dan Magenheimer <dan.magenheimer@oracle.com
> wrote:

>  Use “xm info” in dom0 to find out the Xen version.  If it is indeed Xen
> 3.0, that is so ancient that recent kernels are bound to have some problems.
>
>
>
> *From:* Priya [mailto:pbhat@acis.ufl.edu]
> *Sent:* Monday, July 19, 2010 4:43 PM
> *To:* xen-users@lists.xensource.com; xen-devel@lists.xensource.com
> *Subject:* [Xen-devel] Getting GUI to work with Xen PVMs
>
>
>
> 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<http://ubuntuforums.org/showthread.php?t=318206>.
> 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
>
>
>
>
>



-- 
Priya Bhat

[-- Attachment #1.2: Type: text/html, Size: 22242 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Getting GUI to work with Xen PVMs
  2010-07-20  1:24   ` Priya
@ 2010-07-20 15:20     ` Priya
  0 siblings, 0 replies; 6+ messages in thread
From: Priya @ 2010-07-20 15:20 UTC (permalink / raw)
  To: Dan Magenheimer; +Cc: xen-devel, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 7639 bytes --]

All,

I have a 32 bit single processor dual core machines without hardware support
for virtualization on which I want to install the latest stable version of
Xen (4.0.0 ?), and then create a couple of para-virtual machines.

One of my requirements is to be able to access my PVMs remotely and run
graphics bases applications (glxgears, x11-perf, etc) on them. (An API
similar to XenCenter that works for Citrix
XenServer<http://community.citrix.com/display/xs/XenCenter>,
and in which you can access the console of all your VMs from a remote
machine would be even better).

I would like to get some recommendations about which is the good host
operating system, Xen version/settings and guest operating system to get
this to work. I found
this<http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/>and
this<http://bderzhavets.wordpress.com/2010/06/02/setup-libvirt-0-8-0-xen-4-0-on-top-of-ubuntu-10-04-server-via-daniel-baumann-virtualization-ppa/>documentation
about installing Xen on Ubuntu 10.04 server and virt-install
(which I do not fully understand yet.)

One thought is to use Ubuntu 10.04 as my host OS, install Xen 4.0.0 and then
get  Ubuntu-xen-desktop<http://packages.ubuntu.com/hardy-backports/base/ubuntu-xen-desktop>
working
with a graphical interface as my PVM. Would this be the correct way to
proceed? Any thoughts or comments would be useful!

I guess most of my questions are rather naive. I apologize for that but I am
yet to see a Xen PVM with a GUI!

Thanks!


On Mon, Jul 19, 2010 at 9:24 PM, Priya <pbhat@acis.ufl.edu> wrote:

> Thanks for responding, Dan!
>
> Here is the (partial) output of "xm info":
> ---
>
> -bash-3.2$ sudo /usr/sbin/xm info
>
> Password:
>
> release                : 2.6.18-xen
>
> version                : #1 SMP Sat Mar 1 14:47:04 EST 2008
>
> machine                : i686
>
> nr_cpus                : 2
>
> nr_nodes               : 1
>
> sockets_per_node       : 2
>
> cores_per_socket       : 1
>
> threads_per_core       : 1
>
> cpu_mhz                : 3200
>
> hw_caps                : bfebfbff:20000000:00000000:00000180:0000641d
>
> total_memory           : 4095
>
> free_memory            : 0
>
> xen_major              : 3
>
> xen_minor              : 1
>
> xen_extra              : .0
>
> xen_caps               : xen-3.0-x86_32p
>
> xen_scheduler          : credit
>
> xen_pagesize           : 4096
>
> platform_params        : virt_start=0xf5800000
>
> xen_changeset          : unavailable
>
> cc_compiler            : gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)
>
> cc_compile_by          : root
>
> cc_compile_date        : Sat Mar  1 13:44:07 EST 2008
>
> xend_config_format     : 4
>
>
> --
> You are right. This thing is ancient. I do not have root privileges on this
> machine and cannot change the xen-version. Do you think I could perhaps work
> around this problem somehow! :-(
>
> All I need to do for the time being is to get the GUI based application to
> work via the network really.
>
> Cheers
>
> On Mon, Jul 19, 2010 at 8:46 PM, Dan Magenheimer <
> dan.magenheimer@oracle.com> wrote:
>
>>  Use “xm info” in dom0 to find out the Xen version.  If it is indeed Xen
>> 3.0, that is so ancient that recent kernels are bound to have some problems.
>>
>>
>>
>> *From:* Priya [mailto:pbhat@acis.ufl.edu]
>> *Sent:* Monday, July 19, 2010 4:43 PM
>> *To:* xen-users@lists.xensource.com; xen-devel@lists.xensource.com
>> *Subject:* [Xen-devel] Getting GUI to work with Xen PVMs
>>
>>
>>
>> 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<http://ubuntuforums.org/showthread.php?t=318206>.
>> 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
>>
>>
>>
>>
>>
>
>
>
> --
> Priya Bhat
>
>
>


-- 
Priya Bhat

[-- Attachment #1.2: Type: text/html, Size: 24949 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-20 15:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-19 22:43 Getting GUI to work with Xen PVMs Priya
2010-07-19 23:11 ` Javier Guerra Giraldez
2010-07-20  0:33   ` Priya
2010-07-20  0:46 ` Dan Magenheimer
2010-07-20  1:24   ` Priya
2010-07-20 15:20     ` Priya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).