What Are VNC Server and VNC Viewer? Where Do They Run?

Total Page:16

File Type:pdf, Size:1020Kb

What Are VNC Server and VNC Viewer? Where Do They Run? VNC_to_viterbi-scfN_via_SSH_Tunnel_Windows.docx Introduction to the VNC concept VNC = Virtual Network Computing What are VNC server and VNC Viewer? Where do they run? Following figure is from https://archive.realvnc.com/products/vnc/documentation/4.2/win/winvncviewer.pdf I have annotated it to explain our specific situation. ============================================================================== Extract from https://www.ucl.ac.uk/isd/ ============================================================================== This document narrates how you can run Questasim on our Unix servers and view the GUI (Graphical User Interface) on our laptop. We have two documents: 1. VNC_to_viterbi-scfN_via_SSH_Tunnel_Windows.docx (this document for students with a Windows laptop) 2. VNC_to_viterbi-scfN_via_SSH_Tunnel_Mac.docx (another document for students with a Mac) How to use VNC to run Questasim on vieterbi-scfN (via establishing SSH Tunneling to connect to viterbi-scfN) The following was used as a resource: https://community.time4vps.com/discussion/120/how-to-connect-to-vnc-server-ussing-ssh-tunnel First time: A. First install VNC Viewer on your Windows laptop. This is done just one time. RealVnc helps users to work on GUI-based UNIX tools (for example, Questasim on our UNIX system). You need a viewer only, not “the server + viewer combination”. Go to http://www.realvnc.com/download/viewer/ This shows a download button with the following link https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-6.20.529-Windows.exe Download the viewer (version 6.20.529 as of Jan. 2021 or later) and install on your windows laptop. B. Login to your Unix account and check the contents of your .vnc/xstartup and see if your xstartup file has the same content as mine as shown below. If the content is different, fix the content. Or if the xstartup file does not even exist, create it with the following content. It is best to copy and paste. viterbi-scf1-ee457lab{112} more .vnc/xstartup #!/bin/sh [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -title "$VNCDESKTOP Desktop" & fvwm & One simple way is to move your .vnc/xstartup if it exists to a different name (say .vnc/xstartup_OLD and get it from my eeview account as shown below. To move an existing directory, we can use /bin/rm .vnc/xstartup .vnc/xstartup_OLD To remove an existing directory, we can use the command /bin/rm .vnc/xstartup Then copy cp -p ~eeview/COPY_OF_VNC_xstartup .vnc/xstartup C. Also check to see if you have a .fvwm (F Virtual Window Manager) subdirectory with the following files. If you have been using VNC for other courses and you are happy with it and if you do not have .fvwm, you can skip this step. FVWM is optional. If you are new to VNC, I recommend that you go for fvwm. Most likely you may not have the directory itself. Or you may have an empty directory. If you have an empty .fvwm directory, use the following command to get the files from my eeview account. cp -p ~eeview/COPY_OF_fvwm_Dir/* .fvwm/ If you do not even have an empty .fvwm directory, then use the following command. cp -pR ~eeview/COPY_OF_fvwm_Dir .fvwm The following illustrates copying the entire directory and its contents recursively into my ee201 account from my eeview account. Every time: There are three steps: 0. Do VPN (optional => hence unnecessary => hence skip it as it can increase delay in responses) 1. Run VNC Server (Unix command vncserver) on Viterbi-scfN.usc.edu 2. Establishing the SSH tunnel 3. Run VNC viewer on your windows laptop 0. DO VPN (skip this step) 1. Run VNC server on Viterbi-scfN Login to viterbi-scf1 or viterbi-scf2 (use putty or any ssh utility/tool). Run vncserver: $ vncserver -geometry 1920x1080 You can change the resolution of your VNC using -geometry switch. 1920x1080 is the resolution on my laptop display. At the end of using Questasim (or whatever GUI-based tool on Unix you are using), come back to your PuTTy window and kill the server running on viterbi-scfN using either vncserver -kill :100NN or vncserver -autokill This will terminate your vncserver session when you finish working. $ vncserver -autokill $ vncserver -kill :100NN // your vnc display number NOTE: vncserver will not automatically terminate unless you use one of the two commands above. You should kill the vncserver unless you are planning to reconnect to the vncserver in the next few minutes. Terminating vncserver on Unix will free up Unix system resources for others. You can check your running vncserver processes: $ vncserver -list Notice that I have used viterbi-scf1 above, but you can also use viterbi-scf2 also. Please notice the two display numbers 10001 (100NN) and 15001 (150NN) in the above Unix snip. You use the display number 10001 (100NN) with the vncserver -kill. You use the display number 15001 (150NN) with the “vncviewer” later in step #3. On viterbi-scfN, if you haven’t run vncserver before, it’ll ask you to set a password for your VNC sessions. This password has nothing to do with your Unix account login password It will ask you if you want a read-only password as well, but you don’t need to set a read-only password unless you want someone to see your sessions. Your chosen password is stored in a file called passwd (.vnc/passwd). If you had set a password long back but don’t remember what it is, then you can reset your password by removing the file .vnc/passwd. $ rm .vnc/passwd Then when you run vncserver again, it will ask you to set a password. 2. Establishing the tunnel Login to your Unix server (viterbi-scfN) Using Putty for windows): Start putty. Usually it opens with the Sessions category active. Expand the Connection => SSH Connection => SSH => Tunnels will bring you to Fill in the number for source as 15001 and destination as localhost:15001 (no space before or after the colon : ) as shown below. You could use any number for source but there’s no reason not to use the same number. Then hit “Add” After the above (without hitting Open), please go back to the Sessions category. In this pane, do not load a previous saved session, as that would nullify the tunneling info that we have just put in. Actually, type in manually Viterbi-scf1.usc.edu as shown below Login to your viterbi-scf1 account again. You can leave the Unix terminal window open and use if needed. 3. Running the VNC viewer Bring up your local VNC viewer on your laptop. You can use any kind of VNC viewer tools, such as the Real VNC Viewer which we are using here or TightVNC, etc. Add the remote host as shown: Hit Connect. The screenshots below show the procedure to add connection on VNC Viewer. (Link to download: https://www.realvnc.com/download/viewer/) Right-click in the white space somewhere in the main window and choose New connection… On the subsequent window that opens after selecting “New Connection…”, add the VNC server as shown below. Type localhost:15001 (without any spaces before or after the colon : ). Click OK This adds a new connection on your VNC Viewer’s main window. A new connection is added to your VNC Viewer’s main window. Next time if it is again 15001, you do no have to recreate it. You can use this one. Here you’ll enter the password you had set for your VNC on your Unix before/while invoking the vncserver on Unix. If you get a “desktop” like this, it means that your fvwm is not working. Please check your .vnc/xstartup on your Unix account to find if it is missing the fvwm & command. But, if you have been using VNC in this fashion and are happy with this, there is no need to correct. You can invoke additional xterms using xterm & command at the Unix prompt above. This figure is again with no fvwm & command in .vnc/xstartup Also, there are some controls at the top center Now (in the xterm on your desktop) you can go to your Questasim project directory (like the middle_finder project directory) and invoke the Questasim tool using the command vsim & With proper fvwm & command, the vnc viewer window appears as shown below. I think this is more functional. I need to findout how to change font size in xterm. Now you can navigate to a Questasim project folder such as ~/Questasim_project/middle_finder in my tutorial and invoke Questasim using vsim & command as shown below. .
Recommended publications
  • Web Vmstat Any Distros, Especially Here’S Where Web Vmstat Comes Those Targeted at In
    FOSSPICKS Sparkling gems and new releases from the world of FOSSpicks Free and Open Source Software Mike Saunders has spent a decade mining the internet for free software treasures. Here’s the result of his latest haul… Shiny statistics in a browser Web VMStat any distros, especially Here’s where Web VMStat comes those targeted at in. It’s a system monitor that runs Madvanced users, ship an HTTP server, so you can connect with shiny system monitoring tools to it via a web browser and see on the desktop. Conky is one such fancy CSS-driven charts. Before you tool, while GKrellM was all the rage install it, you’ll need to get the in the last decade, and they are websocketd utility, which you can genuinely useful for keeping tabs find at https://github.com/ on your boxes, especially when joewalnes/websocketd. Helpfully, you’re an admin in charge of the developer has made pre- various servers. compiled executables available, so Now, pretty much all major you can just grab the 32-bit or distros include a useful command 64-bit tarball, extract it and there line tool for monitoring system you have it: websocketd. (Of course, Here’s the standard output for vmstat – not very interesting, right? resource usage: vmstat. Enter if you’re especially security vmstat 1 in a terminal window and conscious, you can compile it from copy the aforementioned you’ll see a regularly updating (once its source code.) websocketd into the same place. per second) bunch of statistics, Next, clone the Web VMStat Git Then just enter: showing CPU usage, free RAM, repository (or grab the Zip file and ./run swap usage and so forth.
    [Show full text]
  • Lightweight Distros on Test
    GROUP TEST LIGHTWEIGHT DISTROS LIGHTWEIGHT DISTROS GROUP TEST Mayank Sharma is on the lookout for distros tailor made to infuse life into his ageing computers. On Test Lightweight distros here has always been a some text editing, and watch some Linux Lite demand for lightweight videos. These users don’t need URL www.linuxliteos.com Talternatives both for the latest multi-core machines VERSION 2.0 individual apps and for complete loaded with several gigabytes of DESKTOP Xfce distributions. But the recent advent RAM or even a dedicated graphics Does the second version of the distro of feature-rich resource-hungry card. However, chances are their does enough to justify its title? software has reinvigorated efforts hardware isn’t supported by the to put those old, otherwise obsolete latest kernel, which keeps dropping WattOS machines to good use. support for older hardware that is URL www.planetwatt.com For a long time the primary no longer in vogue, such as dial-up VERSION R8 migrators to Linux were people modems. Back in 2012, support DESKTOP LXDE, Mate, Openbox who had fallen prey to the easily for the i386 chip was dropped from Has switching the base distro from exploitable nature of proprietary the kernel and some distros, like Ubuntu to Debian made any difference? operating systems. Of late though CentOS, have gone one step ahead we’re getting a whole new set of and dropped support for the 32-bit SparkyLinux users who come along with their architecture entirely. healthy and functional computers URL www.sparkylinux.org that just can’t power the newer VERSION 3.5 New life DESKTOP LXDE, Mate, Xfce and others release of Windows.
    [Show full text]
  • 1 What Is Gimp? 3 2 Default Short Cuts and Dynamic Keybinding 9
    GUM The Gimp User Manual version 1.0.0 Karin Kylander & Olof S Kylander legalities Legalities The Gimp user manual may be reproduced and distributed, subject to the fol- lowing conditions: Copyright © 1997 1998 by Karin Kylander Copyright © 1998 by Olof S Kylander E-mail: [email protected] (summer 98 [email protected]) The Gimp User Manual is an open document; you may reproduce it under the terms of the Graphic Documentation Project Copying Licence (aka GDPL) as published by Frozenriver. This document is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANT- ABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Graphic Documentation Project Copying License for more details. GRAPHIC DOCUMENTATION PROJECT COPYING LICENSE The following copyright license applies to all works by the Graphic Docu- mentation Project. Please read the license carefully---it is similar to the GNU General Public License, but there are several conditions in it that differ from what you may be used to. The Graphic Documentation Project manuals may be reproduced and distrib- uted in whole, subject to the following conditions: The Gimp User Manual Page i Legalities All Graphic Documentation Project manuals are copyrighted by their respective authors. THEY ARE NOT IN THE PUBLIC DOMAIN. • The copyright notice above and this permission notice must be preserved complete. • All work done under the Graphic Documentation Project Copying License must be available in source code for anyone who wants to obtain it. The source code for a work means the preferred form of the work for making modifications to it.
    [Show full text]
  • A Crash Course on UNIX
    AA CCrraasshh CCoouurrssee oonn UUNNIIXX UNIX is an "operating system". Interface between user and data stored on computer. A Windows-style interface is not required. Many flavors of UNIX (and windows interfaces). Solaris, Mandrake, RedHat (fvwm, Gnome, KDE), ... Most UNIX users use "shells" (or "xterms"). UNIX windows systems do provide some Microsoft Windows functionality. TThhee SShheellll A shell is a command-line interface to UNIX. Also many flavors, e.g. sh, bash, csh, tcsh. The shell provides commands and functionality beyond the basic UNIX tools. E.g., wildcards, shell variables, loop control, etc. For this tutorial, examples use tcsh in RedHat Linux running Gnome. Differences are minor for the most part... BBaassiicc CCoommmmaannddss You need these to survive: ls, cd, cp, mkdir, mv. Typically these are UNIX (not shell) commands. They are actually programs that someone has written. Most commands such as these accept (or require) "arguments". E.g. ls -a [show all files, incl. "dot files"] mkdir ASTR688 [create a directory] cp myfile backup [copy a file] See the handout for a list of more commands. AA WWoorrdd AAbboouutt DDiirreeccttoorriieess Use cd to change directories. By default you start in your home directory. E.g. /home/dcr Handy abbreviations: Home directory: ~ Someone else's home directory: ~user Current directory: . Parent directory: .. SShhoorrttccuuttss To return to your home directory: cd To return to the previous directory: cd - In tcsh, with filename completion (on by default): Press TAB to complete filenames as you type. Press Ctrl-D to print a list of filenames matching what you have typed so far. Completion works with commands and variables too! Use ↑, ↓, Ctrl-A, & Ctrl-E to edit previous lines.
    [Show full text]
  • Introduction
    1 Introduction The X Window System was originally developed in the early 1980’s, and encompassed from the beginning many of the windowing capabilities that we now take for granted. While in a number of ways X was (and still is) command-line oriented, the capability of moving away from the command line was inherent from the very beginning in the architecture of the system. The advent of the desktop graphical user interface (GUI) didn’t require a major redesignof the X Window System. Figure 1-1 illustrates what an X desktop might have looked like in the early days. Figure 1-1: X desktop in the early days using twm But times have changed. Shown in Figure 1-2 is what a modern X desktop can now look like. This example uses the KDE Desktop Environment described later in Chapter 9, Using KDE. Figure 1-2: Modern X desktop using KDE Quite different in appearance--the more modern example has a fancier desktop and is visually more appealing--but technically there’s little difference between these examples. The X server still communicates with the X client via the X protocol over a network, and a window manager is still being used to manage the client application windows. The basics haven’t changed, just the frills. Part I of this book describes the underlying features of X that make it such a versatile and enduring system; Part II takes a look at some of the modern window managers and the two major desktop environments, GNOME and KDE; and Part III puts the theory, which sometimes needs configuration help and effort, into practice.
    [Show full text]
  • What Is Linux?
    What is Linux? ● A computer operating system (OS). ● Based on the UNIX OS (a major server OS). ● Free and open source software (FOSS). ● Available free of cost. ● Runs on nearly every hardware platform: – mainframes, PCs, cell phones, embedded processors ● Heavily used for servers. ● Heavily used in devices with embedded processors. CS Day 2013: Linux Introduction © Norman Carver Computer Science Dept. SIUC Linux?? ● “But I have never heard of Linux, so it must not be very commonly used.” ● “Nobody uses Linux.” ● “Everyone runs Windows.” ● “Linux is too hard for anyone but computer scientists to use.” ● “There's no malware for Linux because Linux is so unimportant.” CS Day 2013: Linux Introduction © Norman Carver Computer Science Dept. SIUC Have You Used Linux? ● Desktop OS? – many distributions: Ubuntu, Red Hat, etc. CS Day 2013: Linux Introduction © Norman Carver Computer Science Dept. SIUC Have You Used Linux? ● Desktop OS? – many distributions: Ubuntu, Red Hat, etc. CS Day 2013: Linux Introduction © Norman Carver Computer Science Dept. SIUC Have You Used Linux? ● Cell phones or tablets or netbooks? – Android and Chrome OS are Linux based CS Day 2013: Linux Introduction © Norman Carver Computer Science Dept. SIUC Have You Used Linux? ● Routers? – many routers and other network devices run Linux – projects like DD-WRT are based on Linux CS Day 2013: Linux Introduction © Norman Carver Computer Science Dept. SIUC Have You Used Linux? ● NAS (Network Attached Storage) devices? – most run Linux CS Day 2013: Linux Introduction © Norman Carver Computer Science Dept. SIUC Have You Used Linux? ● Multimedia devices? – many run Linux CS Day 2013: Linux Introduction © Norman Carver Computer Science Dept.
    [Show full text]
  • 1.1 X Client/Server
    เดสกทอปลินุกซ เทพพิทักษ การุญบุญญานันท 2 สารบัญ 1 ระบบ X Window 5 1.1 ระบบ X Client/Server . 5 1.2 Window Manager . 6 1.3 Desktop Environment . 7 2 การปรับแตง GNOME 11 2.1 การติดตั้งฟอนต . 11 2.2 GConf . 12 2.3 การแสดงตัวอักษร . 13 2.4 พื้นหลัง . 15 2.5 Theme . 16 2.6 เมนู/ทูลบาร . 17 2.7 แปนพิมพ . 18 2.8 เมาส . 20 3 4 บทที่ 1 ระบบ X Window ระบบ GUI ที่อยูคูกับยูนิกซมมานานคือระบบ X Window ซึ่งพัฒนาโดยโครงการ Athena ที่ MIT รวมกับบริษัท Digital Equipment Corporation และบริษัทเอกชนจำนวนหนึ่ง ปจจุบัน X Window ดูแลโดย Open Group เปนระบบที่เปดทั้งในเรื่องโปรโตคอลและซอรสโคด ขณะที่เขียนเอกสารฉบับนี้ เวอรชันลาสุดของ X Window คือ เวอรชัน 11 รีลีส 6.6 (เรียกสั้นๆ วา X11R6.6) สำหรับลินุกซและระบบปฏิบัติการในตระกูลยูนิกซที่ทำงานบน PC ระบบ X Window ที่ใชจะมาจาก โครงการ XFree86 ซึ่งพัฒนาไดรเวอรสำหรับอุปกรณกราฟกตางๆ ที่ใชกับเครื่อง PC รุนลาสุดขณะที่ เขียนเอกสารนี้คือ 4.3.0 1.1 ระบบ X Client/Server X Window เปนระบบที่ทำงานผานระบบเครือขาย โดยแยกเปนสวน X client และ X server สื่อสาร กันผาน X protocol ดังนั้น โปรแกรมที่ทำงานบน X Window จะสามารถแสดงผลบนระบบปฏิบัติการ ที่ตางชนิดกันก็ได ตราบใดที่ระบบนั้นสามารถใหบริการผาน X protocol ได X client ไดแกโปรแกรมประยุกตตางๆ ที่จะขอใชบริการจาก X server ในการติดตอกับฮารดแวร เชน จอภาพ แปนพิมพ เมาส ฯลฯ ดังนั้น X server จึงทำงานอยูบนเครื่องที่อยูใกลผูใชเสมอ ในขณะที่ X client อาจอยูในเครื่องเดียวกันหรืออยูในเครื่องใดเครื่องหนึ่งในระบบเครือขายก็ได X client จะติดตอกับ X server ดวยการเรียก X library (เรียกสั้นๆ วา Xlib) API ตางๆ ใน Xlib มีหนาที่แปลงการเรียกฟงกชันแตละครั้งใหเปน request ในรูปของ X protocol เพื่อสงไปยัง X server
    [Show full text]
  • X Window System Architecture Overview HOWTO
    X Window System Architecture Overview HOWTO Daniel Manrique [email protected] Revision History Revision 1.0.1 2001−05−22 Revised by: dm Some grammatical corrections, pointed out by Bill Staehle Revision 1.0 2001−05−20 Revised by: dm Initial LDP release. This document provides an overview of the X Window System's architecture, give a better understanding of its design, which components integrate with X and fit together to provide a working graphical environment and what choices are there regarding such components as window managers, toolkits and widget libraries, and desktop environments. X Window System Architecture Overview HOWTO Table of Contents 1. Preface..............................................................................................................................................................1 2. Introduction.....................................................................................................................................................2 3. The X Window System Architecture: overview...........................................................................................3 4. Window Managers..........................................................................................................................................4 5. Client Applications..........................................................................................................................................5 6. Widget Libraries or toolkits...........................................................................................................................6
    [Show full text]
  • Linux Box — Rev
    Linux Box | Rev Howard Gibson 2021/03/28 Contents 1 Introduction 1 1.1 Objective . 1 1.2 Copyright . 1 1.3 Why Linux? . 1 1.4 Summary . 2 1.4.1 Installation . 2 1.4.2 DVDs . 2 1.4.3 Gnome 3 . 3 1.4.4 SElinux . 4 1.4.5 MBR and GPT Formatted Disks . 4 2 Hardware 4 2.1 Motherboard . 5 2.2 CPU . 6 2.3 Memory . 6 2.4 Networking . 6 2.5 Video Card . 6 2.6 Hard Drives . 6 2.7 External Drives . 6 2.8 Interfaces . 7 2.9 Case . 7 2.10 Power Supply . 7 2.11 CD DVD and Blu-ray . 7 2.12 SATA Controller . 7 i 2.13 Sound Card . 8 2.14 Modem . 8 2.15 Keyboard and Mouse . 8 2.16 Monitor . 8 2.17 Scanner . 8 3 Installation 8 3.1 Planning . 8 3.1.1 Partitioning . 9 3.1.2 Security . 9 3.1.3 Backups . 11 3.2 /usr/local . 11 3.3 Text Editing . 11 3.4 Upgrading Fedora . 12 3.5 Root Access . 13 3.6 Installation . 13 3.7 Booting . 13 3.8 Installation . 14 3.9 Booting for the first time . 17 3.10 Logging in for the first time . 17 3.11 Updates . 18 3.12 Firewall . 18 3.13 sshd . 18 3.14 Extra Software . 19 3.15 Not Free Software . 21 3.16 /opt . 22 3.17 Interesting stuff I have selected in the past . 22 3.18 Window Managers . 23 3.18.1 Gnome 3 .
    [Show full text]
  • Turbo-Charge Your Desktop
    Turbo-charge your desktop Turbo-charge your desktop rge ha -c p o to rb sk Enlightenment 0.16.8.14 u e Fluxbox 1.0.0 T d Ratpoison 1.4.3 r Mike Saunders explores the slick u Enlightenment, speedy Fluxbox o and keyboard-tastic Ratpoison y window managers. Aye caramba! anufacturers and PC vendors would have the internet. Click Applications > Accessories > Terminal (in you believe that there’s only one way to Gnome) to enter the commands. Then, after installing, log out speed up your machine: buy new kit! And and click Options > Select Session to choose the WM that M then, in 18 months, buy new kit again. runs when you log in. Let’s go! However, it’s usually our software that’s the real bottleneck. If you’ve been using Linux for a while, you’ll already have discovered lighter alternatives to some of DESKTOP ENVIRONMENT Builds upon the window manager, the platform’s bloatfests – for example, using AbiWord adding panels, system trays, and Gnumeric in the place of OpenOffice.org. a file manager and so on. But what about the desktop itself? To start with, let’s look at how the layers of the Linux GUI fit together, right. WINDOW MANAGER (AKA WM) Uses the widget tookit to produce title That’s the setup when you’re running one of the big three bars, resize handles and menus. desktops (Gnome, KDE, Xfce). However, if you choose a standalone window manager (WM), you can cut out the first WIDGET TOOLKIT and third layers in this stack.
    [Show full text]
  • UNIX the Very10 Short Howto for Beginners
    UNIX The Very10 Short Howto for beginners Soon-Hyung Yook March 27, 2015 Soon-Hyung Yook UNIX March 27, 2015 1 / 29 Table of Contents 1 History of Unix 2 What is UNIX? 3 What is Linux? 4 How does Unix work? 5 How to Use it? Soon-Hyung Yook UNIX March 27, 2015 2 / 29 History of Unix How old is UNIX? Unix originally dates back to 1969 with a group at Bell Lab. The original Unix OS was written in assembler. In 1973 Ken Thompson and Dennis Ritchie finally rewrite Unix in their new language, C. The first Unix installation in 1972 had 3 users and a 500KB diet. Thompson and Ritchie work at DEC-PDP 11 Soon-Hyung Yook UNIX March 27, 2015 3 / 29 What is UNIX? What is UNIX? Unix is a multiuser, multitaking operating system (OS). manage hardware resources. manage directories and file systems loading, excuting, suspending programs There are many names of Unix: Solaris (Sun) AIX (IBM) True64 (Compaq) IRIX (SGI) System V (from AT&T) BSD (from Berkeley) Soon-Hyung Yook UNIX March 27, 2015 4 / 29 What is Linux? What is Linux? Linux is a clone of the Unix OS written from scratch by Linus Torvalds with assistance from developers around the world. Developed under the GNU General Public License The source of Linux is freely available. There are large number of Linux distributors: RedHat, Fedora, CentOS, Sicentific Linux Slackware Debian, Ubuntu, Mint, Lubuntu SUSE, OpenSUSE Gentoo Mandrake Arch KNOPPIX Soon-Hyung Yook UNIX March 27, 2015 5 / 29 What is Linux? Hierarchy of Unix Systems Soon-Hyung Yook UNIX March 27, 2015 6 / 29 How does Unix work? Kernel The kernel is the core of OS Kernel receives tasks from the shell and performs them.
    [Show full text]
  • Basic UNIX 4: More on the GUI ● How X Works ● Window and Desktop Managers ● File Managers ● Common Tasks ● System Administration Tools
    Basic UNIX 4: More on the GUI ● How X works ● Window and desktop managers ● File managers ● Common tasks ● System administration tools Iowa State University Information Technology Services Last update 1/29/2008 by jbalvanz How X works ● X server (X) – Provides tools for drawing graphics on a display – X applications send commands to the X server via TCP/IP ● X client – Machine running the software that wants to draw graphics – Usually the machine running the server, but doesn't have to be! How this looks Server Client Application package X Server TCP/IP TCP/IP Stack Stack Network Why is this good? ● Applications are independent of graphics hardware, window manager and even hardware platform ● Server and client do not have to be on the same machine; applications can be run remotely – Licensing considerations – Horsepower restrictions Running X applications remotely ● Connect to a remote machine using ssh with the -X option (not -x) ssh -X [email protected] ● Start the application sas Window managers ● Manages positioning of windows on the screen, virtual desktops, running applications; may include menus – AfterStep – Blackbox – Enlightenment Display Driver – FVWM Window Manager – IceWM – WindowMaker X Server – etc., etc., etc., etc. TCP/IP Stack Desktop Environments ● Window management + system utilities + standard applications + games + menuing system + ???????? – GNOME Desktop – K Desktop Environment (KDE) – Microsoft Windows What you'll have to get used to... ● Users have a choice of window/desktop manager (even in the stock RedHat install) ● Many desktop managers are themeable, i.e., FVWM may look completely different from FVWM on another machine depending on the choice of theme Why choice is good..
    [Show full text]