ai-dock / linux-desktop

KDE Plasma desktop docker image for use in GPU cloud and local environments. Includes AI-Dock base for authentication and improved user experience.
Other
35 stars 5 forks source link

Login Capabilities and Ports #6

Open jamesah2008 opened 2 months ago

jamesah2008 commented 2 months ago

I'm having trouble understanding how to login consistently. I set the username and password flags on Vast.ai in the Instance Template but they never seem to take.

I am able to login without credentials sometimes and other times get locked out when I use the blue button to open the instance.

I'm trying to run Xemu the xbox emulator and it runs well but i'm also having a bad time understanding how to "bridge" Xemu to the docker container's ethernet port. I think it's resulting in double NAT causing me connectivity issues. Any advice on getting "bridged mode" to work inside of a docker container? What if I wanted to do UDP forwarding to the public IP of the container instead?

robballantyne commented 2 months ago

@jamesah2008 You won't be able to create network interfaces in the container. Port forwarding might work but you'll probably need to use 1:1 port mapping and change Xemu's port to match whatever random port you get.

I also replied on the Vast discord with a link to an experimental VM instance desktop. It works similarly to this container version but without all of the limitations.

Link is https://cloud.vast.ai/?ref_id=62897&template_id=7b72733470ebe151fad94580e7f161fe in case you missed it

KVM is in beta, and the template is still being tested but it should work well. I'd recommend using it with tailscale for networking. Details are in the readme

Let me know how it goes if you do check it out