Instructions for Use of Virtual Network Computing

Total Page:16

File Type:pdf, Size:1020Kb

Instructions for Use of Virtual Network Computing Instructions for use of Virtual Network Computing Nikola Baran 1 Introduction Virtual Network Computing (VNC)1 allows you to use a remote machine as if your screen, keyboard and mouse are connected to the machine itself. It streams video from the remote server to your computer with compression, and other smart algorithms that reduce bandwidth requirements. However, it is still heavy but far from impossible to be practically used when on limited speed/bandwidth connection like mobile hotspots, caffe bar WiFi and such. If you are connecting from untrusted internet access points always bear in mind the security of the connection. All processes started within your VNC session are child processes of the vnc4server process. That means that if you kill vnc4server all you had open in that session is lost. On the other side, it is by far better than starting processes from your computers terminal because you can safely close the VNC window (closes the video stream/interaction only), shut down your computer, or run out of batteries, and all you have started still runs safely on the remote server. Next time you access your VNC session it is still there. Since, in a way, you are working on the server itself, all keyboard shortcuts are inherited from the servers operating system (OS). That can be a bit con- fusing when accessing the server from Mac computers (ctrl+v-¿cmd+v, middle button paste functionality on Linux) 2 Procedure for running VNC 0) Connect to internet. 1) Download a (free) VNC client app like this one: https://www.realvnc.com/download/vnc/ 2) Install the downloaded app 3) Open a terminal on your Mac/Linux, or i.e. Putty2 on Windows 1https://en.wikipedia.org/wiki/Virtual Network Computing 2http://www.chiark.greenend.org.uk/∼sgtatham/putty/ 1 4) Login to server: ssh -X [email protected] enter your password for that server. 5) On both servers vnc4 is installed. Start your very own VNC server by typing into terminal: vnc4server :11000 -geometry 1600x900 -depth 24 where :11000 should be TCP port you will use to connect to the server. Choose a port above 10000. For this example let’s use 11000. Choose your own port number and note it. Geometry parameter sets the screen resolution. 1600×900 looks good both on our office screens and laptops, but feel free to find the one that best suits you. Color depth of 24 bit is fine. 5a) You will be prompted by the server to define a password to access your VNC session. Do so. 5b) If you ever wish to close the VNC server type into terminal: vncserver -kill :11000 When you close the VNC server and wish to start it again, return to step 5 and proceed as described. In practice it is rarely needed to kill the VNC server. 6) After you start the VNC server on the remote machine, open your VNC application (in this example realVNC ). 7) Under VNC ”server type” i.e. krampus.phy.hr:16900 Note that with our current server configuration, the port you have chosen when starting VNC server should be added to 5900. For example 11000+5900=16900, thats why we input 16900 into VNC client configuration. Let the client app con- figure encryption (hint: theres none, which is fine for now) 7a) If you want to encrypt the connection you can do so by starting a secure ssh session with the server, forwarding it to local port and then connect the VNC client app to that local port. 8) Click connect 9) Input your password and confirm that you are aware that the connection 2 is unsecured (if so). 10) You now see a grey screen within your computers window. That is your servers screen as it would be displayed if you connected your screen directly to the graphics card of the server machine. You can use keyboard shortcuts to get the terminal if one does not start by default. All graphics, including those graphic windows from AIPS 3, DS9 4, TopCat 5 and such should work fine. 10a) If you wish to have a proper desktop on the server (with toolbars, menus, etc.), edit the VNC startup file like this (feel free to use any text editor available to do the following step): emacs /home/yourusername/.vnc/xstartup You can delete this files contents and copy/paste the following text into this file: #!/bin/sh #export XKL XMODMAP DISABLE=1 unset SESSION MANAGER #unset DBUS SESSION BUS ADDRESS #gnome-panel & #gnome-settings-daemon & #metacity & #nautilus & #gnome-terminal & [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & 3http://www.aips.nrao.edu/ 4http://ds9.si.edu 5www.star.bris.ac.uk/ mbt/topcat/ 3 #x-terminal-emulator -geometry 80×24+10+10 -ls -title "$VNCDESKTOP Desktop" & x-window-manager & lxterminal & /usr/bin/lxsession -s LXDE & #gnome-panel & #exec gnome-shell & #xterm & #xterm & - Save the startup file. - Kill your VNC server as described in 5b) and start it again as described in 5). If you wish to use the same port it is fine. Now the proper desktop should appear and it will appear every time you start your VNC server. 3 Notes Servers need a maintenance restart from time to time. After reboot you will have to start your VNC session from scratch. Make sure to notify your system administrator of your activities on the server (or the lack of) when the need to restart the server arises. The server should be restarted when all work is saved and we all give a green light. If you happen to forget the port your VNC server is listening, login to server as in 4) and type lsof -i -P | grep -i listen" The TCP port listed in the terminal output of this command is the one you should use for logging into your VNC session as in 7) 4.
Recommended publications
  • Desktop Migration and Administration Guide
    Red Hat Enterprise Linux 7 Desktop Migration and Administration Guide GNOME 3 desktop migration planning, deployment, configuration, and administration in RHEL 7 Last Updated: 2021-05-05 Red Hat Enterprise Linux 7 Desktop Migration and Administration Guide GNOME 3 desktop migration planning, deployment, configuration, and administration in RHEL 7 Marie Doleželová Red Hat Customer Content Services [email protected] Petr Kovář Red Hat Customer Content Services [email protected] Jana Heves Red Hat Customer Content Services Legal Notice Copyright © 2018 Red Hat, Inc. This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be removed. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux ® is the registered trademark of Linus Torvalds in the United States and other countries. Java ® is a registered trademark of Oracle and/or its affiliates. XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
    [Show full text]
  • 18 Free Ways to Download Any Video Off the Internet Posted on October 2, 2007 by Aseem Kishore Ads by Google
    http://www.makeuseof.com/tag/18-free-ways-to-download-any-video-off-the-internet/ 18 Free Ways To Download Any Video off the Internet posted on October 2, 2007 by Aseem Kishore Ads by Google Download Videos Now download.cnet.com Get RealPlayer® & Download Videos from the web. 100% Secure Download. Full Movies For Free www.YouTube.com/BoxOffice Watch Full Length Movies on YouTube Box Office. Absolutely Free! HD Video Players from US www.20north.com/ Coby, TV, WD live, TiVo and more. Shipped from US to India Video Downloading www.VideoScavenger.com 100s of Video Clips with 1 Toolbar. Download Video Scavenger Today! It seems like everyone these days is downloading, watching, and sharing videos from video-sharing sites like YouTube, Google Video, MetaCafe, DailyMotion, Veoh, Break, and a ton of other similar sites. Whether you want to watch the video on your iPod while working out, insert it into a PowerPoint presentation to add some spice, or simply download a video before it’s removed, it’s quite essential to know how to download, convert, and play these videos. There are basically two ways to download videos off the Internet and that’s how I’ll split up this post: either via a web app or via a desktop application. Personally, I like the web applications better simply because you don’t have to clutter up and slow down your computer with all kinds of software! UPDATE: MakeUseOf put together an excellent list of the best websites for watching movies, TV shows, documentaries and standups online.
    [Show full text]
  • The GNOME Census: Who Writes GNOME?
    The GNOME Census: Who writes GNOME? Dave Neary & Vanessa David, Neary Consulting © Neary Consulting 2010: Some rights reserved Table of Contents Introduction.........................................................................................3 What is GNOME?.............................................................................3 Project governance...........................................................................3 Why survey GNOME?.......................................................................4 Scope and methodology...................................................................5 Tools and Observations on Data Quality..........................................7 Results and analysis...........................................................................10 GNOME Project size.......................................................................10 The Long Tail..................................................................................11 Effects of commercialisation..........................................................14 Who does the work?.......................................................................15 Who maintains GNOME?................................................................17 Conclusions........................................................................................22 References.........................................................................................24 Appendix 1: Modules included in survey...........................................25 2 Introduction What
    [Show full text]
  • Solaris 10 End of Life
    Solaris 10 end of life Continue Oracle Solaris 10 has had an amazing OS update, including ground features such as zones (Solaris containers), FSS, Services, Dynamic Tracking (against live production operating systems without impact), and logical domains. These features have been imitated in the market (imitation is the best form of flattery!) like all good things, they have to come to an end. Sun Microsystems was acquired by Oracle and eventually, the largest OS known to the industry, needs to be updated. Oracle has set a retirement date of January 2021. Oracle indicated that Solaris 10 systems would need to raise support costs. Oracle has never provided migratory tools to facilitate migration from Solaris 10 to Solaris 11, so migration to Solaris has been slow. In September 2019, Oracle decided that extended support for Solaris 10 without an additional financial penalty would be delayed until 2024! Well its March 1 is just a reminder that Oracle Solaris 10 is getting the end of life regarding support if you accept extended support from Oracle. Combined with the fact gdpR should take effect on May 25, 2018 you want to make sure that you are either upgraded to Solaris 11.3 or have taken extended support to obtain any patches for security issues. For more information on tanningix releases and support dates of old and new follow this link ×Sestive to abort the Unix Error Operating System originally developed by Sun Microsystems SolarisDeveloperSun Microsystems (acquired by Oracle Corporation in 2009)Written inC, C'OSUnixWorking StateCurrentSource ModelMixedInitial release1992; 28 years ago (1992-06)Last release11.4 / August 28, 2018; 2 years ago (2018-08-28)Marketing targetServer, PlatformsCurrent: SPARC, x86-64 Former: IA-32, PowerPCKernel typeMonolithic with dynamically downloadable modulesDefault user interface GNOME-2-LicenseVariousOfficial websitewww.oracle.com/solaris Solaris is the own operating system Of Unix, originally developed by Sunsystems.
    [Show full text]
  • An User & Developer Perspective on Immutable Oses
    An User & Developer Perspective on Dario Faggioli Virtualization SW. Eng. @ SUSE Immutable OSes [email protected] dariof @DarioFaggioli https://dariofaggioli.wordpress.com/ https://about.me/dario.faggioli About Me What I do ● Virtualization Specialist Sw. Eng. @ SUSE since 2018, working on Xen, KVM, QEMU, mostly about performance related stuff ● Daily activities ⇒ how and what for I use my workstation ○ Read and send emails (Evolution, git-send-email, stg mail, ...) ○ Write, build & test code (Xen, KVM, Libvirt, QEMU) ○ Work with the Open Build Service (OBS) ○ Browse Web ○ Test OSes in VMs ○ Meetings / Video calls / Online conferences ○ Chat, work and personal ○ Some 3D Printing ○ Occasionally play games ○ Occasional video-editing ○ Maybe scan / print some document 2 ● Can all of the above be done with an immutable OS ? Immutable OS: What ? Either: ● An OS that you cannot modify Or, at least: ● An OS that you will have an hard time modifying What do you mean “modify” ? ● E.g., installing packages ● ⇒ An OS on which you cannot install packages ● ⇒ An OS on which you will have an hard time installing packages 3 Immutable OS: What ? Seriously? 4 Immutable OS: Why ? Because it will stay clean and hard to break ● Does this sound familiar? ○ Let’s install foo, and it’s dependency, libfoobar_1 ○ Let’s install bar (depends from libfoobar_1, we have it already) ○ Actually, let’s add an external repo. It has libfoobar_2 that makes foo work better! ○ Oh no... libfoobar_2 would break bar!! ● Yeah. It happens. Even in the best families distros
    [Show full text]
  • Release Notes for Fedora 15
    Fedora 15 Release Notes Release Notes for Fedora 15 Edited by The Fedora Docs Team Copyright © 2011 Red Hat, Inc. and others. The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. The original authors of this document, and Red Hat, designate the Fedora Project as the "Attribution Party" for purposes of CC-BY-SA. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. For guidelines on the permitted uses of the Fedora trademarks, refer to https:// fedoraproject.org/wiki/Legal:Trademark_guidelines. Linux® is the registered trademark of Linus Torvalds in the United States and other countries. Java® is a registered trademark of Oracle and/or its affiliates. XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries. All other trademarks are the property of their respective owners.
    [Show full text]
  • THE 2003 Editionlinux
    SUBSCRIBE or renew your subscription to APC for your chance to WIN the new Alfa 156 JTS, valued at over $54,000 Only $65 for 12 issues THE 2003 edition linux POCKETBOOK Subscribe ... www.apcmag.com Online at magshop.com.au or Call 13 61 16 Authorised under NSW Permit No. L02/09075 VIC: 02/2531 SA: T02/3553 ACT: TP02/3650 NT: NT02/3286 For terms and conditions refer to www.xmas.magshop.au. Expiry date: 24/12/02 Contents CHAPTER 1 Customising Gnome 57 CHAPTER 6 Editorial INTRODUCTION 11 Exploring KDE 60 WORKING WITH WINDOWS 131 The origins of the Customising KDE 64 What about Windows? 132 Welcome back to The Linux Pocketbook 2003 edition! penguin 12 Windows connectivity 138 Many of you will probably remember the original print ver- CHAPTER 4 sions of The Linux Pocketbook on newsstands across the country. Why Linux? 18 Basic security 145 The original versions sold so well that we ran out of copies. We’ve The ways of the world 20 USING LINUX 67 had countless requests for reprints, so we’ve decided to bundle the Connecting to the Net 68 CHAPTER 7 entire book into this single resource. This version of the pocketbook relies heavily on Mandrake Linux 9.0 or Red Hat 8.0. Both were CHAPTER 2 Applications 71 PLAYING WITH LINUX 151 released late in 2002, and can be easily found for sale at www.everyth INSTALLING LINUX 21 Conjuring Linux 75 Linux multimedia 152 inglinux.com.au, or for download from either mandrakelinux.com or First published December 2000.
    [Show full text]
  • SUSE® Linux Enterprise Desktop 12 and the Workstation Extension: What's New ?
    SUSE® Linux Enterprise Desktop 12 and the Workstation Extension: What's New ? Frédéric Crozat <[email protected]> Enterprise Desktop Release Manager Scott Reeves <[email protected]> Enterprise Desktop Development Manager Agenda • Design Criteria • Desktop Environment in SUSE Linux Enterprise 12 • GNOME Shell • Desktop Features and Applications 2 Design Criteria SUSE Linux Enterprise Desktop Interoperability Ease of Use Security Ease of Management Lower Costs 4 SUSE Linux Enterprise Desktop 12 • Focus on technical workstation ‒ Developers and System administrators • One tool for the job • Main desktop applications will be shipped: ‒ Mail client, Office Suite, Graphical Editors, ... • SUSE Linux Enterprise Workstation Extension ‒ Extend SUSE Linux Enterprise Server with packages only available on SUSE Linux Enterprise Desktop. (x86-64 only) 5 Desktop in SUSE Linux Enterprise 12 As Part of the Common Code Base SUSE Linux Enterprise 12 Desktop Environment • SUSE Linux Enterprise 12 contains one primary desktop environment • Additional light-weight environment for special use-cases: ‒ Integrated Systems • Desktop environment is shared between the server and desktop products 7 SUSE Linux Enterprise 12 Desktop Environment • GNOME 3 is the main desktop environment ‒ SLE Classic mode by default ‒ GNOME 3 Classic Mode and GNOME 3 Shell Mode also available • SUSE Linux Enterprise 12 ships also lightweight IceWM ‒ Targeted at Integrated Systems • QT fully supported: ‒ QT5 supported for entire SLE12 lifecycle ‒ QT4 supported, will be removed in future
    [Show full text]
  • Using Your Desktop
    Valade_06.qxd 3/31/05 2:58 PM Page 73 CHAPTER 6 Using Your Desktop inux provides two basic types of interface for you to use when working with your computer: GUI (graphical user interface) and CLI (command-line interface). An L overview of the interface types is provided in Chapter 5. In this chapter, the most common type of interface, a GUI called a desktop, is discussed in detail. The CLI is dis- cussed in detail in Chapter 7. Linux can start without a desktop, but most users prefer to have Linux start with a desk- top. The installation instructions provided in Chapter 4 result in a desktop opening at startup. A desktop interface functions as the top of your desk, supplying an empty work- ing surface and a set of tools. Different distributions provide different desktops, but most provide KDE (K Desktop Environment) and/or GNOME (Gnu Network Object Model Environment)—the Big Two of Linux desktops. The default desktop differs by distribution. For instance, Fedora defaults to GNOME, and Mandrake/SuSE defaults to KDE. However, you can change the default once you decide which desktop you prefer. KDE and GNOME are open source software, each developed in a project of its own. New versions are released independently of Linux releases or the release of any specific Linux distribution. As a result, different distributions include different KDE and/or GNOME versions. In addition, KDE and GNOME are very configurable. Almost everything about them can be changed. Consequently, KDE and GNOME don’t look exactly the same in different distributions or versions of distributions.
    [Show full text]
  • Get Your Default KDE and GNOME Desktops in Line by David D
    Get Your Default KDE and GNOME Desktops in Line by David D. Scribner As mentioned in my last article, Get Your Default KDE and GNOME Menus in Line, the User Manuals for the KDE and GNOME GUI environments include instructions on modifying the user’s menus and desktop properties. Just as with the menus however, modifications to the desktop settings made by individual users are stored in the user’s home directory and have no affect on the “defaults” installed for new users. Being the system administrator, you may have custom desktop wallpaper, shortcut icons and panel (or Kicker, as KDE now calls it) icons that differ from those set up in the default configurations. If you wish to have the default desktops installed for new users tailored to include selected application icons in the panel or kicker (taskbar), or changes to the default desktop shortcuts, background, colors or style that GNOME and KDE normally set up for those new users, you will have to make a few modifications. This article is intended to cover the basic tasks of customizing such default installations. Since customizing the default desktops for your new users result in changes to the installed files, back up any of these files/directories before proceeding with any modifications! Desktop Configuration Skeletons Items pertaining to the desktop you want your new users to be greeted with are perhaps easiest to configure by placing the relevant KDE and GNOME desktop configuration files in the /etc/skel directory. You could modify the master files KDE and GNOME use to create new user setups, but they may be overwritten should you upgrade to a newer version of the environment.
    [Show full text]
  • Red Hat Enterprise Linux 4 – End of Maintenance Was March 31, 2012
    Red Hat Platform Technologies Update Christoph Doerbeck Principal Solutions Architech [email protected] August 28, 2014 Current Release Milestones *** Subject to Change *** ● Released ● RHEL 7.0 ● RHEL 6.5 ● RHEL 5.10 ● MRG 2.4 (RHEL 6.x Realtime, Linux 3.8.13 kernel) ● RHEV 3.4 ● Red Hat Storage 2.1 (Big Bend) ● Futures ● RHEL 5.11 Q3 2014 (Currently in BETA) ● RHEL 6.6 Q4 2014 (Currently in BETA) ● Red Hat Storage 2.2 2 Current Lifecycle Milestones Red Hat Enterprise Linux 4 – End of Maintenance was March 31, 2012 ● RHEL 5 GA Date: March 14, 2007 End of Phase 1: Q4, 2012 End of Phase 2: Q1, 2014 End of Production: March 31, 2017 ● RHEL 6 GA Date: November 10, 2010 End of Phase 1: Q2, 2016 End of Phase 2: Q2, 2017 End of Production: November 30, 2020 ● RHEL 7 GA Date: June 10, 2014 End of Phase 1: Q4, 2019 End of Phase 2: Q4, 2020 3 End of Production: June 30, 2024 Red Hat Enterprise Linux With call-outs for RHEL 6.0-6.5 IT ADMINS Management Systems Physical Servers Scale-Out, High-Performance Storage Software Storage High-Performance Scale-Out, App Platforms / Messaging / Cache / Grid / SOA / / Grid / Cache / Messaging App Platforms Red Hat Linux Enterprise Red Network & Storage Infrastructure & Storage Network Servers Virtual RED HAT SOLUTIONS HAT RED Servers Cloud PaaS Hybrid Cloud Open SYSADMINS DEVELOPERS IT ADMINS RED HAT OpenStack VIRTUALIZATION ENTERPRISE RED HAT Network Operations JBOSS SATELLITE NETWORK RED HAT Management Systems Management Physical Servers App Platforms / Messaging / Cache / Grid / SOA Grid / Cache / Messaging
    [Show full text]
  • Proyecto Final De Grado
    PROYECTO FINAL DE GRADO Título: Introducción de los robots en la gestión aeroportuaria Titulación: Grado en Ingeniería de Sistemas Aeroespaciales Autor: Judit Hernandez Martin Director: Oscar Casas Piedrafita Fecha: 17 de junio del 2021 Título: Introducción de los robots en la gestión aeroportuaria Autor: Judit Hernandez Martin Director: Oscar Casas Piedrafita Fecha: 17 de junio del 2021 Resumen El rápido crecimiento del tráfico aéreo impulsado por el desarrollo del turismo ha requerido que los aeropuertos se vuelvan altamente adaptables, emprendedores y proactivos para abordar la dinámica cambiante de la industria de la aviación. La tecnología es fundamental para el futuro de la industria del transporte aéreo, especialmente en el campo de la robótica, donde existe un gran espacio para la innovación. La implementación de los robots en los aeropuertos puede ayudar a resolver problemáticas como el aumento de la presión sobre los trabajadores del aeropuerto para aumentar su capacidad durante las horas pico, pudiendo llevarlos a situaciones de estrés, trabajos que conduzcan a problemas de salud y/o situaciones de riesgo o simplemente una mejor gestión en el flujo de pasajeros, entre otros. A medida que aumentan las expectativas del aumento de los pasajeros tras la pandemia de Covid-19, ahora es más importante que nunca que los aeropuertos mejoren y optimicen su servicio. La implementación de los robots puede ayudar a superar los principales desafíos que se presentan sin necesidad de un cambio disruptivo, contribuyendo a mejorar no solo su reputación, sino también sus resultados finales. Con el objetivo de solucionar algunas de las problemáticas presentadas, en este trabajo se desarrollarán propuestas apoyadas en la tecnología del TurtleBot3.
    [Show full text]