Project

General

Profile

LinuxmacOS VNC Instructions » History » Version 9

David Flay, 01/16/2021 04:48 PM

1 1 David Flay
h1. Linux and macOS VNC Instructions
2
3
_Instructions From the JLab Computing Center_
4
5 4 David Flay
h2. Overview
6
7 2 David Flay
Here we describe steps to set up a VNC connection for the ECAL test stand.  The parameters are: 
8
* Username: a-compton
9
* Host machine: clrlpc 
10
* Port number: 5901 
11 1 David Flay
12 4 David Flay
h2. Connection Steps
13 5 David Flay
14 3 David Flay
* Install the client software on the computer: RealVNC for Mac or Linux
15 1 David Flay
16
* Using terminal, ssh into login and then the computer that has the VNC server on it
17
@ssh -L  5901:localhost:XXXX janedoe@login1.jlab.org@
18 2 David Flay
Replace XXXX with a port number of your choice (avoid 22).  Log in using JLab CUE credentials
19 1 David Flay
20
* In the same session, ssh to the computer: 
21 2 David Flay
@ssh  -L XXXX:localhost:5901 a-compton@clrlpc@ 
22 6 David Flay
Log in using JLab CUE credentials for user a-compton.  
23 1 David Flay
24
* On your machine, run the VNC application.  When prompted for the VNC Server, use: localhost:5901
25
Encryption: Let VNC Server choose
26
Enter password set up on the VNC server
27 2 David Flay
Log in using JLab credentials
28 7 David Flay
29 9 David Flay
h2. Connecting to the DAQ at Fermilab 
30
31
* Using terminal, ssh into login and then the computer that has the VNC server on it
32
@ssh -L  5901:localhost:XXXX janedoe@fnalu.fnal.gov@
33
Replace XXXX with a port number of your choice (avoid 22).  Log in using JLab CUE credentials
34
35
* In the same session, ssh to the computer: 
36
@ssh  -L XXXX:localhost:5901 a-compton@clrlpc.dhcp.fnal.gov@ 
37
Log in using JLab CUE credentials for user a-compton.  
38
39
* On your machine, run the VNC application.  When prompted for the VNC Server, use: localhost:5901
40
Encryption: Let VNC Server choose
41
Enter password set up on the VNC server
42
Log in using JLab credentials