Benches Displays

10

Displaying X11 applications on multiple m…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I have an iMac 20 with an external monitor. I can easily display any Mac OSx app window except X11 app windows such as xterm, xeyes, xman, etc. on the external monitor. Any clues?

Message was edited by: Hawaiian Scuba Dude

10 replies

Sign in or join Beachball Help to reply.

  1. 0

    Bill Scott

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I believe this is a known bug (10.5). Sorry I can't be more helpful.

  2. 0

    etresoft

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I haven't tried this on a Mac, but back in the '90s, on Solaris, you would just specify the display number as part of the DISPLAY environment variable. For example, you could do:

    "export DISPLAY=<my ip>:0; xterm" to display xterm on your main display

    "export DISPLAY=<my ip>:1; nedit" to run nedit on your secondary display

    "export DISPLAY=<newbie ip>:0; xeyes" to freak out the new kid how has never used UNIX before

  3. 0

    Hawaiian Scuba Dude

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    According to man X11, setting the display to 😮.1 will enable applications to be displayed on the same computer and a second screen. Running xdpyinfo shows that both screens (:0.0 and 😮.1) are recognized for the local display

    Is there a forum monitored by Apple or access to maintenance board for incidents and enhancements somewhere?

  4. 0

    Hawaiian Scuba Dude

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hmmmm, "Oh!" smileys made from local display variables. 😉

  5. 0

    Hawaiian Scuba Dude

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I'm not sure how a display of :1 would be configured.

    Bill, based on Apple documentation, everything appears to be there. Prefixing the command xeyes with the time command shows system perf time is recorded while the mouse is moving on the second monitor. My guess is the X apps are running but the screen is not being refreshed to show it. I hate falling back and blaming others but I think you're right, the product does not work as documented.

    Is there a forum monitored by Apple or access to maintenance board for incidents and enhancements somewhere? Is there a status?

  6. 0

    nols_geek

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I may not be reading you properly, but I think I had, and solved, the same issue.

    When I upgraded to 10.5 I was unable to move a window entirely onto a second monitor ... Most of it would move over, but not the last portion "held" by the cursor.

    I was able to fix this by installing the latest version of X11.app, found here:

    http://trac.macosforge.org/projects/xquartz

  7. 0

    Bill Scott

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    You found documentation for X11 on 10.5????

    Cool.

    Two things you can try:

    1. On 10.5, the DISPLAY variable gets set automatically. You can defeat this by disabling the launchd item, then try setting manually. IIRC, when I had 2 monitors, X11 worked on either with no problems (and no special variable set).

    2. Regress to X11.app for 10.4.

  8. 0

    Bill Scott

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Woops. Try that first!

  9. 0

    Hawaiian Scuba Dude

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    nols_geek: The issue is the same as yours. I can push X objects almost completely to the second screen as long as a few points remain on the first for grabbing. I cannot push the entire window to the second screen nor can I reference/point to any portion of the window that is in the second screen. I can only reference/point to objects on the first screen. For static displays, it is okay but the Xapp is non-functional on the second screen. Thanks for the open issues lists, do you have a incident/ticket number that you are referencing?

    Bill: No, sorry to scare you into thinking there might be good X documentation out there 😉.I did not find an X man page for 10.5, dumping the X static usage is all I found.

    The key information I was referencing was the output of the xdpyinfo command. I used the X man page for 10.4 I gleaned from Huntsville Mac Users' Group (hmug.org) to define the format of the DISPLAY variable and whether it should be :1 or "😮.1". This backed up the format of the output of the xdpyinfo which stated both screens were working and defined the features for both screens for the display variable and these matched the display preferences defined in the System preferences application. 1=1

    So to test this, I tried xeyes with the display variable set to the first screen. If the mouse pointer did not move, there is no system CPU activity for the application. If I moved the mouse pointer a lot for a minute, there were a few tenths of a second of CPU activity monitor. I received similar results with the same exercise on the second screen.

    I really want to use both monitors. My second monitor is somewhat smaller than my built in 20" screen, so I really don't want the second display over the internal screen and reverting to 10.4 is not desired since other 10.5 benefits have a higher priority than this incident.

  10. 0

    Hawaiian Scuba Dude

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The update on 12/11/2007 identified above by nols_geek is the solution and works great.

    Here it is specific web page pointed to by the cover page.

    http://trac.macosforge.org/projects/xquartz/wiki/X112.1.1