-- Leo's gemini proxy

-- Connecting to seydaneen.nahtgards.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Sorbet G4: Hints for working with X11

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.


Howto

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 ;) )


Problems

With this setup the clipboard can't be shared. Maybe some handler helps? Please reply if you have an idea!

---

zurück (back)

-- Response ended

-- Page fetched on Sun May 19 15:41:18 2024