>
> >>> 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@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> 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@lists.fedoraproject.org
>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to