LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-29-2021, 04:12 AM   #16
notooth
Member
 
Registered: Apr 2005
Posts: 150

Original Poster
Rep: Reputation: 15

Here is the output on the host:
Code:
$ vncviewer 10.0.0.5:5901
Error: unable connect to socket: Connection refused (61)
The output on the VM:
Code:
$ ss -nltp | grep 5901
LISTEN    0         5                127.0.0.1:5901             0.0.0.0:*        users:(("Xtigervnc",pid=533,fd=7))                                             
LISTEN    0         5                    [::1]:5901                [::]:*        users:(("Xtigervnc",pid=533,fd=8))
 
Old 01-29-2021, 04:55 AM   #17
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 6,060

Rep: Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881
Quote:
Originally Posted by notooth View Post
The output on the VM:
Code:
$ ss -nltp | grep 5901
LISTEN    0         5                127.0.0.1:5901             0.0.0.0:*        users:(("Xtigervnc",pid=533,fd=7))                                             
LISTEN    0         5                    [::1]:5901                [::]:*        users:(("Xtigervnc",pid=533,fd=8))
Tigervnc only listens at the host local address, i.e. 127.0.0.1 and (IPv6) ::1. You need to configure it so that it listens on all addresses.
 
Old 01-31-2021, 07:58 AM   #18
notooth
Member
 
Registered: Apr 2005
Posts: 150

Original Poster
Rep: Reputation: 15
I finally made it work without SSH. Thanks for the help.
 
Old 01-31-2021, 12:55 PM   #19
andre@home
Member
 
Registered: Oct 2003
Distribution: 2x Debian 8.1 webdav servers
Posts: 93

Rep: Reputation: 44
What made exactly THE difference?
This may be quite important to others.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between VNC through SSH tunnel and VNC SSL? seraf Linux - Security 2 04-25-2018 12:07 AM
vnc server launched via ssh = gray screen. Local terminal vnc = ok link626 Linux - Newbie 1 09-15-2015 03:57 PM
VNC viewer showing black screen. unable to connect VNC server remotely on the server? cyberdome Linux - Server 1 08-01-2014 09:21 AM
VNC Over SSH | Linux laptop -> Linux SSH Server -> Windows VNC Server jakestaby Linux - Networking 3 01-28-2009 03:33 PM
ssh + pop3 with kmail: Could not connect to host localhost, but ok without ssh Emmanuel_uk Linux - Networking 0 07-20-2006 05:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration