Note it is possible to have several different simultaneous sessions. What the number is actually doing is telling this VNC viewer which port you have established a tunnel on for the session you are starting the VNC viewer for. The zw here will need to be whatever you used after the 59zw:portal1. You will want to type localhost:zw in that box and then apply start (or whatever the particular applications action button is). The most basic input is that they provide a box that says VNC server. There are a variety of choices for each platform and they evolve but their operation seems, thankfully, pretty universal. The last step is to start a VNC viewer (graphical windowing program) that uses this tunnel to display your portal1 session on the screen of your laptop. ![]() Whether you followed the Mac or Linux or Windows instructions above, successful completion will have established a tunnel from your laptop to portal1. The reason that you must exit and reopen the command prompt is because you cannot connect to the VNC portal zw if you are already connected to jumpgate or portal1 you must connect to jumpgate and your session zw simultaneously for the VNC portal to work correctly. After entering your password you will be ready for the VNC step in the next section. Ssh -L59zw:portal1:59zw will then be prompted to enter your password (not the one you just created, the one that was sent to you when your account was set up). The easiest way to set up the portal from the get-go (after you have created the session and left it open) is to close out of your command prompt, reopen it, and run only this command: So if when I created a session the last for numbers were 5923 then zw for me is 23 and the best practice is to ignore the script suggestion in favor of That suggestion is OK if you never plan to connect to anyone else's session but since we often collaborate but sharing VNC sessions, the better practice we adopt is to use zw in place of the suggested 05 (which just an arbitrary local port on your laptop). Where zw will be different for each user. The instructions given when you started the session on portal1 are OK but it always tells you to start a session (in a terminal on your mac or linux machine command line) Other VNC viewers will also work, such as TightVNC and RealVNC Portal1 uses TurboVNC from the VirtualGL project, available from their website Which will return the shortened port number of each of your currently running sessions.Ĭlient-Side Setup for PHASTA Machines Clients You'll probably be disconnected at this point, but when you reconnect your screen size should be changed (hopefully without crashing your running programs). (this example will set the resolution to 1400 pixels by 1050 pixels) Once you pick the one you want (generally the same size or smaller than the native resolution of your client), you can choose it by running a command like Once you know your screen number, you can see the list of supported modes as follows: For example, if your VNC session is running on port 5902, then your screen number should be :2. First you'll need to know your session's display number (this should be the last digit or two of the port number). ![]() You can usually use the xrandr tool to change the resolution of a running VNC session. See your VNC client's documentation for details. Note: In most modern VNC clients, this can (possibly should) be done via the locally running client. Typically this is done as follows:Ĭhanging the Size (Resolution) of an Existing Session Have the other user connect in the same way you would but have them set their viewer to be in view only mode and use your view only password. To share your desktop with another user in view only mode set a view only password Most users will never need to do this as the idea is to create one session and continue to use that one for all future usage. ONLY run this if you want to kill your virtual desktop. If for some reason you want to end your session and kill your virtual desktop, run Then use a VNC client to connect to the port on your machine. Next time you want to access your desktop, just ssh into jumpgate with a tunnel between portal1's VNC port (59**) and some port on your machine. It is common practice to leave your VNC session running on portal1. Make sure to remember your password and port number (59**) so that you can reuse your session. Then follow the directions from start_vnc.sh. To start a VNC session type the following with a return after each line: ![]() Portal1 is designated to host VNC sessions. Warning: The VNC password is transmitted in clear text over the network and should not be considered secure Server-Side Setup for PHASTA Machines Start VNC Server 3 Client-Side Setup for PHASTA Machines.2.5 Changing the Size (Resolution) of an Existing Session.2 Server-Side Setup for PHASTA Machines.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |