Unix/Linux Resources
Printing
Any application with printing interface using IPP protocol on a registered host within the CSE network can use this service provided that the account name used to run the application matches a valid CSE account name. (However, only research account holders can print to research printers.)
[+] CUPS Print Servers and Configuration
[-] CUPS Print Servers and Configuration
Printing from a non-CSL-supported Unix platform requires that CUPS or IPP-compatible software be installed, and may also require additional configuration. The IPP printing service for all printers and platforms is implemented by (CUPS), the Common Unix Printing system. We operate two servers:
- ripp.cs.washington.edu, for research printers
- iipp.cs.washington.edu, for instructional printers
On many Linux distributions, configuring client-side CUPS for printing can be done by editing or creating /etc/cups/client.conf to point to a CSE IPP server. For instance, to gain access to all research printers, /etc/cups/client.conf might have this one line:
ServerName ripp.cs.washington.edu
Details on setting up CUPS can be found in Documentation/Help tab at Common UNIX Printing System.
[+] Printing from Terminal
[-] Printing from Terminal
Files can be printed from a terminal using the lp (System-V style) or lpr (BSD-style) commands.
- List available printers: lpstat -p -d
- List print options: lpoptions -p -l
- Print a file: lpr -P<printer> <options> <filename> or lp -d<printer> <options> <filename> where <printer> is the destination printer, <options> are the print options, and <filename> is the name of the file you want to print
- Finding a job-id: lpq -P<printer> or lp -p <printer>
- Cancel a job in the queue: cancel <job-id> <printer> or qlprm -P <printer> <job-id>
[+] Printing from GUI
[-] Printing from GUI
If you use an X window and you can successfully run an X command such as xterm on Unix, you could also use the X Printing Panel, xpp, in place of the lpr command and avoid the mismatch problems. The xpp command can be used with any X GUI application (e.g., Firefox or Thunderbird) for printing.
The xpp command takes the same command line options as the lpr(1) command. When xpp is run without any options, it shows you a list of all printers available. The printer with its radio button selected is your default printer (set by the PRINTER environment variable, your ~/.cups/lpoptions file, or your ~/.lpoptions file). If you do not have a default printer set, you cannot print (the default printer will be the CUPS or system default printer, which does not accept any job.)
In xpp, you can create and save an instance of a printer with any feature settings. For example, you can create an instance named "duplex" for printer ps281 and set it to print on both sides of paper. Once you have saved your settings, the settings are stored in your ~/.cups lpoptions file, and they are available the next time you use the xpp, lpr(1) or lp(1) command. For example, the "duplex" instance created in the previous example can be used as "ps281/duplex" with -P flag on xpp or lpr(1), or with -d on lp(1) command.
Network File Access
The recommended way of connecting to CSE files and folders from a non-lab managed machine is via the fuse-sshfs package (most applicable directories are already exported on lab-managed machines). It is also possible to request exports of a specific directory to a local desktop by emailing support@cs.
[+] Mapping Your Home Directory
[-] Mapping Your Home Directory
- Install the fuse-sshfs package (if you haven't already) using the standard install method for your distro (ex: sudo yum install fuse-sshfs on Fedora)
- Create a folder in your local home directory to act as a mount point:
cd
mkdir csehomedir- Instructional Accounts: sshfs tanaga: ~/csehomedir
- Research Accounts: sshfs <server>: ~/csehomedir where <server> (your home directory server) can be determined running ssh <username>@recycle.cs.washington.edu 'df ~'.
[+] Mapping a Project Directory
[-] Mapping a Project Directory
- Install the fuse-sshfs package (if you haven't already) using the standard install method for your distro (ex: sudo yum install fuse-sshfs on Fedora)
- Determine Your Project Server:
- Instructional Projects: ssh <username>@attu.cs.washington.edu 'df /projects/<projectname>'.
- Research Projects: ssh <username>@recycle.cs.washington.edu 'df /projects/<projectname>'.
- Create a folder in your local home directory to act as a mount point:
cd
mkdir <projectname> - Mount the remote directory by running sshfs <server>:/projects/<projectname> ~/<projectname>
[+] High-Level File System Structure
[-] High-Level File System Structure
The following table shows the topmost directory structure of remotely-accessible directories in the department.
/projects Project directories, instructional/research UNIX
/homes/gws Research Home Directories, research UNIX
/iws Instructional home directory, instructional UNIX
/sgi Grail home directory, grail servers
/sys System home directory, system servers
/cse Data that is not platform-specific, research UNIX
/sources Local CSE source files, research UNIX
Remote Access
We provide ways that you can telecommute and use CSE resources and software. If your destination is Unix, we offer several packages for connecting, including: OpenSSH, XTerm for X support, and Mindterm. If your destination is Windows, rdesktop is the current (and only) supported method.
[+] Accessing Remote Windows Machines
[-] Accessing Remote Windows Machines
- Open a Standard Terminal: Activities-> Applications-> Terminal
- Run rdesktop <hostname> where hostname is the name or IP of the machine you wish to connect to.
- A new window will open with a familiar Windows interface. Select Other User.
- Enter your username in the form of domain\username (ex: CSERESEARCH\bob) and password, then hit ENTER.
- NOTE: If you are not connecting from a machine joined to a CSE Windows domain (ex: a personal laptop), the target computer name and your domain\username will be of the form <hostname>.cs.washington.edu and <domain>.cs.washington.edu\<username> respectively.
These machines are available for remote access:
- CSE Windows Virtual Lab (CSEPCLAB\CSERESEARCH) - Each machine has a near identical software config to that of the Windows Instructional Lab Workstations in the Allen Center.
- CSE Research Windows Terminal Server (CSERESEARCH) - aqua.cs.washington.edu is a large terminal server dedicated to research users only.
- Faculty/staff/grads can also use remote desktop to their own machines located in the CSE building.
- In special cases, labs are set up for remote usage for PMP students.
[+] Accessing Remote Linux Machines
[-] Accessing Remote Linux Machines
Remote access for Linux machines is available using OpenSSH or optionally a combination of Xterm and OpenSSH (for X support).
- Open a terminal:
- Open a Standard Terminal: Activities-> Applications-> Terminal
- Open a X Terminal (for optional X support): Activities-> Applications-> xTerm
- Run ssh <hostname> (or ssh -X <hostname> for X support) where hostname is the name or IP of the machine you wish to connect to.
- Any commands run from this window will actually be executed on the remote machine (including X applications).
These machines are available for remote access:
- 64-bit Instructional Unix Servers: The attu cluster is a set of four servers (attu1-4). You can connect to a specific server by name, or if you connect to attu.cs.washington.edu, you will be connected to one of the four servers. Because these are time-shared systems, a single-process CPU time limit policy applies to this cluster.
- 32-bit Instructional Unix Server: attu32.cs.washington.edu is a single 32-bit server dedicated to 32-bit only applications (such as Standard ML of New Jersey).
- Research Unix Cycle Servers: Members of the CSE research community needing general UNIX cycles can use any of the research Linux cycle servers: recycle.cs.washington.edu, bicycle.cs.washington.edu, and tricycle.cs.washington.edu. These machines have the same software installed as found on the gws desktop Linux machines, but do not sit on anyone's personal desk. The software installation is based on a version of Fedora Linux, with local customizations and additions.
- Contact support@cs for additional Linux servers designed for remote access
Linux Virtual Machines or "Home VM"
The CSE lab prepares virtual machine images that, in a rough sense, allow you to take a lab Windows or Linux workstation home with you. More details can be found HERE.- CSL / Support Home
- Access/Accounts/Passwords
- Backups & Restores
- Cloud & Email Services
- Computing Tips for Students
- Course Resources (Fac/TA)
- Equipment (loan/procure)
- Ergonomics
- File Service & Remote Access
- Lab Facilities
- Lab Policies
- Networking
- Printing & Scanning
- Security
- Software
- Tools
- Web Authoring
- Macintosh Resources
- Unix/Linux Resources
- Windows Resources

cs.