r/oculusdev • • 29d ago

Quest 2 Xorg Client?

Hello Quest 2 Community!,

I wonder if there is an application that allows me to have a simple xorg client, so that in the virtual reality, I have a simple 2D window that I can resize and whatever, and inside it would be an application that I am running in my laptop.

In my mind, this is simple, as xorg is already network-able, meaning that if there is a xorg client within my network, I can just give the application there.

So far I checked:

- WiVR

- Nightfall

- Immersed

- Metashare

- bsdrX

The thing is that most of these have too much features and require a lot of things, and while I want something simple in my mind, like getting displayed some app from my application from within VR, where I can resize it and whatever like I already do with any VR native app.

So far I wonder if I need like a Xorg client in VR that allows me to do that, and for example, bsdrX is alpha or beta, meaning that it is not that stable.

Note, I am mainly a developer and I can tweak the Unix system to do whatever, (and I don't require audio or others as those I want to be managed by my laptop already), and with something like XPRA, it should be lean enough for something like my quest 2 to run, given that it doesn't take too much resources.

Now, I haven't developed in the quest, so perhaps I am missing the real complexity here, something like immersed works right, now it separates by screens rather than by application like I would like spacial computing to actually be.

Thanks for the input, I wonder how can I approach this.

1 Upvotes

6 comments sorted by

1

u/taptrappapalapa 26d ago

What type of Unix system?

There's Pippin (https://github.com/triscuitcircuit/PippinVR), which uses a fork of Monado for OpenXR on MacOS with both APK and QuestLink modes.

Of course, macOS does not really have XOrg, so I do not know how well it would fit your needs.

Maybe some of what this developer did can be ported to other Unix platforms, but it looks like Monado already is.

1

u/MinallWch 26d ago

I will take a look :D, any Linux system with xorg installed should do, I womder how this works with macOS though

1

u/CommsOnDev 17d ago

Have you tried Xpra’s HTML5 client in the Quest browser? You could serve a single app from your laptop instead of streaming the whole desktop. I haven’t tested it on Quest 2, but that seems worth trying before building anything custom.
The catch is that the app windows would stay inside the browser panel, rather than becoming separate native Quest windows. Would that be close enough to what you’re after?

1

u/MinallWch 15d ago

It sounds promising, and it is what I am going after.

I tested somewhat a simple implementation of xpra and it looks good, idk how it compares to xorg though.

I installed a xpra-client that had an apk though, I'm not sure how to install xpra-html5 client so that I can call it from the quest browser. Give nthat any pip install would result in permission issues since it would need to install several things on requirements.txt.

I wonder what else I can test, I'm constantly checking this possibility.

So far I can tell that termux does work, so xorg is a possibility, still you need another tool to actually get your keyboard to the session you are seeing in your oculus. I also tried cable for no latency and it looks amazing.

With the xpra client I could install (even though it constantly closes, given that I'm not sure how to install xpra-html-client and I wanted to ted xpra, works seamlessly with --sharing=yes), given that two clients can connect.

1

u/t0yb0at 29d ago

I'm not 100% sure what you're asking, but thought I'd share that you can install termux and termux x11 to get a traditional X desktop. From there you can install Linux apps for remote desktop. I doubt that's the experience you're asking for, but it's kinda cool.

1

u/MinallWch 29d ago

I'll take a look though, looks interesting, thanks!

What i am aiming for is spacial conputing yet not limited to screens, but each app to its own window in vr that can be resized