Re: open port

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

 



>
> >>> 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

ssh euripide.u-bourgogne.fr:3022
ssh: Could not resolve hostname euripide.u-bourgogne.fr:3022: Name or service not known


> > 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"'


 strace -s 1000 -f -e execve vncviewer euripide.u-bourgogne.fr:1 -via localhost |& grep 'execve("/usr/bin/ssh"'
[pid 17812] execve("/usr/bin/ssh", ["/usr/bin/ssh", "-f", "-L", "42485:euripide.u-bourgogne.fr:5901", "localhost", "sleep", "20"], 0x55bf48f49930 /* 96 vars */) = 0
pdupre@localhost's password:

After I give the passwd, nothing happens after a timeout, I guess.
(I recover the hand).
>
> --
> 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
>
_______________________________________________
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