![]() ![]() I recommend installing a VNC client as noted below, then proceeding to the Windows 10 instructions. Note: if you are running Windows 10, there is a command-line ssh client included. port is the number from the previous step.Ssh -p -L5901:localhost:5901 Use the hacuser password here. A 2nd black terminal window should appear. Windows10: Type in the search bar (again) and run the program.Step 2: Tunnel between your machine and Open an new Terminal window Leave the program running (you can minimize it if you like).So the command would be ssh -L2321:hacweb14:22. For example, if your phone number ends with 43 21 then set the port to 23 21. The 'phone number' thing is just a way to make a number likely to be unique to you. Note: the port in this step needs to be unique for each person connecting.Replace with 2300 + the last 2 digits of your phone number.Ssh -L :hacweb14:22 Use your JLab username and your 2-factor password. Windows10: Type in the search bar and run the program.Step 1: Tunnel between your machine and JLab The ssh configuration for a Mac is done through the Terminal program following the linux instructions. Instructions for Linux / Windows 10 / Mac This will quit the server and all applications that were running under that vncserver -kill :1 (where :1 is the VNC session ID) Proceed to connect to the VNC server using the instructions below. You can now close that window and the VNC server will remain running.Start the vncserver by vncserver -geometry 1900x1100 :1 (where :1 is the VNC session ID).It doesn't need to be your JLab CUE password. If this is the first time you are setting up a VNC server in your account, then you will need to set a password.Log in to (or whatever you want to use, ie.Also use that :NN when you run vncviewer.Replace 5901 with 5900+NN (If NN=13, then use port 5913 instead of port 5901.).If this is done, then you need to make the following changes to the Step 2 tunnel.Try again with another :NN, where NN is any 1 or 2 digit number until the vncserver report a successful start. ![]() In that case the vncserver command will fail. I'm using :1 here, but that may be occupied by another server on other hosts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |