On Wed, 4 May 2016, Kolodziej, Jeffrey A. (WSC-452.0)[COMPUTER SCIENCE CORP] 
wrote:

> CDE Experts:
>
> First of all, thank you for the great work you are doing keeping CDE
> alive.
>
> We currently have a set of workstations that run HP-UX 10.20 (and the
> CDE) to provide our GUI Applications. My boss has asked me to migrate
> our Applications to a more modern environment. His idea is to run this
> using Virtual Machines (VMs) and Linux. Sooo, I currently have a
> Windows 7 PC that runs VMWare Workstation 10. Within VMWare, I
> am running CentOS 7.2 and CDE 2.2.3 (instead of Gnome) that I built from
> source. I mimic our current Application FrontPanel . This architecture works
> and the "PC" acts just like our current HP-UX workstations. My penultimate
> task is to get this architecture to work with two monitors.
>
> I cannot seem to get two monitors to work completely with CDE. I have
> worked this issue for two weeks with no luck, so I am asking for your help.
> If I use Win7/VMWare10/CentOS7/Gnome, I have no problems. I do have
> VMWare Tools (not open-vm-tools) installed in the guest (CentOS 7.2) OS.
> The physical PC has only one graphics card installed, but the card can drive
> two monitors (like it does using Gnome). Within CentOS, I believe I have
> only one video device (/dev/fb0) available, so I have not made any changes
> to the X config file (/etc/X11/xorg.conf). I have made a lot of little 
> changes in
> the last weeks to get this to work and, at one point, I had something close.
> In full-screen two-monitor mode within VMWare/CentOS 7, my first monitor
> had the "usual" look - I had a centered FrontPanel with the expected
> backdrop and dtterm windows. The second monitor was totally black (i.e. no
> backdrop). From the first monitor, I was able to drag a dtterm window from
> the first monitor to the second monitor. The left side of the dtterm window,
> however, would get "stuck" to the right side of the first monitor. I could 
> reside
> this window in the second monitor, but I could not get the left side of the
> dtterm window to "unstick" from the right side of the first monitor. This 
> implies
> (to me, anyway) a problem with X, but I don't know enough about X to fix this.
>
> What additional steps do I need to take to get two monitors to work using
> VMWare/CentOS/CDE? I beg your pardon if this is a VMWare problem - my
> guess is people who know CDE are more likely to know VMWare than vice-versa.
>
> Thanks for the help.
>

I'm not sure I can help you too much - I don't have any windows boxes
nor do I use VMWare (I do use VBox however).  I have also never tried
CDE in a VM with two monitors.

I have run CDE on actual hardware with two monitors though.

In Linux/X11, there are basically two ways to configure a
multi-monitor setup:

1. What is/was called SLS mode - this is the most common mode.  Two or
more monitors are tied together to form one large X11 screen.  If you
have 2 1024x768 monitors configured side-by-side, then you would see
(via xdpyinfo output) a single x11 screen with 2048x768 resolution.
You can drag windows from monitor to monitor w/o problem.

This mode should work fine on CDE.

2. The other mode, less used these days is where each monitor is
configured as a separate X11 screen.  I believe the Xorg guys call
this Zaphod mode.  This mode allows the monitors to have different
color depths, which is an advantage for example, if you need one monitor
to run at 24bpp, and another to run at 8bpp to support legacy
applications.  However in this mode you cannot drag a screen from one
monitor to another.

xdpyinfo would then show separate X11 screens, each with separate
resolutions, color depths, etc

CDE will not currently work well in this mode.  It will try, but it
will generally suck.

That support would need to be added.  I did this once many years ago
for a commercial version of CDE -- I had on my TODO list someday to
dust that stuff off and integrate it into this CDE, but I think hardly
anyone runs X11 in that mode anymore.

But -

What you describe suggests that the SLS (scenario 1 above) is what you
are trying to use.

Use xdpyinfo to see.

As I said this should already work.  You might check to make sure that
the XINERAMA extension shows up in xdpyinfo output too.

And if you can, you might try it on real hw (ie: not use vmware).

Maybe others more versed in VMware with a Windows host can provide
more info...

-jon

> Regards,
>
> Jeff Kolodziej
> jeffrey.a.kolodz...@nasa.gov
>
>

-- 
Jon Trulson

"If we can hit that bull's-eye, the rest of the dominoes will fall
like a house of cards... Checkmate."
                                         -- Zapp Brannigan

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
  • [cdesktopenv-deve... Kolodziej, Jeffrey A. (WSC-452.0)[COMPUTER SCIENCE CORP]
    • Re: [cdeskto... Jon Trulson

Reply via email to