Live data from Hacker News

Yserver: A modern X11 server written in Rust

github.com

91–100 of 131 posts

Re: Yserver: A modern X11 server written in Rust

#91
post #26
post #11

Earlier quoted context omitted.

I suspect(with out reading the source to find out) that screens are the traditional X11 screens as opposed to the modern xrandr combined screen. Traditionally each screen in an X11 setup was it's own separate thing with it's own separate frame buffer. While technically applications could move between screens, this depended on the application caring enough to do so. It had to maintain two(or more) mirrored windows(one…

Can you pls share smt on how to properly do multi dpi in X? It is hard to find and I struggle with it

My favored article on the subject is http://wok.oblomov.eu/tecnologia/mixed-dpi-x11/

Re: Yserver: A modern X11 server written in Rust

#92
post #53

Earlier quoted context omitted.

Would you be happier if I wrote "the prompts"? Would that change anything about the fundamental cliche-ness here? Also, no, I'm not clever, but not sure what that has to do with this comment chain.

I'm just so tired of these lazy, worthless comments about any AI-written software. Look, I've been writing open source software for 20+ years, and after getting seriously burned out by it, I picked it up again with Claude (proof: https://github.com/jleclanche ) I can tell you a few things from that: 1. I'm writing better software than before, because AI is less lazy than I am. It's not necessarily always smarter, but…

The fact that you're being downvoted for sharing a constructive opinion and the rest of the "hurp durp this is slop" comments aren't is vastly more of a problem on HN than curious contributions like Yserver.

Re: Yserver: A modern X11 server written in Rust

#93

Projects like this really need to disclose how much ai was used. Otherwise my default assumption is it’s slop, which would be a bummer if someone carefully crafted this with some light ai assistance.

Checked and as with many project in HN, this is very slop..I am sure author haven't even reveiwed more than 20% of the code.

Re: Yserver: A modern X11 server written in Rust

#94
post #12

I really wish people gave a damn about the “gui over the network” problem x11 solves. Wayland drops this use case entirely so we’re pretty much universally stuck with vnc. Microsoft rdp is a great solution for this in windows land.

> I really wish people gave a damn about the “gui over the network” problem x11 solves. Security-wise there are concerns but... Early dial-up Internet days (early for me), 28.8k modem, I was already running Linux, probably on a 486. I also had a very old PC laptop (I think a friend of my parents gifted it to me after he got a new one from work), a 386 I think (with the horrible slow display/refresh rate: a TFT IIRC).…

Your story here also illustrates why GUI over the network used to be a much more important use case than it currently is.

These days it’s unbelievably niche, as opposed to more controlled screen sharing scenarios. I think it’s understandable that it doesn’t get a high priority.

Re: Yserver: A modern X11 server written in Rust

#95
post #26
post #11

Earlier quoted context omitted.

I suspect(with out reading the source to find out) that screens are the traditional X11 screens as opposed to the modern xrandr combined screen. Traditionally each screen in an X11 setup was it's own separate thing with it's own separate frame buffer. While technically applications could move between screens, this depended on the application caring enough to do so. It had to maintain two(or more) mirrored windows(one…

Can you pls share smt on how to properly do multi dpi in X? It is hard to find and I struggle with it

[dead]

Re: Yserver: A modern X11 server written in Rust

#96
post #35

> dropping legacy baggage (multiple screens[...] Looked nice, but crossed it off as soon as I saw that, as I'm working on a project currently that uses many screens. Can't just call a thing legacy because you and the people you directly know aren't using it.

I think X11 terminology may be causing some confusion. Refer to https://nouveau.freedesktop.org/MultiMonitorDesktop.html The normal, usable way to have multiple monitors for your X11 desktop environment is for them to all be combined into one logical screen that you can move windows around in, and that applications aware of the right extensions can discover the actual physical layout of the monitors that comprise the…

Ah yes I see it was a terminology issue. I was also confusing it with virtual displays, which is what I'm using a lot of. Thanks.

Re: Yserver: A modern X11 server written in Rust

#97
post #46
post #26

Earlier quoted context omitted.

Can you pls share smt on how to properly do multi dpi in X? It is hard to find and I struggle with it

The mixed DPI support on X11 is just that each monitor provides a DPI attribute that applications can query. It's up to the application or the toolkit it uses to actually look at this attribute and scale itself properly. In practice, this means that only Qt software will have DPI awareness on multi-monitor setups, and it requires having the "QT_AUTO_SCREEN_SCALE_FACTOR=1" environment variable set for applications tha…

The irony is that despite the myth to the contrary wayland does not even try to handle mixed DPI at all and only fakes it via the fractional scale hack and X11 has supported mixed DPI from probably day one.

Admittedly X11 mixed DPI was using separate screens which were awkward to deal with and early versions of the unified screen tech (xinarama and xrandr) did not support mixed DPI. And even modern X11 while it provides the needed DPI information requires the application to care enough to support it. Which really means unless the toolkit provides it for free most applications are not going to do anything,

Re: Yserver: A modern X11 server written in Rust

#99
post #12

I really wish people gave a damn about the “gui over the network” problem x11 solves. Wayland drops this use case entirely so we’re pretty much universally stuck with vnc. Microsoft rdp is a great solution for this in windows land.

You can do GUI over the network in multiple ways with Wayland.

Re: Yserver: A modern X11 server written in Rust

#100
post #13
post #12

I really wish people gave a damn about the “gui over the network” problem x11 solves. Wayland drops this use case entirely so we’re pretty much universally stuck with vnc. Microsoft rdp is a great solution for this in windows land.

Waypipe exists. Somebody needs to do the integration so you can run ssh -W though.

Why? Isn’t “waypipe ssh” more “the UNIX” way.

There is also wors.

Post reply on HN