Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd June 2009, 03:45
Balbuzard Balbuzard is offline
Junior Member
 
Join Date: Mar 2009
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default [Xen]Direct access to hardware

Hey,

I am using Xen to provide separated VM and to run network applications in one of them (No graphic applications) and a Media Center in Dom0. I would like to run the Media Center in a DomU, which would be better for safety reason, and for this purpose, I have to get direct access to the Hardware and more specifically to the graphic card. (VNC is not enought).
With Xen, the dom0 and the DomU are both in the hypervisor, and should have the same structure, except that dom0 can control or modify the domUs. So, if I remove direct access to the hardware for dom0, I can provide it for one of the domU. But until now, I have not found any documentation about it.
I just want to install a graphic server on one of the DomU, remove the direct access to the graphic card from the dom0, and then provide the direct access to the graphic card to the domU.
Can someone tell me if this is possible, and in this case, if there is somewhere some documentation/tutorial/any clue to begin with?

Thank you very much for your answer!
Reply With Quote
Sponsored Links
  #2  
Old 23rd June 2009, 03:30
Balbuzard Balbuzard is offline
Junior Member
 
Join Date: Mar 2009
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hey,
So I have tried to install a graphic server in the VM.
Code:
apt-get install x-window-system-core
and then a desktop
Code:
apt-get install xfce4
But during the installation, this message returns:
Code:
No userspace software suspend support in the kernel
The current kernel doesn't support userspace software suspend. 
Please recompile the kernel with the 'CONFIG_SOFTWARE_SUSPEND=y' option.
Which I have tried to google but without success.
In fact, I presume that I should recompile my kernel, but how is it possible with paravirtualisation - Image-Based VM with xen?
And what does this error mean?
Thanks a lot for your help!
Reply With Quote
  #3  
Old 24th June 2009, 07:20
Balbuzard Balbuzard is offline
Junior Member
 
Join Date: Mar 2009
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Oki, I have tried to install kde instead of xfce and no error occurs.
It is working by VNC.
I have then compiled and installed XBMC without any problem, but it does not work.
When I enter xbmc" in the shell, it returns:
Code:
Xlib: extention "RANDR" missing on display ":1.0"
RandR extension missing
I have tried then to export DISPLAY=":0.0" (which does not seem to be right, because vncserver is running on 1:0) and then the shell returns
Code:
Cannot get root display. Is X11 running and is your DISPLAY variable set?
Indeed, as I am running via VNC, and not directly to the graphic server, X11 can as well appear as not running.
Is there any trick to workaround this issue?
Or, is it possible to provide the direct access to the graphic server and the graphic card to DomU instead of Dom0?
I am sure it is possible, because the structure of the DomU and Dom0 is basically the same with paravirtualization, with Dom0 is only provided tools to control the DomUs.
But I don't know how to make the graphic server connect directly to the hardware.
Thanks a lot for your help and answers! Any kind of documentation related to my issue would be very helpful!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig on a RaQ2 mattm Installation/Configuration 12 23rd January 2008 18:17
update failed loge Installation/Configuration 6 1st December 2007 17:53
Use a usbpen as hardware key for access to pc fabbrosandro HOWTO-Related Questions 0 12th September 2007 22:30
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02


All times are GMT +2. The time now is 22:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.