I want all opcodes supported, I want a fully functional xserver in js
Andrey Sidorov
@sidorares
not sure how much of functionality they implement
It's much bigger task. node-x11 just implement protocol while to make server you need to understand protocol and actually manage al resourses ( display windows, dispatch input events, create/dispose server side resources - Pixmaps, Atoms, Selections, Properties - there are heaps )
"fully functional" your best bet is to compile xorg via emscripten and make your own x11 display driver that uses dom / canvas etc
aashidham
@aashidham
I'm surprised nobody has built this. Xorg has been around since like 1970
Do you know a talented developer I can pay to make this?
Andrey Sidorov
@sidorares
I think there are java based servers but likely there is no "production ready" JS based servers
Only experiments like you saw
Too much time to invest :)
Because it's interesting for experiments/learning but if you actually need that to get things done there are other solutions available right now
When you have options like VNC in browser or Java based x server
aashidham
@aashidham
Does VNC cover most / all opcodes?
_
Andrey Sidorov
@sidorares
Personally I'd really like to see that happen
With hardware accelerated 3d
via webgl
aashidham
@aashidham
Yes, I'm building a computer environment in the browser and I really want to incorporate X11
Andrey Sidorov
@sidorares
(actually I'd probably use webgl context from start as output device )
what kind of computer environment you building?
aashidham
@aashidham
I'm ok with using x11vnc and then move to browser, but I want all opcodes / functionality implemented
Container (docker / rkt) and Linux environment in the browser
You can sign up for updates at benuku.com if you're interested :)
Willing to pay ~$2k for a working graphics environment from X11 with MIT license
What I have right now isn't smooth, and crashes a lot
Andrey Sidorov
@sidorares
I wonder if there is a good x server test suite
like "this server passes 51% of functional tests"
"Container environment" - are you talking about actual container/kernel in browser like http://bellard.org/jslinux/ ?
aashidham
@aashidham
Well, no -- thats a cool project but ultimately useless because it dies when you close the tab
Andrey Sidorov
@sidorares
Or containers in the server and browser just as remote graphical terminal?
aashidham
@aashidham
^^Yes
Andrey Sidorov
@sidorares
With X server most clients will die as well on tab close
aashidham
@aashidham
Except with more than just a single terminal, a full computing environment
Andrey Sidorov
@sidorares
Clients assume a lot of state on server and most of them unable to persist/re-create that state to ba able to re connect to a new x server
aashidham
@aashidham
What about xpra.org
Andrey Sidorov
@sidorares
so in that respect vnc/rdp-like approach is better for this
no state on server, client keeps full screen copy and only shares updates to that screen
aashidham
@aashidham
how are vnc and rdp different? Are there good js implementations for either one? I know about http://kanaka.github.io/noVNC/ but thats it
I also only want to display the part of the desktop that has the application running, I'm controlling the rest of the website. VNC / RDP display everything, is there any way to limit this?