I have several X11 applications that I would like to run on Haiku, however, as much as I understand, there isn’t any X11 server available for Haiku at the moment. It would be nice to see at least some kind of rootless X server for Haiku to run these applications without the need to port them manually.
Hey there, unfortunately, it’s not quite possible to swap out Tracker (basically Haiku’s version of X11) for X11. We do have lots of apps from Linux available on HaikuDepot, our software repository. We’ve ported apps like LibreOffice, VLC and also many KDE apps which should work fine. Porting is done through Haiku Ports, an organised porting system. If there is an app you wish to be ported to Haiku you can put a suggestion in the forums or you can learn how to port the apps yourself through Haiku Ports:
Hey, tracker has basically nothing to do with the stuff X11 would do, it’s “only” a client application, even if it is a big one, you can stop it with launch_roster and all your applications will still work basically.
The equivalent we have is app_server, the protocol is somewhat internal to haiku though and it’s not ment to be used directly by third party applications without using the application kit like X11 is.
We have some frameworks ported that many applications on linux use, or that some applications have as optional backends, those can be used for porting.
There is no X11 server on haiku as far as i know. (Unless you count booting linux in qemu)
Xsdl (X.Org server with libsdl backend) port was available on TiltOS project (3-rd party package manager for Haiku before HPKG was introduced, no longer maintained).
No. Haiku alternative to X.Org server is app_server. Alternative to xlib is libbe.so (app_server protocol client, set of common GUI controls and more).
Tracker is regular GUI application. Tracker code is actually located in libtracker.so (something like shell32.dll in Windows), Tracker executable just run code in libtracker.so.
My patch for https://github.com/pelya/xserver-xsdl - https://pastebin.com/WGzd1qee
Xsdl required xkbdcomp for start (builded without patches) and put xkbdcomp to ./data/usr/bin
Start command: ./Xsdl :0 -screen 640x480x24 -mouse mouse -keybd keyboard -nolock -fp ./data/
PS: you need set: export SECURE_STORAGE_DIR= to server data folder
What if each X11 window would render inside a Haiku window? X11 soft would look like Haiku soft… Would it need an X11 server instance for each window then?.. Just thinking aloud…
It is called rootless X11 server and it requires more complex interaction with OS GUI subsystem. It will require to write a lot of Haiku-specific code at X.Org side.