💾 Archived View for seydaneen.nahtgards.de › leuchtturm › dwemerartefakte › blog › 2023-02-17.gemini captured on 2023-05-24 at 17:48:46. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-03-20)
-=-=-=-=-=-=-
X11 is quite outdated on Mac OS X. Even on current "macOS" versions it is still difficult to work with xorg applications of a linux hosts.
The problem is, that current linux applications want stuff the Mac OS X version doesn't implement like XInput 2. If you just work with Terminology or Leafpad (...) it's not a problem. But what if you want to use for example a modern Terminal or KeePassXC? Than you have to go with Xepyhr. It's a nexted X server that runs inside a window of X11 on Mac OS X; basically a X server in another X server. It is really slow to use. You will see the frames. But with it you can use every X application the linux host - your Zero inside your G4 ;) - has to offer.
1.) Install Xephyr and window manager on linux side: sudo apt install xserver-xephyr openbox
2.) Make sure X11 runs on Mac OS X and you are connected via "ssh -X host"
3.) Start Xephyr, set the Display to, for example :1, and run your window manager and application
Here is a little starter script to run an application in a new Xephyr window:
#!/bin/bash # Starts the x server on :1 Xephyr -br -ac -noreset -screen 1024x800 :1 & # Give Xephyr a second to start up sleep 1 # Start the window manager DISPLAY=:1 openbox & # Start the application you want to run DISPLAY=:1 "$@"
Place the script - i named it xremote.sh - in .local/bin and use it like this:
myG4 > ssh myPi myPi > xremote.sh sakura -s
(sakura is the terminal of my choise on linux hosts besides terminology ;) )
With this setup the clipboard can't be shared. Maybe some handler helps? Please reply if you have an idea!
---