Giter Club home page Giter Club logo

Comments (7)

dantti avatar dantti commented on September 28, 2024

That's exactly what is done but address must be set to 0.0.0.0 as 127.0.0.1 won't allow remote connections:
https://github.com/cutelyst/Virtlyst/blob/master/src/ws.cpp#L47

from virtlyst.

emdo-pa avatar emdo-pa commented on September 28, 2024

seems it doesnt work in my case,
CUTELYST_VERSION=v2.6.0
VIRTLYST_VERSION=v1.2.0

in logs i can see:
6:8 virtlyst.ws[debug] Connecting TCP socket to "0.0.0.0" 5900 6:8 virtlyst.ws[warning] Console Proxy error: QAbstractSocket::ConnectionRefusedError "Connection refused"

in XML of a VM I had set:
<graphics listen="0.0.0.0" autoport="yes" port="5900" passwd="TryToGuess" type="spice"> <listen address="0.0.0.0" type="address"/> <image compression="off"/> </graphics>

and on a HOST system, port is open and listening
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 7097/qemu-system-x86....

Virtlyst is using QEMU+SSH to a host 192.168.4.10

from virtlyst.

dantti avatar dantti commented on September 28, 2024

This is fixed in git master, I haven't tagget a Virtlyst release after that yet

from virtlyst.

misery avatar misery commented on September 28, 2024

Is it possible to use ssh to redirect if 127.0.01 is used? I'm using localhost and virt-manager can do this with ssh without any problems. Maybe libvirt already supports it?

from virtlyst.

dantti avatar dantti commented on September 28, 2024

Both use libvirt under the hood so likely possible, the main issue with SSH is if it want's to prompt for password, you better use ssh-keys then

from virtlyst.

misery avatar misery commented on September 28, 2024

Both use libvirt under the hood so likely possible, the main issue with SSH is if it want's to prompt for password, you better use ssh-keys then

Yeah, I already added ssh key and it works perfect. Just the console is not working because I like to use localhost and authorization over ssh.
Do you have a hint for me where libvirt is called in Virtlyst? So I can look into it.

from virtlyst.

dantti avatar dantti commented on September 28, 2024

hmm don't know exactly what you want, but likely https://github.com/cutelyst/Virtlyst/blob/master/src/lib/connection.cpp

from virtlyst.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.