Re: open port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 17 Feb 2020 01:55:01 +0800 Ed Greshko wrote:
> On 2020-02-16 23:05, Francis.Montagnac@xxxxxxxx wrote:
>> On Sun, 16 Feb 2020 20:59:19 +0800 Ed Greshko wrote:

>>> On 2020-02-16 20:44, Patrick Dupre wrote:
>>>> I followed both options:
>>>> vncviewer -via euripide
>>> Shouldn't the format of the command be something like...
>>> vncviewer SERVERNAME:1 -via localhost
>> No: the -via option of vncviewer is a short way to setup an ssh tunnel
>> to the SERVER running Xvnc (vncserver).

> Well, if I do as you say it fails for me in the same way as it fails
> for Patrick.

Weird. Do you have also:

  ssh: connect to host ... port 3022: Connection refused

> If I use the format I show, it works just fine.

With "vncviewer SERVERNAME:1 -via localhost" you are first opening an
ssh tunnel to localhost. This is useless. I guess you can connect
directly with: vncviewer SERVERNAME:1

A way to see how vncviewer setup the ssh tunnel:

  strace -s 1000 -f -e execve vncviewer SERVERNAM:1 -via localhost \
    |& grep 'execve("/usr/bin/ssh"'


-- 
francis
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux