AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Vnc connect international issues12/10/2023 Restricted features: The system authentication scheme is available, but connecting users must supply the credentials of the process owner (that is, the user starting VNC Server) in order to connect.Unavailable features: Printing and the single sign-on (SSO) authentication scheme.Unavailable programs: VNC Server in Service Mode ( vncserver-x11-serviced) and the Virtual Mode daemon ( vncserver-virtuald).Available programs: VNC Server in User Mode ( vncserver-x11), Virtual Mode ( vncserver-virtual), and VNC Viewer.You can install without administrative privileges but please note not all programs or features will be available: e.g.Installing without administrative privileges Start your vncserver with a -dpi nnn parameter to match your desktop's DPI, desktop environments like XFCE should scale up the fonts to match. # Wait and you should get your standard desktop Vncviewer -encodings 'tight copyrect hextile' localhost:1 # if you have an older version of vnc then try: Vncviewer -AutoSelect=1 -FullColour -UseLocalCursor localhost:1 # These are the options when using realvnc 4.x (and tigervnc): # If this does not perform well then you can try: # a local port that is being tunneled (forwarded) over ssh. # then in a new terminal/xterm on your local computer connect vnc to # Then on your local computer establish the ssh tunnel for VNC: # give it a password (if this is the first time you run it), and please use a good one # Login to the Maths computer you want to start your desktop on. To end your remote session, just Log Out in the remote window. ![]() You can avoid the need to enter your departmental Unix password each time you run vnccli by creating a local ssh RSA key and putting a copy of the public part in your ~/.ssh/authorized_keys file on the departmental Unix system. If at any time your session connection is broken (because of a network outage, for example) then simple re-enter the vnccli command to reconnnect and resume your session. vnccli You might like to edit the vnccli script to avoid the need to specify on the command line each time you run vnccli, and you might also want to change the remote host used by default: please see the comments at the beginning of the vnccli script for guidance on how to do this. Note however, that if your local login name is NOT the same as your departmental Unix login name (very likely to be true if you are on a Mac) then you will need instead to enter. (where crsid is your departmental Unix login name) and then run it from a shell prompt. Transfer a copy of the script to your local machine by, for example, running the command scp. The point now is to run the vnccli script on your "local" machine (your Linux or Mac laptop, for example). If still no joy please contact the helpdesk. If this doesn't produce a second desktop in a window as just described, please enter: rm ~/.vnc/xstartup and try again. This second instance is running on the remote host .uk. If all is well, a window will appear on the console desktop which shows a second instance of your desktop. ![]() the configuration on the departmental networked Linux desktops) is intact (and assuming that you are physically present in the department) login at the console of a networked desktop, run a terminal and at the shell prompt enter: /alt/applic/vnc/vnccli. To check that the server configuration (i.e. Please re-read the comments at the beginning of the vnccli script (see below) and contact the helpdesk if stuck. If this produces something like "vncviewer: command not found" then either you have yet to install a vncviewer OR (likely if you are using a Mac) you have neglected to make the vncviewer available in your PATH. To find out (once you have installed a VNC viewer of course) run: vncviewer -version. It is sometimes useful to know the version of VNC you are running. ![]() Linux computers may well have a vncviewer installed already, if not we advise installing either TigerVNC or RealVNC Please see the comments at the beginning of the vnccli script (see below) for advice on how to install this. Mac OS X computers will have ssh installed already but will not have a vncviewer program: we advise installing TigerVNC. You will need the following software installed on the local Linux/Mac computer you are going to try this remote access method from: ssh, vncviewer. If it fails, you might want to attempt the second, manual set up method. The first is recommended as it uses a shell script which sets up the ssh tunnel for you. This can be achieved by either of the two methods described below. If you want a full graphical desktop login and/or if you have already tried ssh -X and it is "slow" From a Linux (or Mac) computer to one of our Linux computers using an ssh tunnel and VNC
0 Comments
Read More
Leave a Reply. |