Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


VNC Connection to NAT KVM
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

VNC Connection to NAT KVM

Hi;

I am using a NAT KVM, which I connect via SSH key file without username and password. I activated VNC connection in the control panel. I have VNC IP and VNC port number what are different my kvm server's ip and SSH port number. I need help with which program and which settings I should use for a successful VNC connection. Could you help me?

Comments

  • yoursunnyyoursunny Member, IPv6 Advocate
    edited January 2022

    From control panel, you would see:

    • VNC server IP: 192.0.2.1
    • VNC port: 5902

    To connect to VNC:

    1. Install gvncviewer

      sudo apt install gvncviewer
      
    2. Connect to the VNC server, where display number is the port number subtract 5900

      VNCIP=192.0.2.1
      VNCPORT=5902
      gvncviewer $VNCIP:$((VNCPORT-5900))
      
    3. Type the VNC password in the popup window

  • edited January 2022

    I'm not sure about your situation, but my experiences are:
    1. Use html5 VNC provided by the control panel. This way you access the server with its username and password just like you sit in front of the screen.
    2. Or access the server with any common SSH client, inputting the VNC address, port and password. I can SSH into a gullo.me's NAT VPS this way, even when SSH service is disable.

    Thanked by 1Mytonn
  • @yoursunny said:
    From control panel, you would see:

    • VNC server IP: 192.0.2.1
    • VNC port: 5902

    To connect to VNC:

    1. Install gvncviewer

      sudo apt install gvncviewer
      
    2. Connect to the VNC server, where display number is the port number subtract 5900

      VNCIP=192.0.2.1
      VNCPORT=5902
      gvncviewer $VNCIP:$((VNCPORT-5900))
      
    3. Type the VNC password in the popup window

    Thank you for your answer. I got a connection error as below.

    VNC IP : XXX.XX.XX.XX
    VNC Port : 59YY

    mytonn@mytonn:~$ gvncviewer XXX.XX.XX.XX:YY
    Error: Unable to connect to XXX.XX.XX.XX:59YY: Connection refused
    Failed to connect to server
    
  • yoursunnyyoursunny Member, IPv6 Advocate

    @Mytonn said:
    VNC IP : XXX.XX.XX.XX
    VNC Port : 59YY

    mytonn@mytonn:~$ gvncviewer XXX.XX.XX.XX:YY
    Error: Unable to connect to XXX.XX.XX.XX:59YY: Connection refused
    Failed to connect to server
    

    This means the VNC server is not running.
    If you just enabled VNC, you need to stop and start the server in the control panel (not via SSH) for the enablement to take effect.

    Thanked by 2Mytonn Ganonk
  • @yoursunny said:

    This means the VNC server is not running.
    If you just enabled VNC, you need to stop and start the server in the control panel (not via SSH) for the enablement to take effect.

    thanks for your menthoring :)

  • @Ganonk said:

    @yoursunny said:

    This means the VNC server is not running.
    If you just enabled VNC, you need to stop and start the server in the control panel (not via SSH) for the enablement to take effect.

    thanks for your menthoring :)

    When looking up "menthoring" in the dictionary, I got empty result.
    I'm not an English native speaker, and I'm just wondering what 'menthoring' meant here.
    Thank you.

  • @ask_seek_knock said:

    @Ganonk said:

    @yoursunny said:

    This means the VNC server is not running.
    If you just enabled VNC, you need to stop and start the server in the control panel (not via SSH) for the enablement to take effect.

    thanks for your menthoring :)

    When looking up "menthoring" in the dictionary, I got empty result.
    I'm not an English native speaker, and I'm just wondering what 'menthoring' meant here.
    Thank you.

    It should mentoring. :)

Sign In or Register to comment.