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).
On Sun, 16 Feb 2020 13:44:43 +0100 "Patrick Dupre" wrote:
vncviewer -via euripide
...
ssh: connect to host euripide.u-bourgogne.fr port 3022: Connection refused
I suspect that you have specified the 3022 port fo connect to euripide in your ~/.ssh/config file.
Can you verify (and undo) that?
Before retrying vncviewer simply test an ssh connection:
Example; ssh -v euripide id
In addition:
- you have once to setup a vnc passwd on euripide by using the vncpasswd command.
- since you have chosen the 5901 port on euripide, you should tell that to vncviewer:
vncviewer -via euripide :1
- remmina is not needed for that purpose. You have to edit the file ~/.vnc/xstartup to change the session you want. Start simple, for example with an xterm
Restart afterwards the vncserver@:1.service