You should be able to do that via DNS SRV entries.
_xmpp-client._tcp.domain.tld. TTL IN SRV priority weight port target
_xmpps-client._tcp.domain.tld. TTL IN SRV priority weight port target
example:
_xmpp-client._tcp.not-my-domain.com. 3599 IN SRV 5 0 5222 jabber.my-domain.com.
You could also build a reverse proxy setup. Then you wouldn't need the keys to the SSL certs. But that is probably overkill to run at your client: https://wiki.xmpp.org/web/Tech_pages/XEP-0368
I don't think I have seen a client complain about the cert being for jabber.my-domain.com
Which one is giving trouble there?
> The receiving entity SHOULD choose which certificate to present
> based on the domainpart contained in the 'to' attribute of the
> initial stream header (in essence, this domainpart is
> functionally equivalent to the Server Name Indication defined for
> TLS in [TLS-EXT]).
and 13.7.2 says
> Once the identity of the stream peer has been validated, the
> validating entity SHOULD also correlate the validated identity with
> the 'from' address (if any) of the stream header it received from the
> peer. If the two identities do not match, the validating entity
> SHOULD terminate the connection attempt (however, there might be good
> reasons why the identities do not match, as described under
> Section 4.7.1).
You can manually set a server in most clients, and I don't know how that is generally implemented. I guess that should work then.
But if you serve a certificate for jabber.example.com for a user trying to connect to an account user@example.com using SRV records then that mismatch will give you at least a certificate warning popup. And for good reason too: How would a user verify that a certificate
Huh, so someone actually built this? I was thinking about something similar the other day, in the form of a Windows 9x driver that would use that inaccessible RAM as a "page file".
I did a similar thing on my DOS PC. Lots of DOS software gets confused when there is more than 64MB of XMS/EMS free. So I just gave 64MB of the 128MB to smartdrv.
It's more RAM drive I ever had when using DOS for work back in the day.
Win95 complains about needing REAL mode compatibility for a RAM disk though. I wonder how much performance degradation is noticeable with a RAM disk though.
Hard disagree. You can run the same programs on any DE or Window Manager or even without one (on pure X11 for example). That's not a hurdle it's a feature.
Users who don't know about the feature can just use a pre-configured system like Mint Cinnamon and never know about any of these things.
Linux user for decades, but headless since the early aughts. Decided to dip my toes back into the desktop space with Mint Cinnamon.
I can mirror or run lots of phone apps on Windows or macOS, but ironically, not Linux. I decide to run an Android emulator so I can use some phone-only apps.
I read up on reviews, then download and install Waydroid as the top contender.
Does Waydroid work? No. It fails silently launching from the shortcut after the install. Run it from the command line, and, nope, it's a window manager issue. Mint Cinnamon uses X11, not Wayland, and Waydroid apparently needs... Wayland support.
OK, I log out, log into Mint with Wayland support, then re-launch Waydroid. My screen goes into a fugue state where it randomly alternates between black and the desktop. Try a variety of things, and I guess this is just how it is. Google and try any number of fixes, end up giving up.
Yes, that's my old pal Linux on the Desktop. Older, faster and wiser, but still flaky in precisely the same ways.
You can't run X11 programs on Wayland without Xwayland.
Likewise you cannot run Wayland programs on X11 without a wayland compositor like Cage (a wayland kiosk) or Weston. Both run as a window on X11 inside of which Waydroid works just fine.
It's an odd complaint that incompatible software is incompatible.
I did. I agree it's not obvious.
But you cannot run OpenGL, Vulkan, Glide or DirectX on Windows either without having the proper hardware and software installed.
So yeah. Waydroid needs wayland. Anbox runs on X11.
> OpenGL, Vulkan, Glide or DirectX on Windows either without having the proper hardware and software installed
Windows will run at least basic OpenGL and DirectX in software if you don't have hardware to accelerate that, and those software renderers are included as part of the OS. It'll run like garbage, but it will run.
Bluestacks works fine for this on PC and Mac, and I've seen casuals use that because they want to play their gacha game on a bigger screen.
Waydroid compleatly fails in comparison, while giving you no pointers on what the problem might be or how to solve it unless you're already a Linux power user.
Headless daily driver? Hardcore. What do you use for a browser?
I've tried it as a challenge for a couple of days (lynx, mutt, some other TUI stuff) and it made some things like Vim stick (although that may have as much to do with that challenge as Tridactyl did). But I couldn't last longer than a week. It does free you from the burden of system requirements. CPU: Optional.
w3m can even display images in a linux console if you have the proper drivers or use KMSCON. It unwieldy but surprisingly usable. And my laptop battery runs for 8 hours which is quite amazing for a Zen1.
I imagine your display is almost entirely black for the majority of the time, with your (most probably) LCD backlight blasting away, trying its hardest to get a few thousandths of its light output through the few pixels on the screen that it can escape! XD
Brightness down, LAN card disabled (the media sense on RTL cards sucks about 1.5W with no cable plugged in, wtf? Thats more than the Wifi needs)
And powertop (great piece of software, thanks Intel) tuned to the max + powersave scheduler.
All that on Windows or KDE results in about 4-5h of battery though. So fbdev must be somehow really frugal.
> That's cause you're using a distro like mint which is using older builds of stuff.
The context here is that I was commenting on the parent's assertion that one "can just use a pre-configured system like Mint Cinnamon and never know about any of these things." Nope!
> It will continue to degrade for you unless you fully switch to a Wayland DM. Anything built on X11 is basically deprecated now and no one is building on it anymore.
That's my impression as well, and again, with the 2nd most popular Linux distro using X11 by default and with "experimental" Wayland support, that only reinforces my rebuttal of parent's claim.
Gaming on Linux took off with Proton. Linux on phones might go the same path.
reply