- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Want to Run Two X-Servers on same Server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 07:04 AM
тАО04-08-2009 07:04 AM
Want to Run Two X-Servers on same Server
While logged into CDE to the HPVM Host, I would like to start the Gnome or KDE desktop for the SLES 10 VM Guest on one of the workspaces without the local HP-UX window manager being in control of that workspace.
If this isn't possible, what would be the most efficient way to configure two different X Servers, one that would display the default CDE login for the HPVM Host and the other that could be started on demand to access the SLES 10 HP VM Guest and have its Gnome or KDE window manager in control?
Best Regards,
Ted Allen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 11:54 AM
тАО04-08-2009 11:54 AM
Re: Want to Run Two X-Servers on same Server
Can the HPVM guest even see the VGA adapter?
Run "/sbin/lspci | grep -i vga" in the guest. Does it see any (virtualized) VGA adapters at all? An older thread on these forums seemed to indicate the guest does not get a virtual VGA adapter at all.
But... I think there is a way.
(DISCLAIMER: I have not done this myself. I just read about it, and I think it fits your requirements.)
Keep the ordinary HP X server on the host, and use a nested X server on the guest (Xnest or preferably Xephyr, if SLES 10 supports it).
A nested X server draws one window (which can be a full-screen one) to the real X server, and mostly just passes through all X protocol requests, so it should be an efficient solution. If you can get this to work, you should get the entire guest SLES desktop inside one big window on the host X server.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 03:30 PM
тАО04-08-2009 03:30 PM
Re: Want to Run Two X-Servers on same Server
In the meantime I have been successful getting in via a Mozilla web browser session on the HPVM host to the VNC server (port 5801) of the SLES 10 VM guest. This presents the entire desktop within a browser window. Somewhat difficult to read because of sizing but usable. When I attempted this with Firefox on HP-UX it complained about needing a plug-in (application/x-java-vm). I'm not having much luck finding the correct plug-in to make it happy.
On Mac OS X I simply start an X Server application in full screen mode assigned to a different space than where the other apps are displayed and I get what I need. I was looking for similar function within the X Server on HP-UX.
Best Regards,
Ted Allen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 01:33 AM
тАО04-09-2009 01:33 AM
Re: Want to Run Two X-Servers on same Server
See /opt/java1.4/jre/plugin/IA64N/mozilla or
/opt/java1.5/jre/plugin/IA64N/mozilla. On 11iv3, either or both of those should conatain a libjavaplugin_oji.so file in the default installation. Symlink that file to the plugin directory of your browser, and make sure the Java binary directory (/opt/java1.?/bin and/or /opt/java1.?/jre/bin) is added to your PATH before starting your browser.
---
On MacOS X the situation is different, because there the X server needs to cooperate with Mac-native GUI applications that use MacOS APIs instead of the X protocol. So the Mac X server must always be designed to share the control of the desktop.
In HP-UX the X server has total control of the VGA controller, and it is not expected to share that control with anything else. So either HPVM would have to provide a fully virtualized VGA controller to the guest (a complicated piece of programming, with a minimal benefit in typical server use), or the sharing must happen in some way that is allowed by the X protocol.
For both Linux and HP-UX, the local display controller is optional, so it makes sense not to implement it for HPVM guests. That leaves only the solutions working within the X protocol, e.g. the nested X server.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 04:45 AM
тАО04-09-2009 04:45 AM
Re: Want to Run Two X-Servers on same Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 05:10 AM
тАО04-09-2009 05:10 AM
Re: Want to Run Two X-Servers on same Server
But you car run many X virtual frame buffers (Xvfb). But the virtual frame buffers are not attached to any display.
By example you can have on a two graphic cards with each a screen connected (2 screens at the total):
a X server on first graphic card displaying on first screen (wks:0.0)
a second X server on second graphic card displaying on second screen (wks:1.0)
a X virtual display on wks:10.0, but not displayed on any screen.
a second X virtual servers on wks:11.0
It's mostly used by batch mode graphic application who needs graphic library and a X server to run ..
But I'm not sure this can be usefull for your request..
Regards
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2009 10:17 PM
тАО04-12-2009 10:17 PM
Re: Want to Run Two X-Servers on same Server
I think the simplest solution is to run VNC on all
the VM guests and the VM host. Then you can run
the VNC client from anywhere. You do not need to
use the browser-based VNC client (java applet) -
you can run it as java application from the
command line. Better yet, get the native VNC
client which is available for many environments
(Windows, x86 Linux, PA-RISC, etc.) and use that.