Live data from Hacker News

Web based Windows XP desktop recreation, built with React

winxp.now.sh

141–150 of 156 posts

Re: Web based Windows XP desktop recreation, built with React

#141

I wish you had a functioning Internet Explorer, a browser running inside a browser, but yeah I expect it would be tremendous work!

Oh, I thought that's actually how it's supposed to be. You could never browse the internet with Internet Explorer ;))

Re: Web based Windows XP desktop recreation, built with React

#146

Office Droids are rejoicing. I do not get any this, because (pirated) Window 95 was the last one, as Linux was quite complete already.

I love when the Downvoting Crew finds something they dont like and then go back in history to downvote something totally unrelated and mundane.

Re: Web based Windows XP desktop recreation, built with React

#147

Earlier quoted context omitted.

Huh. What VM configuration and guest OSes are you using? Exactly what is crashing? I presume qemu itself, but can't tell if you're describing BSOD type events. Can you reproduce the crashes using qemu-system-x86_64 directly?

qemu/libvirt/kvm stack, it happens with both virt-viewer and virt-manager at least with Spice, pretty sure with VNC too but it's been a while. On Firefox. Fedora, both host and guests. I can reproduce the crashes by going to a number of websites. I always assumed it had something to do with OpenGL but lately it's happening on websites that I doubt are running any accelerated content. So it could be the browser's hard…

Oh, THAT'S what you mean by "crashing". I thought either the guest kernel (ie, vmlinuz or ntoskrnl) or the VM (qemu/KVM) was at fault, given that description and context. Thanks very much for the clarification.

Does sound like a graphics acceleration problem, maybe also a remoting protocol issue.

I only tend to launch VMs via qemu-system-x86_64 directly, so I'm not familiar with how virt-manager works - and crashes :). It sounds like virt-manager can crash without taking down associated VMs...? I'm also interpreting "start another instance" as referring to virt-viewer, or do you mean you're starting a new copy of virt-manager over the same/old VM?

It's really perplexing this also happens with VNC.

I wonder what would happen if you enabled the normal GTK qemu window (which for reference can of course be run in Xvnc in headless scenarios, my personal Xvnc preference being TigerVNC). I also wonder what would happen if you enabled SPICE and/or VNC with the GTK window enabled.

A better start point likely to produce more interesting/orientating info might be to run Firefox inside eg an openbox session, making absolutely sure no compositors are running (including xcompmgr etc). If you still get crashes in that type of scenario something's very broken.

I'm curious what error messages appear in the virt-manager, virt-viewer and qemu error log files when these disconnects occur.

It I were serious about fixing this my first step would be building everything from source, one component at a time, verifying the issue is still present at each step; then, if everything's still crashing, pulling out good ol' printf. Ideally something obvious emerges before you get to that point :)

Re: Web based Windows XP desktop recreation, built with React

#148
post #137

Earlier quoted context omitted.

Aerospace. A specific instrument requires that its code is compiled with a gcc version from the nineties . It has been working since then and introducing a new compiler would change the binary generated, thus nullifying all the accumulated flight hours. And why windows XP? Well, the gcc binary is 16 bit...

> It has been working since then and introducing a new compiler would change the binary generated Surely making a code change and recompiling would also change the binary?

True, I didn't mean that the entire binary is the same, but since most of the compilation units remain untouched, they are compiled to the same machine code. Fixing a bug or introducing a small new change is one thing, but compiling the entire codebase with a different compiler would change everything

Re: Web based Windows XP desktop recreation, built with React

#149

Earlier quoted context omitted.

qemu/libvirt/kvm stack, it happens with both virt-viewer and virt-manager at least with Spice, pretty sure with VNC too but it's been a while. On Firefox. Fedora, both host and guests. I can reproduce the crashes by going to a number of websites. I always assumed it had something to do with OpenGL but lately it's happening on websites that I doubt are running any accelerated content. So it could be the browser's hard…

Oh, THAT'S what you mean by "crashing". I thought either the guest kernel (ie, vmlinuz or ntoskrnl) or the VM (qemu/KVM) was at fault, given that description and context. Thanks very much for the clarification. Does sound like a graphics acceleration problem, maybe also a remoting protocol issue. I only tend to launch VMs via qemu-system-x86_64 directly, so I'm not familiar with how virt-manager works - and crashes :…

> I wonder what would happen if you enabled the normal GTK qemu window (which for reference can of course be run in Xvnc in headless scenarios, my personal Xvnc preference being TigerVNC). I also wonder what would happen if you enabled SPICE and/or VNC with the GTK window enabled.

Me too. I'll report back within a few days.

> A better start point likely to produce more interesting/orientating info might be to run Firefox inside eg an openbox session, making absolutely sure no compositors are running (including xcompmgr etc). If you still get crashes in that type of scenario something's very broken.

I can look into this, too. And I'll provide virt-viewer logs but they haven't been helpful. I'll see what the other virt-related logs are saying.

> It I were serious about fixing this my first step would be building everything from source, one component at a time, verifying the issue is still present at each step; then, if everything's still crashing, pulling out good ol' printf

This was the advice given to me before from someone involved in the virt stack, and I started to do this but it turned into a lot of work just familiarizing myself with some things and I got sidetracked and eventually shelved it and just hoped it would eventually piss someone else off enough.

Re: Web based Windows XP desktop recreation, built with React

#150
post #73

Earlier quoted context omitted.

By the way, what I find weird is NO Linux modification (DE/WM theme or whatever) marketed as a Windows XP (or Windows 98) clone ever actually looked close to the original - every single one looked a rough parody. I wish there were some really good... Even today the default Raspbian LXDE could look less ugly if they could make taskbar-based launcher and tray icons slightly smaller (kind of like in Windows 95-XP) rathe…

Classic 95 with XFCE is really good, and some modern themes from b00merang in Cinammon look really close. You didn't look enough then... https://b00merang.weebly.com/themes.html

[deleted]
Post reply on HN