![]() ![]() Log file is /home/testf202/.vnc/finch:1.log Starting applications specified in /home/testf202/.vnc/xstartup Would you like to enter a view-only password (y/n)? nĬreating default startup script /home/testf202/.vnc/xstartup You will require a password to access your desktops. enter vnc://localhost:5901 as the server addressĪnd here’s a detailed example for Linux, where my username is testf202, and I’m connecting to finch from mycomputer.Ĭonnect to CS computer and run vncserver: mycomputer$ ssh -Y to: finch.You will need your username and the vnc password you just set up.įor Mac users, here are some screen shots of using the built-in screen sharing app: This sets up an ssh tunnel (again, assuming user is zsmith3 and computer is pepper): ssh -L 5901:127.0.0.1:5901 -C -N -l zsmith3 pepper.cs.įinally, connect to localhost:5901 using a remote access app (the vnc viewer or screen sharing app) on your computer. Next, run the following command on a local terminal on your computer. If this is your first time, it will ask you to set up a password to control access (max 8 characters). Here’s an example for uesr zsmith3 connecting to the computer pepper.cs.: ssh -Y run the following command on the CS lab machine you just connected to: vncserver -geometry 1950x1200 In a terminal on your local computer, ssh to the CS lab machine you want to connect to. Here are the above commands again, with additional details. For Linux, you’ll need to install a vncviewer. Download vnc viewer to your own computer at:įor Macs, you can use the built-in Screen Sharing app (see screen shots below). If you are on a Windows machine, you may need to download a vnc viewer. If you do have to use a different port than 5901, then change all of the above 5901s to your different port (i.e., make them all 5902s). But it might say :2, in which case you should connect to port 5902, and 5903 if it says :3, etc. If it does have that :1 at the end, you connect to port 5901 as above. NOTE: in the above, when you run that first vncserver command, it will probably say something like New 'X' desktop is labmachine:1. ![]() When you are done, you should stop the vncserver process: vncserver -kill :1 cs.Īnd finally, again on your computer, in another terminal window (or whatever vncviewer software you are using): vncviewer localhost:5901 Now, back on your computer, in another terminal window: ssh -L 5901:127.0.0.1:5901 -C -N -l. In a terminal window on your home computer: ssh -Y in that same window, once you’re connected to a cs computer, run: vncserver -geometry 1950x1200 Vncviewer SwatCS Help Pages - vnc viewer vnc viewerĪ vnc viewer gives you remote access to your CS lab desktop, as if you were sitting in the CS labs at one of our computers ![]()
0 Comments
Leave a Reply. |