Neither XFree86 (from fink) nor X11 (from Apple) run on Mac OS X when Mac OS X is being run inside Linux with mac-on-linux (mol).
I have no problem running X on Mac OS X when Mac OS X is running natively. Similarly, no problem running Mac OS X on Linux. But I cannot get the 3X working together (see error message at the end). I tried different configuration of mol/X without success.
The info from the mol mailing list was saying that we would need to look at the source of XFree86 to find out what goes on problem. However, I'm inexperienced with keyboard mapping stuff and I'm quite busy with my studies right now.
I would like to know if anyone has been successful running (X on Mac OS X)-on-Linux.
Thanks in advance,
--- output from XFree86 ---
XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
If the server is older than 6-12 months, or if your hardware is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ\)
Operating System: Darwin OSVendor
Using keymapping provided in /System/Library/Keyboards/USA.keymapping.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
QuartzAudioInit: No audio output devices available.
PseudoramiX screen 0 added: 1024x768 @ (0,0).
PseudoramiX screen 0 placed at X11 coordinate (0,0).
[DRI] disabled direct rendering; requires CoreGraphics 1.157.11
[DRI] screen 0 installation complete
Screen 0 added: 1024x768 @ (0,0)
Keymapping file '/System/Library/Keyboards/USA.keymapping' did not contain
+appropriate keyboard interface.
Reverting to kernel keymapping.
Fatal server error:
Could not get kernel keymapping! Load keymapping from file instead.
X connection to :0.0 broken (explicit kill or server shutdown).
I'm not sure why this is happening, but it seems to me that Mac-on-Linux does something odd with the emulated keyboard. The source is available from the CVS at www.xfree86.org - if anyone wants to take a look, feel free.
However, you don't have to do this. You could run XFree86 on the Linux side, and any program available for OS X is surely available for Linux. If you cannot find a PPC binary, it should compile from the source without problems.
I don't know how the network interface is designed in Mac-on-Linux, but I suspect that simply starting Xfree on Linux and entering
setenv DISPLAY 127.0.0.1:0
in any Apple Terminal will let you run OS X-compiled X11 programs.
Thanks a lot!
I don't know why but I never thought of displaying it on the linux side even though I'm running X applications remotely on a daily basis.
Just in case people are wondering why I wanted to do the X on X on X is that I usually boot in GNU/Linux but I'm starting to do some port/development for Mac OS X and I still like to use some Unix tools (like GNU emacs - the UNIX version).
In case others, want to do it,
the command is: setenv 192.168.1.1:0.0
(A mini-network 192.168.1.x is done between both OS. Linux is 192.168.1.1 and Mac OS X is 192.168.1.2 by default).
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.