Support FAQ

School of Computing Resources

School of Computing Resources

Students enrolled in courses (CSCE, SOFT, and RAIK) taught by faculty of the School of Computing, (CSCE, SOFT or RAIK) automatically have accounts on the nuros.unl.edu, (formerly known as cse-linux-01.unl.edu) server. To access this server, the easiest way is to open a terminal window in MacOS, or the Command Prompt or PowerShell in Windows 10 or 11, and use the ssh command:

ssh jdoe2@nuros.unl.edu

Substituting your MyRed login for jdoe2 in the command and entering your MyRed password when prompted. If you have never logged into the nuros.unl.edu server, a new home directory will be created for you. The nuros.unl.edu server offers a variety of software development tools, frameworks and services including MySQL server accounts. You can also access nuros.unl.edu using the NoMachine application if a GUI interface to the server is needed.

Some students may need a School of Computing (SoC)  account (refered to as your CSE account)  if they are doing research with faculty or accessing legacy software that is only available on the legacy CSE systems. This CSE account is used to access legacy SoC servers, websites, and network shares. A CSE account is separate from a My.UNL account (e.g. jdoe2) which is used to access UNL services like Canvas, Box, and Microsoft 365, and a TrueYou account (e.g. 12345678) which is used to access NU (system-wide) services like MyRED and Firefly. Usernames for CSE accounts do not contain any numbers, and the password for your CSE account is not synchronized to your My.UNL or TrueYou account password. If you have been told by an instructor or faculty member that you need to access the legacy systems using a   CSE account, you can create one online at https://cse.unl.edu/claim by entering your full @huskers.unl.edu email address. After submitting your Huskers email address, you’ll receive a confirmation email at that address; click the link in the email to verify your identity and set up your new CSE account. This process will prompt you to choose your own password for your account, complete the consent form to agree to the university’s computer use guidelines, and then provide you with the username (or LoginID) for your CSE account. Make note of the username/LoginID for your CSE account, as it will be different than the My.UNL account username you use to access Canvas and other UNL services.

If you already have a CSE account (e.g. from a previous CSCE/SOFT/RAIK course) but don’t remember your username, go to https://cse.unl.edu/lost_login. If you have forgotten your password, go to https://cse.unl.edu/reset_password. Both links will prompt you to enter your full @huskers.unl.edu email address to have your CSE login sent to you or request your password be reset.

Below is a quick start guide on resources available for students enrolled in SoC courses.


Printing: A printer is available for all SoC students in Avery 15. To print to a printer, then follow the appropriate instructions below:

Printer access is dependent on having the correct settings for your connection to the EDUROAM network on campus.


Storage: While OneDrive can be accessed through a web browser on our lab computers, when developing code on lab computers, we recommend using a thumb drive or mapping a network share.  One is made available to School of Computing students (referred to as your home directory) You will first need to claim your CSE account by visiting the link at the top of this document, then follow the instructions below.

Mapping your home directory to lab computers: https://computing.unl.edu/faq/labdrv

Access your CSE home directory from a personal device:

Accessing OneDrive on lab computers: https://computing.unl.edu/faq/onedrive


Handin: If your course requires you to submit code or use the web grader you might be asked to use handin. The handin application: https://cse.unl.edu/handinuses your MyRed login and password to submit assignments.


Remote Linux Access: A lot of classes in the School of Computing will require you to access our remote Linux server using Secure Shell (SSH). The links below show the step-by-step process of using SSH to connect to the servers.


Helpful links and getting additional support:

PDF version of this document.

Account and General Issues

School of Computing Resources

School of Computing Resources

Students enrolled in courses (CSCE, SOFT, and RAIK) taught by faculty of the School of Computing, (CSCE, SOFT or RAIK) automatically have accounts on the nuros.unl.edu, (formerly known as cse-linux-01.unl.edu) server. To access this server, the easiest way is to open a terminal window in MacOS, or the Command Prompt or PowerShell in Windows 10 or 11, and use the ssh command:

ssh jdoe2@nuros.unl.edu

Substituting your MyRed login for jdoe2 in the command and entering your MyRed password when prompted. If you have never logged into the nuros.unl.edu server, a new home directory will be created for you. The nuros.unl.edu server offers a variety of software development tools, frameworks and services including MySQL server accounts. You can also access nuros.unl.edu using the NoMachine application if a GUI interface to the server is needed.

Some students may need a School of Computing (SoC)  account (refered to as your CSE account)  if they are doing research with faculty or accessing legacy software that is only available on the legacy CSE systems. This CSE account is used to access legacy SoC servers, websites, and network shares. A CSE account is separate from a My.UNL account (e.g. jdoe2) which is used to access UNL services like Canvas, Box, and Microsoft 365, and a TrueYou account (e.g. 12345678) which is used to access NU (system-wide) services like MyRED and Firefly. Usernames for CSE accounts do not contain any numbers, and the password for your CSE account is not synchronized to your My.UNL or TrueYou account password. If you have been told by an instructor or faculty member that you need to access the legacy systems using a   CSE account, you can create one online at https://cse.unl.edu/claim by entering your full @huskers.unl.edu email address. After submitting your Huskers email address, you’ll receive a confirmation email at that address; click the link in the email to verify your identity and set up your new CSE account. This process will prompt you to choose your own password for your account, complete the consent form to agree to the university’s computer use guidelines, and then provide you with the username (or LoginID) for your CSE account. Make note of the username/LoginID for your CSE account, as it will be different than the My.UNL account username you use to access Canvas and other UNL services.

If you already have a CSE account (e.g. from a previous CSCE/SOFT/RAIK course) but don’t remember your username, go to https://cse.unl.edu/lost_login. If you have forgotten your password, go to https://cse.unl.edu/reset_password. Both links will prompt you to enter your full @huskers.unl.edu email address to have your CSE login sent to you or request your password be reset.

Below is a quick start guide on resources available for students enrolled in SoC courses.


Printing: A printer is available for all SoC students in Avery 15. To print to a printer, then follow the appropriate instructions below:

Printer access is dependent on having the correct settings for your connection to the EDUROAM network on campus.


Storage: While OneDrive can be accessed through a web browser on our lab computers, when developing code on lab computers, we recommend using a thumb drive or mapping a network share.  One is made available to School of Computing students (referred to as your home directory) You will first need to claim your CSE account by visiting the link at the top of this document, then follow the instructions below.

Mapping your home directory to lab computers: https://computing.unl.edu/faq/labdrv

Access your CSE home directory from a personal device:

Accessing OneDrive on lab computers: https://computing.unl.edu/faq/onedrive


Handin: If your course requires you to submit code or use the web grader you might be asked to use handin. The handin application: https://cse.unl.edu/handinuses your MyRed login and password to submit assignments.


Remote Linux Access: A lot of classes in the School of Computing will require you to access our remote Linux server using Secure Shell (SSH). The links below show the step-by-step process of using SSH to connect to the servers.


Helpful links and getting additional support:

PDF version of this document.

How do I change my CSE password?

Your CSE login and password are synchronized across various School of Computing (SoC) hosted Windows and Linux servers and a subset of SoC web application services. Changing your CSE synchronized password on one SoC system will change your password across all SoC systems.

With the introduction of the nuros.unl.edu and cse-linux-01.unl.edu servers offering access using UNL MyRed login credentials (e.g. jdoe2), you may not need CSE login credentials. These instructions apply to users with CSE login credentials and will have no effect on your MyRed login password settings.

From the Web: Log in to the School of Computing Account Management Utility (AMU) (https://cse.unl.edu/account) with your CSE account credentials and then clicking on the change password link from the navigation links on the left.

From Unix/Linux: To change the passwords on a Unix or Linux command line, open a terminal and login to your account. At the shell prompt enter the command "passwd". Enter your current CSE password and press enter, then enter your new CSE password when prompted.

Password Reset: If you do not remember your CSE password, you can still reset it from the web. Using your web browser, navigate to https://cse.unl.edu/reset_password and enter your huskers.unl.edu UNL email address. The Account Management Utility application will reset your password to a random value and email that new password to your huskers.unl.edu account.

Please take the time to select a good password. When you change your password, the system will reject any password that does not meet the following complexity requirement: A password much be at least seven characters long; a password must contain at least three of the following four character sets:  lowercase, uppercase, numbers and punctuations; a password cannot contain your login or your first or last names as part of the password.

Where is my SoC (CSE) email forwarded to?

As of May 20, 2019, university policy requires that all university communications be forwarded to the student's @huskers.unl.edu email. As such, all email sent your School of Computing (SoC) account will be forwarded to your @huskers.unl.edu email. No action is required on your part to enable this forwarding. For more information on this policy or if you are a new students and need to claim your @huskers.unl.edu email, please visit https://its.unl.edu/helpcenter/student-email-migration/.

SSH Connecting to Server Fails

Communication with the School of Computing servers via the Secure Shell (ssh) protocol can occasionally fail due to configuration changes.  The Secure Shell protocol uses shared public keys to verify connection to systems, and a mismatching key on either side of the connection can cause your ssh command to fail.

An example of a ssh command failure:

cse$ ssh jdoe2@cse-linux-01.unl.edu@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!Someone could be eavesdropping on you right now (man-in-the-middle attack)!It is also possible that a host key has just been changed.The fingerprint for the ED25519 key sent by the remote host isSHA256:T5kekqZiuyhZ0vf74IpeN92Ll48p/0qoVfL1Y8Q1fow.Please contact your system administrator.Add correct host key in /Users/johndoe/.ssh/known_hosts to get rid of this message.Offending ECDSA key in /Users/johndoe/.ssh/known_hosts:28Host key for cse-linux-01.unl.edu has changed and you have requested strict checking.Host key verification failed.cse$ 

The example indicates that the host key for the cse-linux-01.unl.edu server has changed.  Servers receive their host key from their internet service provider, and changes to host names or expiration of host keys will result in a new host key being issued.

To fix this problem, the clue is already present in the output; notice the line Offending ECDSA key in /Users/johndoe/.ssh/known_hosts:28. The message indicates the problem exists on your local system, in this case a Macbook pro, within the directory (folder) /Users/johndoe/.ssh where the known_hosts file has a line specific to the cse-linux-01 server. The fix is as easy as editing /Users/johndoe/.ssh/known_hosts and removing line 28. Now when you try the ssh jdoe2@cse-linux-01.unl.edu command, you will be prompted to accept a new host key, and once you accept the key you can then enter the password for the account.

How do I change my Linux systems login shell?

Your School of Computing (SoC) systems login shell defines how the department Linux workstations and servers (CSE and CSCE) will behave when you login. The shell is the user's interface to the Linux operating system allowing program execution along with capabilities to create, edit, and examine files and directories on the server. Shells also incorporate the elements of programmability by providing control flow statement-commands. This statement-command syntactic format varies with different shells, and some programs are sensitive to the shell in which they are launched. The choice of login shell can also affect the behavior of client applications that establish SSH protocol connections to the SoC servers.

Changing your login shell can be done anytime by logging into the SoC Account Management Utility (AMU) and selecting your shell under the Account Settings
menu.

Like your password, your choice of login shell is synchronized across all School of Computing Linux workstations and servers.

When does my School of Computing account expire?

For information on when your School of Computing (SoC) account expires, if you passwords are still valid or expired, and other SoC account related settings, visit the School of Computing Account Management Utility (AMU) page at https://cse.unl.edu/account.

What if I forgot my password or login?

If you have forgot your password, visit the School of Computing (SoC) Account Management Utility (AMU) page at https://cse.unl.edu/reset_password. Enter your email account, for students this would be your @huskers.unl.edu email. An email with a link to reset your password will be sent to your email.

To recover your CSE login id, visit the AMU login recovery page at https://cse.unl.edu/lost_login and enter your email. This will send an email to you containing your CSE systems login id.

Who should I contact for account related problems?

If you are unable to find a solution to your problem in this FAQ, your next step is to consult the School of Computing (SoC) Student Resource Center in Avery Hall (room 12). The Student Resource Center is generally open from 9 a.m. to 7 p.m. Monday–Friday. If the Student Resource Center is unable to address your problem, email support@cse.unl.edu. When you send an email to support@cse.unl.edu, please include your SoC login and provided as much detail as possible. When applicable, include the system you are using (a Windows system in the lab, the cse.unl.edu server, a Linux system in the lab, your personal laptop, etc.), the operating system on your personal device, the task you are trying to accomplish (date and time may help if you were using cse.unl.edu), the command you are running, any error messages returned, and any other information that would assist in focusing the diagnostics on your problem.

How do I check my disk quota?

If you are having issues saving file to your home directory (Unix) or your Z: Drive (Windows), you might have exceeded your disk quota.

Quotas are used to limit the amount of disk space used and the total number of files of each user. Disk space used is measured in blocks, where 1 block equals 1024 bytes(1KB).

There are two values (called limits) — a soft limit and a hard limit — for both the disk space used quota and the number of files quota. You can continue to increase your usage over the soft limit until you either reach the hard limit or the established time limit (usually a week). Once the hard limit has been reached, all further attempts at file creation will fail with an error message.

The simplest way to view your disk quota is to visit the School of Computing Account Management Utility (AMU) page at https://cse.unl.edu/account. After login, the AMU page shows various details about your account including your disk quota and usage.

To check your disk quota under Unix, use the  command "quota -v" at the Unix command shell prompt.

Computer Lab Guides

Connecting to cse.unl.edu and other Unix servers with SSH from Windows

You can connect to the School of Computing (SoC) CSE server (cse.unl.edu) and other UNIX servers in the department using the PuTTY SSH client.

PuTTY can be downloaded from the this web site. After you have downloaded and installed PuTTY, you can use it to connect to cse.unl.edu.

Double click the PuTTY icon on the desktop or enter "putty" in the search bar to start PuTTY:

Putty1

Enter "cse.unl.edu" in the Host Name (or IP address) field and hit enter.

The first time you connect to a remote host, you will receive a message stating: "The server's host key is not cached int the registry. You have to guarantee that the server is the computer you think it is." You should click "Yes" here.

Putty3

Next, you will be prompted to enter a user name and password.  This is your SoC user name and password; this example uses "sac" as the user name and cse.unl.edu as the login server:

Putty4

If you are prompted for a Verification code: after entering your password, examine the user name you supplied. User names that end digits (1 through 9) are notSoC user names that can be used to login to CSE and other SoC servers.

How do I print from a Windows PC on campus?

New! Printing has changed, please use the updated instructions below.

To print documents from computer lab Windows PCs or your personal Windows PC laptop you will need to install a network printer.

Please note:  Printing generally only works from on campus.

Launch File Explorer. Go to search in task bar and search "File Explorer" or select the File Explorer from the Windows System menu.

printing1

In the File Explorer address bar, type in \\its-acadprt-unl.unl.edu as shown.

Printing using CSNT is being decommissioned and no longer supported.

step1

Printer access now uses your MyUNL credentials, not your CSE credentials

When you are asked to enter your network credentials, you will need to login with your MyUNL credentials. Your user name must be provided as MyUNL_ID@unl.edu where MyUNL_ID is your UNL login ID.

The Remember my credentials box must be checked for printing to work properly.

step2

Once successfully authenticated, you will be presented with a list of printers. Printers are generally named by the building and room they are in. Now click on the printer you want to connect to and select connect.

step3

NOTE: Only the below printers are available for students:

  • SoC_Avery15
  • SoC_Avery12
  • SoC_Avery12color

Alll other SoC printer have access controls for specific users in those areas.

Common Issues

On your personal device, make sure you are connected to eduroam and eduroam must be configured as a  private network.

Norton Anti-virus and certain other anti-virus vendors will prevent outgoing SMB connections. Please use the UNL provided anti-virus software CortexXDR offered thru UNL ITS.

If Windows does not prompt you for credentials, or if you cannot browse the \\its-acadprt-unl.unl.edu network, the problem lies in the Windows configuration. Verify eduroam is a private (local) network, verify your system is fully updated to the latest Windows updates and then verify that the SMB client is enabled.  Here are some Instructions for how to determine if your SMB Client is enabled, and how to enable it.

There are many caveats to windows printing. If you need help please email support@cse.unl.edu. You may be asked to bring your personal device (laptop) in to the support office if your problem cannot be resolved via email.

Accessing and Using Microsoft OneDrive
Microsoft OneDrive Storage

Microsoft OneDrive is free cloud storage for programs and data.  Students, faculty and staff are eligible for this service. 

OneDrive storage offers the advantages of cloud-accessible content, so your files are always available where you have cloud access. You can share folders (directories) on OneDrive with members of your project teams, thus enabling a simple shared project document space.

  • All UNL users will begin with 5 Terabytes of storage. 
  • UNL users can access and use Microsoft OneDrive within a browser (Edge, Chrome, Firefox, etc.) from the lab computer systems.
  • On your personal devices you can access the browser-accessible version or download the OneDrive client application. Users who have installed Office365 provided by UNL have the OneDrive client installed as part of the Office365 suite.
Access Microsoft OneDrive in Computer Labs

To access Microsoft OneDrive from a lab computer, open a web browser (Edge, Chrome, Firefox) and enter the URL:

https://portal.office.com

sign in

Enter your UNL credentials, e.g. jsmith2@unl.edu, and press Next

You will be redirected to the UNL two-factor login page:

log in

After completing two-factor authentication you will be redirected to the main Office365 page. From there you will need to select the OneDrive application from the menu:

Select the Office applications menu via the top-left corner of the page:

Menu select

and select the OneDrive application:

Select OneDrive

The OneDrive application will open in a new tab or window depending on your browser settings.

New tab or page
File Transfer to OneDrive

Transferring your files up or down from OneDrive is performed using the Windows File Explorer application. To upload, select the file you want to upload using the File Explorer, and drag-and-drop it onto your OneDrive browser window. 
To download, select the file you want within the OneDrive browser window, and choose the Download option from the menu:

 

Download 1
Download 2

The Download option presents a Save As window allowing you to save the downloaded source file anywhere on the Windows system, including other network drives.

OneDrive with MacOS

Using OneDrive on a personal Mac OS laptop can be done using the web interface or the Office365 OneDrive client application. The web browser access outlined above also works for Mac OS and the ability to drag-and-drop files from the Finder application offers easy upload capability while downloading mechanisms are identical. The OneDrive client application integrates the OneDrive files into the Finder:

Finder

 

How do I access my CSE home directory from a Windows PC on campus?

If you are working on campus from a computer lab or on your personal laptop, you might wish to map your home directory from the school server directly onto your laptop, so as to not have to transfer files up and down.

The instructions given are for Windows 10:

1. Launch File Explorer, there are many way to do this: From the start menu, select the Documents item to open the "File Explorer."

File Explorer


Or you can select the "File Explorer" from the Windows System menu.

File Explorer in Windows System menu


If you have a "My Computer" or "My PC" icon on the desktop, you can double click on the icon to launch File Explorer.

2. In the File Explorer window, click on the Computer tab on the top of the window to display a ribbon, then click the Map network drive icon if shown:

Map network drive icon

Or right-click on "My PC" to show the 'map network drive' option.  

My network drive

This will open a "Map Network Drive" dialog.

Map network drive dialog

3. In the dialog, type in "\\cse-smb1.unl.edu\login_id" without the quotes and where login_id would be your School of Computing CSE login ID. For example if your CSE login was csmith, your folder path would be: \\cse-smb1.unl.edu\csmith

4. Check on the "Connect using different credentials" checkbox, uncheck "re-connect at sign-in" and click on the "Finish" button.

5. When you are asked to enter your network credentials, you will need to login with your SoC credentials. Your user name must be provided as "CS.UNL.EDU\username". As in the example above, if your CSE username (login) was csmith, the user name value would be: CS.UNL.EDU\csmith

Enter network credentials

6. Provide your CSE password and Click "OK". You should see your home directory from the departmental server mapped as a drive in the File Explorer window.

If you are not offered the option to enter credentials or Windows returns an error indicating it cannot communicate or find the cse-smb1.unl.edu server, ensure you are connect to the eduroam network, and the eduroam network is private network. You can verify that you have the required Windows client service enabled using these instructions on Windows SAMBA settings.

Working Remotely

Campus Resources on Learning and Teaching Remotely
Connecting to cse.unl.edu and other Unix servers with SSH from Windows

You can connect to the School of Computing (SoC) CSE server (cse.unl.edu) and other UNIX servers in the department using the PuTTY SSH client.

PuTTY can be downloaded from the this web site. After you have downloaded and installed PuTTY, you can use it to connect to cse.unl.edu.

Double click the PuTTY icon on the desktop or enter "putty" in the search bar to start PuTTY:

Putty1

Enter "cse.unl.edu" in the Host Name (or IP address) field and hit enter.

The first time you connect to a remote host, you will receive a message stating: "The server's host key is not cached int the registry. You have to guarantee that the server is the computer you think it is." You should click "Yes" here.

Putty3

Next, you will be prompted to enter a user name and password.  This is your SoC user name and password; this example uses "sac" as the user name and cse.unl.edu as the login server:

Putty4

If you are prompted for a Verification code: after entering your password, examine the user name you supplied. User names that end digits (1 through 9) are notSoC user names that can be used to login to CSE and other SoC servers.

Connecting to cse.unl.edu and other Unix servers with SSH from a Macintosh
  1. Launch a terminal window. Type ⌘-K to launch spotlight. Type "Terminal" and you should see the "Terminal" application. click to launch.
  2. Type inssh cse-login-id@hostname where hostname would be cse.unl.edu or another server running an SSH server and cse-login-id is your login id (credentials) for the School of Computing (SoC) systems.

An example of this using the Terminal application: The user's SoC login id is 'jsmith'

Last login: Mon Jul  1 14:41:39 on ttys003 macbook-prompt> ssh jsmith@cse.unl.edu Password: Last login: Tue Jul  2 10:25:18 2019 from 101.431.103.46 ******************************************************************************                               Welcome to CSE ****************************************************************************** The operating system on this computer was upgraded on March 18, 2018. Please contact "manager@cse.unl.edu" to report problems, request software or ask questions about this system. ****************************************************************************** cse.unl.edu-prompt$

On your first connection to a server, you may see a message from SSH indicating that the host authenticity is unknown.

macbook-prompt> ssh jsmith@cse.unl.edu The authenticity of host 'cse.unl.edu (10.211.11.120)' can't be established. RSA key fingerprint is 3f:1b:f4:bd:c5:aa:c1:1f:bf:4e:2e:cf:53:fa:d8:59. Are you sure you want to continue connecting (yes/no)? yes Password: Last login: Tue Jul  3 11:05:12 2019 from 101.231.303.416 ******************************************************************************                               Welcome to CSE ****************************************************************************** The operating system on this computer was upgraded on March 18, 2018. Please contact "manager@cse.unl.edu" to report problems, request software or ask questions about this system. ****************************************************************************** cse.unl.edu-prompt$

This only occurs on the first connection to a host and you should respond to the question with a 'yes' (as shown above) so the host becomes authenticated.

If you are presented with a Verification code: prompt after entering your password, examine the cse-login-id you supplied to the ssh cse-login-id@hostnamecommand line. If the cse-login-id supplied ends in a digit, e.g. fred4, the login id is not a valid School of Computing CSE login.

Connecting to cse.unl.edu and other unix servers with ssh from Linux

Open a Terminal window.  The instructions that follow are for Ubuntu Linux.  Other distributions are similar.

Click on the grid button in the lower left corner.

Ubuntu Search

Enter "Terminal" in the search dialog that appears.

Terminal

In the window that appears when you click on the Terminal icon shown above, enter "ssh -Y username@cse.unl.edu".  Substitue your cse user name for "username" in this command.  You can omit the "-Y" flag if you do not want to use ssh X forwarding (and if you don't know what this is, you can safely omit it).  The examples below use a user name of "sac".

Ubuntu Terminal 3

The first time that you connect to cse.unl.edu, or any other Linux/Unix server, a dialog like that shown above will appear.  Answer "yes" to this.

Then enter your cse password.

Ubuntu Terminal 4
Connecting to the Windows Terminal Server from Mac OS

How to connect an Apple MacOS system to the School of Computing (SoC) Microsoft Windows Terminal Server:

1. On Your Mac open the "App Store" application and install the "Microsoft Remote Desktop" application.  Please be sure to install version 10 of this application.

2. Launch Microsoft Remote Desktop.

3. Click the button labeled "Add Desktop".

Add Desktop

4. Complete the Pop-up Connection Dialog as described below:

      i. PC name: csnt-ts.unl.edu

     ii. User Account: You can either choose "Ask me every time" or "Add User Account ..." (see below)

    iii. Friendly Name: SoC Terminal Server

SoC Terminal Server

5. If you chose "Add User Account ..." above complete the Add User Account as described below:

    Username: CS.UNL.EDU\username (where "username" is your SoC login ID)

    Password: your cse-password

    Friendly name: SoC Terminal Server or csnt-ts  The choice is up to you

SoC Terminal Server

6. Click the Add button for the "Add User Account Dialog" and for the "Add Desktop" dialogs.

7. You will now see a window that looks like the following:

Window

8. Double click the Desktop you just added "csnt-ts."

9.  When you connect you will get a dialog like the one below. Click Continue.

Saved Desktops

10. You will either bet presented with a login screen or your csnt-ts desktop, depending on whether your selected "Ask me every time" or "Add User Account..." in step 4.

11. When you disconnect the  blank preview or your "Saved Desktops" will be changed to a thumbnail of your actual desktop.

Saved Desktops
Connecting to the Windows Terminal Server (Windows)
  1. The Remote Desktop Client appears in different locations in the start menu in different versions of Windows. If you are able to locate the Remote Desktop Client in your start menu, launch this application. If you are unable to find the client, then either search for "mstsc.exe" in the metro tiles screen or type it into the Run dialog.
  2. Once launched, on the first dialog, enter csnt-ts.unl.edu in the Computer field and click on Connect.
  3. You should see a dialog to enter your credentials. Enter your School of Computing (SoC) credentials here, however your user name must be of the form CS.UNL.EDU\login_id. Where login_id would be your SoC login ID. Then, click on "OK."
  4. You may be presented with a certificate warning. Go ahead and accept the self signed certificate.
  5. This should connect you to the remote terminal server. The remote desktop will likely replace your local desktop, to return to the local desktop, move your mouse to the middle of the top few pixels on the screen. A control bar will slide down, allowing you to iconify our remote desktop.
  6. When you are finished working on the remote desktop server, please log off the remote server and don't simply disconnect the session. Disconnecting the session still leaves it running on the remote server and continues to utilize resources.
Connecting to the Windows Terminal Server from Linux

The instructions that follow are for Ubuntu Linux. Other Linux distributions are similar except for installing the "Remmina" program.

Click on the grid icon at the lower left of the screen.

Grid icon

In the search dialog that appears enter "rdp".  The Remmina application should appear in the results. Click on that icon.

rdp

In order to connect to our terminal server you need to add a customized connection.  Click on the green "+" symbol in the Remmina program and enter the following information:

Profile name: csnt-ts (or another name that you'd like to use).

Server: csnt-ts.unl.edu

User password: your CSE password

Domain: cs.unl.edu

Color depth: True color (24 bpp)

And then click the "Save" or "Save as Default" button.

Remote Desktop Reference

Double click on the session you just saved.

Double click

A dialog may appear asking you to accept a certificate for csnt-ts. You should accept the certificate.

Accept Certificate
Accessing School of Computing systems using NoMachine - Remote X11 GUI access

NoMachine is a fast, multi protocol remote access client which allows RDP and X11 type connections to a variety of servers. We have a NX server installed on two servers; cse-linux-01.unl.edu and cse.unl.edu, which allows GUI X11 Desktop access to either of these systems. Below are steps on setting up a noMachine connection to cse-linux-01.unl.edu.

You can download and install NoMachine from https://www.nomachine.com/ 

To configure a new connection, after you launch noMachine: 

  1. from the Recent connections pane,  click on ‘New’ 
  2. for Protocol select NX 
  3. In the Host input enter ‘cse-linux-01.unl.edu’
  4. for Authentication method select Password
  5. select the Don’t use proxy radio button.
  6. Name your connection and finally click on Done

 

Once you have configured a connection to establish a connection:

  1. from the Recent connections pane,  double click on the named connection
  2. Enter your MyRed login credentials for the cse-linux-01.unl.edu server (username and password)
  3. Double click on the Create a new virtual desktop icon 
Create new virtual desktop icon

  4.  Click thru the next four dialogs that provide you an overview on using noMachine

For connection to the legacy cse.unl.edu server you must use a CSE login and password, which is separate and distinct from your MyRed login and is only used to connect to SoC legacy servers and web applications. You will not need a CSE login unless an instructor or faculty member has told you that you need one to access legacy research or instructional tools and/or data.

Tip: You can save your password, the connection type, and click on Don’t show this message again on the dialogs for one-click connection to cse.unl.edu

Note: Please log off when you are done working on cse.unl.edu. Simply disconnecting the NoMachine client will consume resources on the server and your session will be forcefully quit at somepoint, possibly resulting in loss of any unsaved data or settings.

Requesting a Virtual Machine (VM) for research and/or classwork

The School of Computing can provide students and faculty remote Windows or Ubuntu Linux virtual machines (VMs). These machines can be used by students needing a PC to run Altera or Xilinx to program FPGA boards who do not have a Windows system. If you have a research or instructional use case for a VM send your request for a VM to support@cse.unl.edu.

Can I save files on my VM or load software?  

Yes. You can save your files on your system itself or access your network drive (Z drive). However, at present, we do not have the capacity to backup virtual machines. It the end user's responsibility to store their files on the Z: drive which is backed up or to store a copy of important files on their local storage by sharing their remote device with the VMs.

Can I access resources on my VM such as an external drive or Altera or Xilinx Board?

 Yes.  You will have access to USB devices.  You can load and save data from an external hard drive or program an Altera or Xilinx Board

How Do connect an Altera or Xilinx Board to my VM ?

 The software to program your board has already been loaded on your virtual machine.

You plug the board into your system running the virtual machine. The USB redirection set on the VM allows you to see your connected physical devices. You select your specific board both on your Horizon client and in the design software which then reads your board and allows you to program it.

How do I access the VM which has been provisioned to me?

Download the VM Horizon client on to your system using the appropriate link below. Install and launch the Horizon client. Create a new connection to https://cse-vmcs-01.unl.edu. Login to the connection server with your School of Computing (SoC) credentials. When you are connected, the server will open a window that contains the virtual machine(s) that are provisioned to you. Once you log in, the virtual machine will function as a separate system running on your current one.

You can download the Vmware Horizon Clients from:

For Windows: Vmware Horizon client for Windows

For Mac: Vmware Horizon client for MAC

How do I access my home directory from off campus from Windows?

For occasional transfer of file between your home directory on the departmental server and your personal computer, we recommend using a SFTP (Secure File Transfer Protocol) client. One such client is FileZilla.

You will need to download the FileZilla client, not the FileZilla server. Install and launch the FileZilla client. In the "Quick Connect" bar in the main FileZilla window, enter sftp://cse.unl.edu as the Host, along with your School of Computing (SoC) CSE server username and password and click on 'QuickConnect'. The Port field can be left empty if you specified the "sftp://" prefix as part of the host name.

Connecting to your home directory from a Mac from off campus

The simpler method to access your home directory (Z: drive) from off-campus is to use an SFTP client like Cyberduck. This will allow you to easily transfer files between your cse.unl.edu account to your local computer. While a free version of Cyberduck is available online, users are cautioned to be mindful to download Cyberduck from a reputable source, as the source code is readily available online and can thus be easily modified and made vunerable. A version is also available through the Mac App Store as a paid app. We recommend the paid app store version as it ensures the source as reputable.

To actually mount your files from an off-campus account you will need to configure a VPN client and then follow the instructions on mounting your drive from on campus. Both of these topics are discussed in other sections of this FAQ.

MySQL Database Account — Requesting and Connecting

MySQL is the general purpose database subsystem provided by the School of Computing (SoC) for student use. Each user is allowed one database. This database is automatically created after requested by a user and is named the same as your SoC systems username. Users can create as many tables as they want but we ask that they keep all databases to a reasonable size.

Requesting a MySQL Account and Database
Any user with a SoC account can request access to the MySQL server running on the cse-linux-01.unl.edu server.  Users with legacy CSE server accounts can request access to the MySQL server running on the cse.unl.edu server.  To determine if you already have a MySQL account, log in to the SoC Account Management Utility (AMU) page at https://cse.unl.edu/account with your CSE account credentials. Once you log in, click the Account Settings link on the left page. If you have already been granted a MySQL account on one of the SoC servers (cse.unl.edu, cse-linux-01.unl.edu, or nuros.unl.edu) you will see a message indicating on which system(s):

If you do not have any MySQL accounts showing on Account Settings, you will need to send an email to support@cse.unl.edu requesting a MySQL account.  If you already have an account on the cse.unl.edu server, you may request a MySQL account on that system, otherwise your MySQL account will be created on the cse-linux-01.unl.edu server.

The MySQL credentials you receive will have a login that matches your CSE server (cse.unl.edu) username, but your password for the MySQL server is completely different from your CSE server password.

Accessing the MySQL server is done by one either logging into the cse.unl.edu server using your CSE username and password, or connecting to the cse.unl.edu server using a TCP/IP connection.

Connecting to MySQL Database
To connect to a MySQL database from the command-line on cse.unl.edu, type mysql -p and hit enter. The password you will be prompted for will be your MySQL password, which is different from your cse.unl.edu server password. Enter the MySQL password you received in the email message that was sent when you requested your account. You should be presented a MariaDB [(username)]> prompt from the MySQL application.

To connect to a MySQL database from the command line from another computer with the MySQL command line client installed. Run 'mysql -h cse.unl.edu -u YOUR_CSE_LOGIN -p' and hit enter. Note: the password you will be prompted for will be your MySQL password, which is different from your SoC password. MySQL passwords can be reset using the SoC Account Management Utility page.

TCP/IP connectivity requires authentication using your MySQL credentials and is supported on the standard MySQL service port, 3306, on the CSE server.

Zoom Meetings for Graduate Defenses

Graduate students, in conjunction with their advisors and/or committee members, can choose the platform they wish to use for their remote defenses. Zoom is strongly recommended, as it is paid for and officially supported by the university. All UNL faculty, staff, and students have access to Zoom and can host Zoom meetings with up to 300 people, so students can set up their own Zoom meeting for their defense and provide the link to for distribution as needed. More information about Zoom is available on the ITS service catalog page for Zoom at https://its.unl.edu/services/zoom/.

After finalizing a date and time for their defense, graduate students should schedule a Zoom meeting to facilitate their defense by following these steps:

  1. To schedule a Zoom meeting, users must start at https://unl.zoom.us and click the Login link in the top right corner of the page, and then log in with their MyUNL account (same credentials as Canvas).
    1. After logging in, use the blue Schedule a New Meeting button.
    2. Populate the required Topic (meeting name, e.g. John Doe's Defense), When (date/time), and Duration fields.
    3. The following settings are recommended:
      1. Registration: Do not click the Required box.
      2. Meeting ID: Generate Automatically
      3. Security: You'll be required to either enable a password or the waiting room feature, but can do both if you choose.
      4. Video: Defaulting video to off for both hosts and participants is generally recommended, as video can be turned on individually when needed.
      5. Audio: Both (this enables participants to call in from a telephone instead of listening to audio through the internet).
      6. Uncheck the "Allow participants to join anytime" option to prevent your Zoom meeting room from being used by a third party.
      7. Check the box to "Mute participants upon entry" to avoid interruption from participants speaking while their microphone is enabled.
      8. If you are expecting only UNL faculty, staff, and students to join your meeting, check the "Only authenticated users can join" to require participants to log in using their MyUNL account. Otherwise, leave this box unchecked so that anyone can join without logging in.
      9. If you want to record your presentation, click the checkbox for "Record the meeting automatically" and select "In the cloud". You'll receive an email message from Zoom after the meeting has ended, and it will include a link to your recording.
      10. Consider adding your advisor and/or another designee as an alternate host, which would allow them to assist with the Zoom meeting while you present if someone needs to be admitted in to the meeting (if you're using the waiting room feature), if another participant's microphone needs to be muted, or something similar.
  2. Share the Join URL for your Zoom meeting with the School of Computing Graduate Secretary so she can include it in the announcement about your presentation.
  3. Send your slide deck to committee members in advance so they can follow along from their own file if there are technical difficulties with the screen sharing functionality during your live Zoom meeting. If there is no animation or video in your slides, consider exporting them to a PDF file before sending to others.
  4. On the day of your Zoom meeting (defense), make sure to log in to https://unl.zoom.us using your MyUNL credentials by clicking the Login link in the top right corner of the page before launching the meeting to ensure that you have Host priviliges to start the meeting and manage options while the meeting is in progress.
  5. If you enabled automatic recording, you can pause recording after launching the Zoom meeting until you're ready to begin your presentation if you wish, but make sure remember to un-pause the record function at the appropriate time.
  6. After launching the Zoom meeting, make sure to Join Audio and Start Video so participants can see and hear you.
  7. Use the green Share Screen button to share your slides by sharing either a single application (e.g. PowerPoint) or your entire desktop.
  8. Make sure to use the red End Meeting button once your presentation has been completed. This closes the Zoom meeting for all participants and stops the recording.

With the approval of your committee, consider recording segments of your presentation in advance using a tool like VidGrid and sending a link for the video(s) to committee members so they can view it ahead of time, saving the live Zoom meeting for questions and answers. This hybrid approach can help to mitigate technical difficulties with a live remote presentation.

Getting Help

If you need help, please send email to support@cse.unl.edu

Note: Please be sure to include your UNL user name in your email and, if you're asking about a School of Computing (SoC) specific topic, your SoC servers user name as well.

Email

Disabling forwarding from UNL email

The simplest way to disable forwarding from your UNL email account is to access your outlook mailbox using a web browser. Point your browser to mymail.unl.edu.

After you have logged in, make sure you are in the mail application, then click on the settings cog and then on "View All Outlook Settings" link as shown in the first figure below.

Then go to Mail -> Forwarding, remove an email address if present, and uncheck the "Enable forwarding" checkbox if checked as shown in the second figure below.

Outlook 1
Outlook 2
Where is my SoC (CSE) email forwarded to?

As of May 20, 2019, university policy requires that all university communications be forwarded to the student's @huskers.unl.edu email. As such, all email sent your School of Computing (SoC) account will be forwarded to your @huskers.unl.edu email. No action is required on your part to enable this forwarding. For more information on this policy or if you are a new students and need to claim your @huskers.unl.edu email, please visit https://its.unl.edu/helpcenter/student-email-migration/.

Accessing your email through a web browser

The School of Computing (SoC) accounts have an email address associated with your SoC account which is hosted by the cse.unl.edu server. All new student accounts are configured to automatically forward incoming email messages to their @huskers.unl.edu email account, and faculty/staff will have email forwarded to their @unl.edu email account.

We also do not recommend publishing or using your SoC email address, as these will no longer forward to @huskers.unl.edu or @unl.edu once your SoC account expires.

Webmail for Huskers Users (Students and Alumni)

All university students can set up an @huskers.unl.edu email account, which is hosted by Microsoft's ExchangeLabs. Unlike SoC email addresses, students can keep their huskers.unl.edu account after graduation, so this can become a permanent email address. Students also get to choose the email address when setting up a huskers.unl.edu account. To log in to the huskers.unl.edu webmail interface, visit https://mymail.unl.edu.

University alumni are also eligible for a lifelong huskers.unl.edu email account, see the University of Nebraska (UNL) Alumni association email for life for additional details.

Webmail for Office365 Users (Faculty and Staff)

The university's primary email service for faculty and staff is hosted by Microsoft's Office365. The Outlook Web App (OWA) is available at https://mymail.unl.edu.

Webmail for CSE-Mail Users (Legacy users)

SoC hosted web email services are provided by the CSE-Mail server. CSE-Mail is the email server for most SoC users who have an email address that ends in @cse.unl.edu.

Either interface can be used interchangeably.

Webmail for CSE-Cyrus Users (Legacy users)

Some SoC faculty and staff have been migrated from the cse-mail server host to a separate, closed IMAP server called cse-cyrus.  This server handles simultaneous connections from multiple email clients better than cse-mail does, but there is no shell (or any other non-IMAP) access to this server. 

Web email account access for users with mail on cse-cyrus is available through the Roundcube interface at https://cse-cyrus.unl.edu/roundcube.

How to forward your SoC/CSE email (faculty/staff)

Email support@cse.unl.edu asking a forward be setup for your account. Please include your School of Compting (SoC) email (e.g. login@cse.unl.edu) and the desired destination email address.

Setting up Mac Mail on OSX 10.8+ (legacy users)
  1. Launch Apple Mail (which will be known as Mail).
  2. Select "Mail" from the menu bar, then select preferences. Or use the keyboard command. "cmd+,"
  3. This brings up the preferences dialog. Select the "Accounts" tab on the top of the window. When presented with the accounts window click the plus button in the lower left corner to add a new account. 
Accounts tab

4. Select "Add other mail account" and click on "Continue."

Add other mail account

5. Fill in the required information. Please use your full name, School of Computing (SoC) email address, SoC password and click on "Create".

Create

6. Make sure "Account Type" of IMAP is selected and the mail server is "cse-mail.unl.edu". Enter your SoC login for the User Name and click on "Next". Note that the login does not have the "@cse.unl.edu" specified.

IMAP

7. On the next screen enter "Mail" as the path prefix and make sure "use SSL" is selected then click "Next". Note The "Path Prefix" is a subfolder on your home directory where mail fodlers are kept. If not specified, your mail folders will be kept on your home directory.

Enter "Mail"

8. For the outgoing mail server, again enter cse-mail.unl.edu and your SoC login and password and click "Create."

Create

9. A new mail account will be shown on the preferences tab. Close the preferences tab to complete setup on your mail.

10. If you have issues, contact support@cse.unl.edu for further assistance.

Message Size Limits (Legacy users)

The maximum message size is 10MB for outgoing email messages sent through SMTP on cse.unl.edu and cse-mail.unl.edu.  This limit applies to the entire size of the message, which includes the message body, headers, and any attachments.

If you absolutely need to send a message that is larger than 10MB, you can send a request via email to support@cse.unl.edu to have the message size limit temporarily increased on the server. However, large files should not normally be sent as attachments in email messages. Instead, please consider using OneDrive to share files.

Viewing your spam quarantine (legacy users)

Any email that is relayed through cse.unl.edu goes through a spam detection appliance. Any email the appliance deems as likely spam is quarantined. 

Daily summaries of quarantined email are sent to users. Users can click on individual messages in the spam quarantine summary to view, deliver, delete or whitelist the sender. 

Occasionally, however, it might be necessary to view your spam quarantine immediately. Point a browser to https://cse-barracuda.unl.edu and either log in if you already have an account, or make yourself an account if you do not. Please note that your username will be your School of Computing (SoC) login, not your email address on the cse.unl.edu server.

Printing

How do I print from a Windows PC on campus?

New! Printing has changed, please use the updated instructions below.

To print documents from computer lab Windows PCs or your personal Windows PC laptop you will need to install a network printer.

Please note:  Printing generally only works from on campus.

Launch File Explorer. Go to search in task bar and search "File Explorer" or select the File Explorer from the Windows System menu.

printing1

In the File Explorer address bar, type in \\its-acadprt-unl.unl.edu as shown.

Printing using CSNT is being decommissioned and no longer supported.

step1

Printer access now uses your MyUNL credentials, not your CSE credentials

When you are asked to enter your network credentials, you will need to login with your MyUNL credentials. Your user name must be provided as MyUNL_ID@unl.edu where MyUNL_ID is your UNL login ID.

The Remember my credentials box must be checked for printing to work properly.

step2

Once successfully authenticated, you will be presented with a list of printers. Printers are generally named by the building and room they are in. Now click on the printer you want to connect to and select connect.

step3

NOTE: Only the below printers are available for students:

  • SoC_Avery15
  • SoC_Avery12
  • SoC_Avery12color

Alll other SoC printer have access controls for specific users in those areas.

Common Issues

On your personal device, make sure you are connected to eduroam and eduroam must be configured as a  private network.

Norton Anti-virus and certain other anti-virus vendors will prevent outgoing SMB connections. Please use the UNL provided anti-virus software CortexXDR offered thru UNL ITS.

If Windows does not prompt you for credentials, or if you cannot browse the \\its-acadprt-unl.unl.edu network, the problem lies in the Windows configuration. Verify eduroam is a private (local) network, verify your system is fully updated to the latest Windows updates and then verify that the SMB client is enabled.  Here are some Instructions for how to determine if your SMB Client is enabled, and how to enable it.

There are many caveats to windows printing. If you need help please email support@cse.unl.edu. You may be asked to bring your personal device (laptop) in to the support office if your problem cannot be resolved via email.

Linux SMB Printing

The example provided depicts the GUI interface provided by the Ubuntu Linux 20.04 LTS distribution. Note: Printing only works when you connected to a University of Nebraska network.

Prior to setting up printing, you need to install some prerequisite programs.  This can be done with the shell-prompt command "sudo apt install psutils python3-smbc smbclient" there will likely be a number of dependencies that also need to be installed when you issue this command.

1. Open System Settings by clicking on the icons in the upper right corner and select "Settings".

Open System Settings

2. Select Printers on the left and then click "Additional Printer Settings..."

Additional Printer Settings

3. Click on Add:

Click on Add

4. Select "Windows Printer via SAMBA"  Enter csnt/ and the name of the printer that you want to add such as "Avery-ps15" and select "Set authentication details now" if the option is presented. For your login credentials, you should use your CSE login username inserting cs.unl.edu\ before your CSE username, e.g. cs.unl.edu\username. Complete the administration of the printer by entering your password and click Forward:

SAMBA

5. Select Generic and click Forward on the next window:

Select Generic

6. Select PostScript in the Drivers column of the next window and select Generic PostScript Printer Foomatic/Postscript [en] (Recommended) column and then click Forward:

Select PostScript

7. Enter a short name for the printer, such as "ps15", and a "Human-readable" name for the printer such as "Avery-ps15" and then click Apply. The short name can be used later for command-line printing and the "Human-readable" name will show up in print applications that use the system's GUI.

ps15

8. You can click Cancel on the popup window or click Print Test Page. The test page will be deducted from your print quota if you choose to print it.

Cancel

9. If everything worked as expected you should see the printer.

Printer

If you encounter the error: CUPS server error "client-error-not-possible" or a similar error from the CUPS subsystem, you will need to install the smbclient package, and perhaps additionally the samba or smb-common package, using the package manager provided with your Linux distribution.

Linux Mint uses very much the same procedure except instead of being called "System Settings" the system configuration application is called "Control Center". Other Linux distributions are similar.

If you want to take advantage of more advanced printer features, such as duplexing or stapling, you can use a printer-specific driver for the printer models as seen at the bottom of Printing from Mac via SMB 10.8+ section of this FAQ.

Printing from Mac via SMB

Please note:  Printing generally only works from on campus or when connected to the campus network via a VPN.

Printing from University-Owned (faculty/staff) Macs

For Student or BYOD Instructions, click here.

1. Install the print driver package using Launchpad to select the Self Service application:

Self-Service

From within Self Service use the left-side menu to select Printer Drivers. Then select Install of the Canon UFR II Printer Driver package: or the HP Legacy Print Drivers depending upon the printer you are connecting to.

Canon Driver

2. Use the instructions below to add the printer using System Settings -> Printers & Scanners.

3. The added printer should now be shown in the System Settings -> Printers and Scanners configuration page. You may be prompted for your MyUNL credentials the first time you print to the printer.
 

List of Printers

SoC_Avery12 *SoC_Avery12color *SoC_Avery15 *
SoC_Avery104SoC_Avery122
 
SoC_Avery123
SoC_Avery250SoC_Avery256SoC_Avery258
SoC_Avery258colorSoC_Avery354SoC_Avery354color
SoC_Schorr101SoC_Schorr209SoC_Schorr209color

(The printers marked with an asterisk (*) are the only printers that students have access to. All other printers, without the asterisk, are assigned to faculty members or graduate research/teaching assistants in specific confined spaces.)

Printing from a BYOD (personal) Macs using Apple Menus

Students wishing to print may not have access to Self Service, so the instructions and command-line printer administration instructions provided above may not work due to the lack of print drivers. Students can still add printers using the Apple menus, but they may need to choose the generic postscript printer driver unless they manually install the print drivers from the manufacturer. With the drivers installed, you can select the driver specific to the printer model.

Adding a printer using Apple menus:
Open System Preferences. Either click on the Apple Menu on the main menu bar at the top of the screen and then select System Preferences, or bring up spotlight by holding down ⌘-space and then typing System Preferences

1. Then click Printers & Scanners (or Printers & Fax). Note: Your System Preferences may look different.

2. Click on the "+" button on the lower left to start the process of adding a new printer

Add printer

3. In the "Add" dialog, right click the bar at the top, and select the Customize Toolbar option. This opens a toolbar customization menu. Use the toolbar customizing menu to drag the Advanced option onto the menu bar. You may skip this step if you already have the Advanced options symbol on the Add dialog toolbar.

Add Icon and Text

4.  The printer Type is "Windows printer via spoolss". In the URL, type in smb://its-acadprt-unl.unl.edu/PRINTER. Replace PRINTER with one of the printer names shown above. For example, if you wanted to print to the printer in Avery 12, you'd use SoC_Avery12. See all the printers in the list above. In the dialog box, for Printer Name, replace its-acadprt-unl with something that better identifies the printer. Finally for the Print Using option, select either generic postscript or the appropriate driver from the list if you have installed drivers from Self Service or the manufacturers support website.

Avery12

5. Click add. Your printer should now be added. Print a test page to make sure everything works.

6. When you print to this printer for the first time, you will be prompted for your login and password. Use your UNL MyRed login. Check the "Remember this password in my keychain" checkbox as shown.

If you change your UNL MyRed password, you will need to launch the keychain utility and delete the stored old password for this printer. The keychain record, will be found in the "Login" keychain, in the "Passwords" category and will be named the same as the printer name, simply select this record and delete this entry. The next time you print you will be prompted for the new password which must be entered as described above.

How many pages am I allowed to print each semester?

Printer quotas are assigned by the number of School of Computing classes (CSCE/SOFT/RAIK) you are enrolled for each semester. For each class you enroll in, you get $12.00 worth of printing or 200 pages of B&W printing at $0.06 per page.

In addition, if you are enrolled for thesis or dissertation hours, you will receive an additional $20.00 added to their printer quota each semester.

Purchasing Additional Print Quota

  • Students can purchase additional pages in 100 page increments for $6.00.
  • Pages can be purchased at Room 27 Avery Hall.
  • Purchased quota does not expire at the end of the semester.
How to I check my printer quota and balances?

Your remaining printer quota along with the printers you have access to, is displayed on the main page of the School of Computing (SoC) Account Management Utility (AMU) page at https://cse.unl.edu/account.

Additional printer quota can be purchased from the system administration offices in Avery 27C. The current cost is $6.00 per 100 pages. The cost is charged to your NCard charge account, so you will need to present your NCard at time of purchase.

Duplex Printing and Stapling on Canon IR Printers

Instructions to duplex and staple on Canon IR printers

  • Go into system preferences, click on Printers and Scanners and then select the desired printer on the popup dialog
  • Confirm that a Canon IR driver is  installed for the printer (See 1 on image below)
Canon
  • If the Canon IR driver is installed, click on the Options and supplies (see 2 on image above)
  • Then click on the options tab(see 3 on imag eblow) on the pop up dialog
Canon 3 and 4
  • Make sure the “Finisher S1” is selected under output options (see 4 on image above)
  • Then when you go to print, you’ll need to select “Finishing” from the advanced options pull down( see 5 on image below)
Canon 5 and 6
  • Finally select 2-sided printing (see 6 on image above) and check the Staple checkbox below that to staple the job.

Networking

Setting up a VPN connection to campus

Some websites and servers are secured by a firewall that only allows connections from on campus. To access these restricted resources from off campus, you will need a VPN connection. Most students don't require access to systems that aren't available from off campus, so a VPN connection is only needed by students when connecting to their CSE home directory through the SAMBA (smb:) network protocol. A VPN connection is used to make files stored on remote systems appear as local files from the perspective of your local (PC/Mac/Linux) system. This local perspective is necessary for local applications to access the remote files.

Information Technology Services now operates a VPN service for faculty, staff and students. More information about their service is available at https://services.unl.edu/service/virtual-private-network-vpn-global-protect.

 



 

How do I register my wireless device? (Students, Faculty, and Staff)

The wireless network on campus is managed by Information Technological Services. Visit their wireless page on claiming your My.UNL identity and authenticating with your My.UNL credentials to the eduroam wireless network on campus.

Visitor Registration for University Wireless Network

The wireless network on campus is managed by Information Technology Services. Visitors to the Univerisity of Nebraska needing wi-fi access can register for 14-day, limited wi-fi access by visiting the ITS page on NU-Guest setup. Please note that the NU-Guest wi-fi network is restricted in services that can be accessed and services such as SSH will not be accessible when connected to the NU-Guest wi-fi network.

Windows

Connecting to cse.unl.edu and other Unix servers with SSH from Windows

You can connect to the School of Computing (SoC) CSE server (cse.unl.edu) and other UNIX servers in the department using the PuTTY SSH client.

PuTTY can be downloaded from the this web site. After you have downloaded and installed PuTTY, you can use it to connect to cse.unl.edu.

Double click the PuTTY icon on the desktop or enter "putty" in the search bar to start PuTTY:

Putty1

Enter "cse.unl.edu" in the Host Name (or IP address) field and hit enter.

The first time you connect to a remote host, you will receive a message stating: "The server's host key is not cached int the registry. You have to guarantee that the server is the computer you think it is." You should click "Yes" here.

Putty3

Next, you will be prompted to enter a user name and password.  This is your SoC user name and password; this example uses "sac" as the user name and cse.unl.edu as the login server:

Putty4

If you are prompted for a Verification code: after entering your password, examine the user name you supplied. User names that end digits (1 through 9) are notSoC user names that can be used to login to CSE and other SoC servers.

How do I print from a Windows PC on campus?

New! Printing has changed, please use the updated instructions below.

To print documents from computer lab Windows PCs or your personal Windows PC laptop you will need to install a network printer.

Please note:  Printing generally only works from on campus.

Launch File Explorer. Go to search in task bar and search "File Explorer" or select the File Explorer from the Windows System menu.

printing1

In the File Explorer address bar, type in \\its-acadprt-unl.unl.edu as shown.

Printing using CSNT is being decommissioned and no longer supported.

step1

Printer access now uses your MyUNL credentials, not your CSE credentials

When you are asked to enter your network credentials, you will need to login with your MyUNL credentials. Your user name must be provided as MyUNL_ID@unl.edu where MyUNL_ID is your UNL login ID.

The Remember my credentials box must be checked for printing to work properly.

step2

Once successfully authenticated, you will be presented with a list of printers. Printers are generally named by the building and room they are in. Now click on the printer you want to connect to and select connect.

step3

NOTE: Only the below printers are available for students:

  • SoC_Avery15
  • SoC_Avery12
  • SoC_Avery12color

Alll other SoC printer have access controls for specific users in those areas.

Common Issues

On your personal device, make sure you are connected to eduroam and eduroam must be configured as a  private network.

Norton Anti-virus and certain other anti-virus vendors will prevent outgoing SMB connections. Please use the UNL provided anti-virus software CortexXDR offered thru UNL ITS.

If Windows does not prompt you for credentials, or if you cannot browse the \\its-acadprt-unl.unl.edu network, the problem lies in the Windows configuration. Verify eduroam is a private (local) network, verify your system is fully updated to the latest Windows updates and then verify that the SMB client is enabled.  Here are some Instructions for how to determine if your SMB Client is enabled, and how to enable it.

There are many caveats to windows printing. If you need help please email support@cse.unl.edu. You may be asked to bring your personal device (laptop) in to the support office if your problem cannot be resolved via email.

Connecting to the Windows Terminal Server (Windows)
  1. The Remote Desktop Client appears in different locations in the start menu in different versions of Windows. If you are able to locate the Remote Desktop Client in your start menu, launch this application. If you are unable to find the client, then either search for "mstsc.exe" in the metro tiles screen or type it into the Run dialog.
  2. Once launched, on the first dialog, enter csnt-ts.unl.edu in the Computer field and click on Connect.
  3. You should see a dialog to enter your credentials. Enter your School of Computing (SoC) credentials here, however your user name must be of the form CS.UNL.EDU\login_id. Where login_id would be your SoC login ID. Then, click on "OK."
  4. You may be presented with a certificate warning. Go ahead and accept the self signed certificate.
  5. This should connect you to the remote terminal server. The remote desktop will likely replace your local desktop, to return to the local desktop, move your mouse to the middle of the top few pixels on the screen. A control bar will slide down, allowing you to iconify our remote desktop.
  6. When you are finished working on the remote desktop server, please log off the remote server and don't simply disconnect the session. Disconnecting the session still leaves it running on the remote server and continues to utilize resources.
Accessing and Using Microsoft OneDrive
Microsoft OneDrive Storage

Microsoft OneDrive is free cloud storage for programs and data.  Students, faculty and staff are eligible for this service. 

OneDrive storage offers the advantages of cloud-accessible content, so your files are always available where you have cloud access. You can share folders (directories) on OneDrive with members of your project teams, thus enabling a simple shared project document space.

  • All UNL users will begin with 5 Terabytes of storage. 
  • UNL users can access and use Microsoft OneDrive within a browser (Edge, Chrome, Firefox, etc.) from the lab computer systems.
  • On your personal devices you can access the browser-accessible version or download the OneDrive client application. Users who have installed Office365 provided by UNL have the OneDrive client installed as part of the Office365 suite.
Access Microsoft OneDrive in Computer Labs

To access Microsoft OneDrive from a lab computer, open a web browser (Edge, Chrome, Firefox) and enter the URL:

https://portal.office.com

sign in

Enter your UNL credentials, e.g. jsmith2@unl.edu, and press Next

You will be redirected to the UNL two-factor login page:

log in

After completing two-factor authentication you will be redirected to the main Office365 page. From there you will need to select the OneDrive application from the menu:

Select the Office applications menu via the top-left corner of the page:

Menu select

and select the OneDrive application:

Select OneDrive

The OneDrive application will open in a new tab or window depending on your browser settings.

New tab or page
File Transfer to OneDrive

Transferring your files up or down from OneDrive is performed using the Windows File Explorer application. To upload, select the file you want to upload using the File Explorer, and drag-and-drop it onto your OneDrive browser window. 
To download, select the file you want within the OneDrive browser window, and choose the Download option from the menu:

 

Download 1
Download 2

The Download option presents a Save As window allowing you to save the downloaded source file anywhere on the Windows system, including other network drives.

OneDrive with MacOS

Using OneDrive on a personal Mac OS laptop can be done using the web interface or the Office365 OneDrive client application. The web browser access outlined above also works for Mac OS and the ability to drag-and-drop files from the Finder application offers easy upload capability while downloading mechanisms are identical. The OneDrive client application integrates the OneDrive files into the Finder:

Finder

 

How do I get access to Microsoft software available to students?

Azure Dev Tools for Teaching provides higher-education STEM departments with additional Microsoft software and services. To access the Education Hub Store visit https://azureforeducation.microsoft.com/devtools and log in with your My.UNL credentials. 

The Azure Dev Tools for Teaching replaces the Microsoft Imagine web portal that was hosted on OnTheHub.

Please Note: With this change, do not log in with your cse.unl.edu credentials. Do not login with your personal Microsoft account you might have established. You must log in with your My.UNL credentials instead, which generally looks like jsmith3@unl.edu. When you provide your My.UNL login, you will be redirected to the UNL's single sign-on portal to authenticate with your My.UNL password.

How do I access a command line session on the SoC Unix server?

For certain classes you will be required to access a command line session on the School of Computing (SoC) Unix server: cse.unl.edu.

Connecting to cse.unl.edu from a Windows personal laptop

Search for "putty win32" using a search engine (Google/DuckDuckGo/Bing). Download and install the PuTTY application on your computer. Then follow the steps in the next section.

Connecting to cse.unl.edu from a Lab Windows machine

  1. Launch PuTTY - there should be a desktop icon for PuTTY, or look for it in the start menu.
  2. In the "PuTTY Configuration" dialog that pops up, enter "cse.unl.edu" in the Host Name field, click on "SSH" as the Connection type, and click the "Open" button.
  3. If this is the first time you're connecting to cse.unl.edu, there will be a Security Alert popup asking you if you want to accept the server's host key. Click on "Yes."
  4. Login with your SoC login user name and password when prompted. If you do not know your SoC login or password, visit the SoC Account Management Utility page, https://cse.unl.edu/account.

If you are prompted for a Verification code: after entering your password, examine the login user name you supplied to the login: prompt. Login user names containing a digit at the end, e.g. fred4, are not valid user names for SoC systems. If you supplied the wrong user name you will need to start a new PuTTY SSH session using the correct login user name.

How do I access my home directory from off campus from Windows?

For occasional transfer of file between your home directory on the departmental server and your personal computer, we recommend using a SFTP (Secure File Transfer Protocol) client. One such client is FileZilla.

You will need to download the FileZilla client, not the FileZilla server. Install and launch the FileZilla client. In the "Quick Connect" bar in the main FileZilla window, enter sftp://cse.unl.edu as the Host, along with your School of Computing (SoC) CSE server username and password and click on 'QuickConnect'. The Port field can be left empty if you specified the "sftp://" prefix as part of the host name.

How do I access my CSE home directory from a Windows PC on campus?

If you are working on campus from a computer lab or on your personal laptop, you might wish to map your home directory from the school server directly onto your laptop, so as to not have to transfer files up and down.

The instructions given are for Windows 10:

1. Launch File Explorer, there are many way to do this: From the start menu, select the Documents item to open the "File Explorer."

File Explorer


Or you can select the "File Explorer" from the Windows System menu.

File Explorer in Windows System menu


If you have a "My Computer" or "My PC" icon on the desktop, you can double click on the icon to launch File Explorer.

2. In the File Explorer window, click on the Computer tab on the top of the window to display a ribbon, then click the Map network drive icon if shown:

Map network drive icon

Or right-click on "My PC" to show the 'map network drive' option.  

My network drive

This will open a "Map Network Drive" dialog.

Map network drive dialog

3. In the dialog, type in "\\cse-smb1.unl.edu\login_id" without the quotes and where login_id would be your School of Computing CSE login ID. For example if your CSE login was csmith, your folder path would be: \\cse-smb1.unl.edu\csmith

4. Check on the "Connect using different credentials" checkbox, uncheck "re-connect at sign-in" and click on the "Finish" button.

5. When you are asked to enter your network credentials, you will need to login with your SoC credentials. Your user name must be provided as "CS.UNL.EDU\username". As in the example above, if your CSE username (login) was csmith, the user name value would be: CS.UNL.EDU\csmith

Enter network credentials

6. Provide your CSE password and Click "OK". You should see your home directory from the departmental server mapped as a drive in the File Explorer window.

If you are not offered the option to enter credentials or Windows returns an error indicating it cannot communicate or find the cse-smb1.unl.edu server, ensure you are connect to the eduroam network, and the eduroam network is private network. You can verify that you have the required Windows client service enabled using these instructions on Windows SAMBA settings.

Macintosh

Connecting to cse.unl.edu and other Unix servers with SSH from a Macintosh
  1. Launch a terminal window. Type ⌘-K to launch spotlight. Type "Terminal" and you should see the "Terminal" application. click to launch.
  2. Type inssh cse-login-id@hostname where hostname would be cse.unl.edu or another server running an SSH server and cse-login-id is your login id (credentials) for the School of Computing (SoC) systems.

An example of this using the Terminal application: The user's SoC login id is 'jsmith'

Last login: Mon Jul  1 14:41:39 on ttys003 macbook-prompt> ssh jsmith@cse.unl.edu Password: Last login: Tue Jul  2 10:25:18 2019 from 101.431.103.46 ******************************************************************************                               Welcome to CSE ****************************************************************************** The operating system on this computer was upgraded on March 18, 2018. Please contact "manager@cse.unl.edu" to report problems, request software or ask questions about this system. ****************************************************************************** cse.unl.edu-prompt$

On your first connection to a server, you may see a message from SSH indicating that the host authenticity is unknown.

macbook-prompt> ssh jsmith@cse.unl.edu The authenticity of host 'cse.unl.edu (10.211.11.120)' can't be established. RSA key fingerprint is 3f:1b:f4:bd:c5:aa:c1:1f:bf:4e:2e:cf:53:fa:d8:59. Are you sure you want to continue connecting (yes/no)? yes Password: Last login: Tue Jul  3 11:05:12 2019 from 101.231.303.416 ******************************************************************************                               Welcome to CSE ****************************************************************************** The operating system on this computer was upgraded on March 18, 2018. Please contact "manager@cse.unl.edu" to report problems, request software or ask questions about this system. ****************************************************************************** cse.unl.edu-prompt$

This only occurs on the first connection to a host and you should respond to the question with a 'yes' (as shown above) so the host becomes authenticated.

If you are presented with a Verification code: prompt after entering your password, examine the cse-login-id you supplied to the ssh cse-login-id@hostnamecommand line. If the cse-login-id supplied ends in a digit, e.g. fred4, the login id is not a valid School of Computing CSE login.

Connecting to the Windows Terminal Server from Mac OS

How to connect an Apple MacOS system to the School of Computing (SoC) Microsoft Windows Terminal Server:

1. On Your Mac open the "App Store" application and install the "Microsoft Remote Desktop" application.  Please be sure to install version 10 of this application.

2. Launch Microsoft Remote Desktop.

3. Click the button labeled "Add Desktop".

Add Desktop

4. Complete the Pop-up Connection Dialog as described below:

      i. PC name: csnt-ts.unl.edu

     ii. User Account: You can either choose "Ask me every time" or "Add User Account ..." (see below)

    iii. Friendly Name: SoC Terminal Server

SoC Terminal Server

5. If you chose "Add User Account ..." above complete the Add User Account as described below:

    Username: CS.UNL.EDU\username (where "username" is your SoC login ID)

    Password: your cse-password

    Friendly name: SoC Terminal Server or csnt-ts  The choice is up to you

SoC Terminal Server

6. Click the Add button for the "Add User Account Dialog" and for the "Add Desktop" dialogs.

7. You will now see a window that looks like the following:

Window

8. Double click the Desktop you just added "csnt-ts."

9.  When you connect you will get a dialog like the one below. Click Continue.

Saved Desktops

10. You will either bet presented with a login screen or your csnt-ts desktop, depending on whether your selected "Ask me every time" or "Add User Account..." in step 4.

11. When you disconnect the  blank preview or your "Saved Desktops" will be changed to a thumbnail of your actual desktop.

Saved Desktops
Printing from Mac via SMB

Please note:  Printing generally only works from on campus or when connected to the campus network via a VPN.

Printing from University-Owned (faculty/staff) Macs

For Student or BYOD Instructions, click here.

1. Install the print driver package using Launchpad to select the Self Service application:

Self-Service

From within Self Service use the left-side menu to select Printer Drivers. Then select Install of the Canon UFR II Printer Driver package: or the HP Legacy Print Drivers depending upon the printer you are connecting to.

Canon Driver

2. Use the instructions below to add the printer using System Settings -> Printers & Scanners.

3. The added printer should now be shown in the System Settings -> Printers and Scanners configuration page. You may be prompted for your MyUNL credentials the first time you print to the printer.
 

List of Printers

SoC_Avery12 *SoC_Avery12color *SoC_Avery15 *
SoC_Avery104SoC_Avery122
 
SoC_Avery123
SoC_Avery250SoC_Avery256SoC_Avery258
SoC_Avery258colorSoC_Avery354SoC_Avery354color
SoC_Schorr101SoC_Schorr209SoC_Schorr209color

(The printers marked with an asterisk (*) are the only printers that students have access to. All other printers, without the asterisk, are assigned to faculty members or graduate research/teaching assistants in specific confined spaces.)

Printing from a BYOD (personal) Macs using Apple Menus

Students wishing to print may not have access to Self Service, so the instructions and command-line printer administration instructions provided above may not work due to the lack of print drivers. Students can still add printers using the Apple menus, but they may need to choose the generic postscript printer driver unless they manually install the print drivers from the manufacturer. With the drivers installed, you can select the driver specific to the printer model.

Adding a printer using Apple menus:
Open System Preferences. Either click on the Apple Menu on the main menu bar at the top of the screen and then select System Preferences, or bring up spotlight by holding down ⌘-space and then typing System Preferences

1. Then click Printers & Scanners (or Printers & Fax). Note: Your System Preferences may look different.

2. Click on the "+" button on the lower left to start the process of adding a new printer

Add printer

3. In the "Add" dialog, right click the bar at the top, and select the Customize Toolbar option. This opens a toolbar customization menu. Use the toolbar customizing menu to drag the Advanced option onto the menu bar. You may skip this step if you already have the Advanced options symbol on the Add dialog toolbar.

Add Icon and Text

4.  The printer Type is "Windows printer via spoolss". In the URL, type in smb://its-acadprt-unl.unl.edu/PRINTER. Replace PRINTER with one of the printer names shown above. For example, if you wanted to print to the printer in Avery 12, you'd use SoC_Avery12. See all the printers in the list above. In the dialog box, for Printer Name, replace its-acadprt-unl with something that better identifies the printer. Finally for the Print Using option, select either generic postscript or the appropriate driver from the list if you have installed drivers from Self Service or the manufacturers support website.

Avery12

5. Click add. Your printer should now be added. Print a test page to make sure everything works.

6. When you print to this printer for the first time, you will be prompted for your login and password. Use your UNL MyRed login. Check the "Remember this password in my keychain" checkbox as shown.

If you change your UNL MyRed password, you will need to launch the keychain utility and delete the stored old password for this printer. The keychain record, will be found in the "Login" keychain, in the "Passwords" category and will be named the same as the printer name, simply select this record and delete this entry. The next time you print you will be prompted for the new password which must be entered as described above.

Setting up Mac Mail on OSX 10.8+ (legacy users)
  1. Launch Apple Mail (which will be known as Mail).
  2. Select "Mail" from the menu bar, then select preferences. Or use the keyboard command. "cmd+,"
  3. This brings up the preferences dialog. Select the "Accounts" tab on the top of the window. When presented with the accounts window click the plus button in the lower left corner to add a new account. 
Accounts tab

4. Select "Add other mail account" and click on "Continue."

Add other mail account

5. Fill in the required information. Please use your full name, School of Computing (SoC) email address, SoC password and click on "Create".

Create

6. Make sure "Account Type" of IMAP is selected and the mail server is "cse-mail.unl.edu". Enter your SoC login for the User Name and click on "Next". Note that the login does not have the "@cse.unl.edu" specified.

IMAP

7. On the next screen enter "Mail" as the path prefix and make sure "use SSL" is selected then click "Next". Note The "Path Prefix" is a subfolder on your home directory where mail fodlers are kept. If not specified, your mail folders will be kept on your home directory.

Enter "Mail"

8. For the outgoing mail server, again enter cse-mail.unl.edu and your SoC login and password and click "Create."

Create

9. A new mail account will be shown on the preferences tab. Close the preferences tab to complete setup on your mail.

10. If you have issues, contact support@cse.unl.edu for further assistance.

Connecting to your home directory from a Mac from off campus

The simpler method to access your home directory (Z: drive) from off-campus is to use an SFTP client like Cyberduck. This will allow you to easily transfer files between your cse.unl.edu account to your local computer. While a free version of Cyberduck is available online, users are cautioned to be mindful to download Cyberduck from a reputable source, as the source code is readily available online and can thus be easily modified and made vunerable. A version is also available through the Mac App Store as a paid app. We recommend the paid app store version as it ensures the source as reputable.

To actually mount your files from an off-campus account you will need to configure a VPN client and then follow the instructions on mounting your drive from on campus. Both of these topics are discussed in other sections of this FAQ.

Connecting to your home directory from a Mac on campus
  1. Click on the Finder icon on the desktop.
  2. On the main menu bar, click on the "Go" pull-down menu and select "Connect to Server". The keyboard short cut is ⌘-K.
  3. In the server address field enter: "smb://cse-smb1.unl.edu/login_id" without the quotes and where login_id would be your School of Computing (SoC) login ID. Click on "Connect."
  4. In the popup authorization dialog, make sure the Registered User checkbox is selected and enter your SoC credentials. Your SoC login must be in the form: "CS.UNL.EDU\login_id" without the quotes and where login_id is your SoC login ID. Click "Connect."
Connect to Server
Duplex Printing and Stapling on Canon IR Printers

Instructions to duplex and staple on Canon IR printers

  • Go into system preferences, click on Printers and Scanners and then select the desired printer on the popup dialog
  • Confirm that a Canon IR driver is  installed for the printer (See 1 on image below)
Canon
  • If the Canon IR driver is installed, click on the Options and supplies (see 2 on image above)
  • Then click on the options tab(see 3 on imag eblow) on the pop up dialog
Canon 3 and 4
  • Make sure the “Finisher S1” is selected under output options (see 4 on image above)
  • Then when you go to print, you’ll need to select “Finishing” from the advanced options pull down( see 5 on image below)
Canon 5 and 6
  • Finally select 2-sided printing (see 6 on image above) and check the Staple checkbox below that to staple the job.
Duplex Printing on Generic Postscript Printers

If you have a generic postscript driver installed follow the below steps enable 2-sided (duplex) printing.

  • Lauch system preferences, click on Printers and Scanners and then select the desired printer
  • Make sure the generic postscript driver is installed for the printer in question (see 1 on image below)
generic 1
  • Click on options & supplies (step 2 on image above)
  • Then click on the options tab (step 3 on image below) and make sure the duplexer box is checked (step 4 on image below)
Duplexer
  • When you go to print, check the Two-sided printing checkbox(step 5 on image below)
Two-sided printing

Unix-Linux

Connecting to cse.unl.edu and other unix servers with ssh from Linux

Open a Terminal window.  The instructions that follow are for Ubuntu Linux.  Other distributions are similar.

Click on the grid button in the lower left corner.

Ubuntu Search

Enter "Terminal" in the search dialog that appears.

Terminal

In the window that appears when you click on the Terminal icon shown above, enter "ssh -Y username@cse.unl.edu".  Substitue your cse user name for "username" in this command.  You can omit the "-Y" flag if you do not want to use ssh X forwarding (and if you don't know what this is, you can safely omit it).  The examples below use a user name of "sac".

Ubuntu Terminal 3

The first time that you connect to cse.unl.edu, or any other Linux/Unix server, a dialog like that shown above will appear.  Answer "yes" to this.

Then enter your cse password.

Ubuntu Terminal 4
How to reset your MySQL password on cse.unl.edu

Resetting MySQL Password 

If you have forgotten your MySQL password, reset your MySQL password by going to https://cse.unl.edu/account. Log in using your School of Computing (SoC) credentials and click the 'Reset MySQL Password' link. A new randomly generated password will be sent to you via email.

Changing MySQL Password from the MySQL CLI

If you know your old MySQL password, the password can be changed from MySQL workbench or from the MySQL command line interface (CLI). To chance your password from the CLI, connect to cse.unl.edu, run the MySQL client, once connected, enter the following command at the MySQL client prompt: 'set password=password('####');' and hit enter. Where '####' denotes the password you wish.

Connecting to cse.unl.edu and other unix servers with ssh from Linux

Open a Terminal window.  The instructions that follow are for Ubuntu Linux.  Other distributions are similar.

Click on the grid button in the lower left corner.

Ubuntu Search

Enter "Terminal" in the search dialog that appears.

Terminal

In the window that appears when you click on the Terminal icon shown above, enter "ssh -Y username@cse.unl.edu".  Substitue your cse user name for "username" in this command.  You can omit the "-Y" flag if you do not want to use ssh X forwarding (and if you don't know what this is, you can safely omit it).  The examples below use a user name of "sac".

Ubuntu Terminal 3

The first time that you connect to cse.unl.edu, or any other Linux/Unix server, a dialog like that shown above will appear.  Answer "yes" to this.

Then enter your cse password.

Ubuntu Terminal 4
Accessing School of Computing systems using NoMachine - Remote X11 GUI access

NoMachine is a fast, multi protocol remote access client which allows RDP and X11 type connections to a variety of servers. We have a NX server installed on two servers; cse-linux-01.unl.edu and cse.unl.edu, which allows GUI X11 Desktop access to either of these systems. Below are steps on setting up a noMachine connection to cse-linux-01.unl.edu.

You can download and install NoMachine from https://www.nomachine.com/ 

To configure a new connection, after you launch noMachine: 

  1. from the Recent connections pane,  click on ‘New’ 
  2. for Protocol select NX 
  3. In the Host input enter ‘cse-linux-01.unl.edu’
  4. for Authentication method select Password
  5. select the Don’t use proxy radio button.
  6. Name your connection and finally click on Done

 

Once you have configured a connection to establish a connection:

  1. from the Recent connections pane,  double click on the named connection
  2. Enter your MyRed login credentials for the cse-linux-01.unl.edu server (username and password)
  3. Double click on the Create a new virtual desktop icon 
Create new virtual desktop icon

  4.  Click thru the next four dialogs that provide you an overview on using noMachine

For connection to the legacy cse.unl.edu server you must use a CSE login and password, which is separate and distinct from your MyRed login and is only used to connect to SoC legacy servers and web applications. You will not need a CSE login unless an instructor or faculty member has told you that you need one to access legacy research or instructional tools and/or data.

Tip: You can save your password, the connection type, and click on Don’t show this message again on the dialogs for one-click connection to cse.unl.edu

Note: Please log off when you are done working on cse.unl.edu. Simply disconnecting the NoMachine client will consume resources on the server and your session will be forcefully quit at somepoint, possibly resulting in loss of any unsaved data or settings.

Linux SMB Printing

The example provided depicts the GUI interface provided by the Ubuntu Linux 20.04 LTS distribution. Note: Printing only works when you connected to a University of Nebraska network.

Prior to setting up printing, you need to install some prerequisite programs.  This can be done with the shell-prompt command "sudo apt install psutils python3-smbc smbclient" there will likely be a number of dependencies that also need to be installed when you issue this command.

1. Open System Settings by clicking on the icons in the upper right corner and select "Settings".

Open System Settings

2. Select Printers on the left and then click "Additional Printer Settings..."

Additional Printer Settings

3. Click on Add:

Click on Add

4. Select "Windows Printer via SAMBA"  Enter csnt/ and the name of the printer that you want to add such as "Avery-ps15" and select "Set authentication details now" if the option is presented. For your login credentials, you should use your CSE login username inserting cs.unl.edu\ before your CSE username, e.g. cs.unl.edu\username. Complete the administration of the printer by entering your password and click Forward:

SAMBA

5. Select Generic and click Forward on the next window:

Select Generic

6. Select PostScript in the Drivers column of the next window and select Generic PostScript Printer Foomatic/Postscript [en] (Recommended) column and then click Forward:

Select PostScript

7. Enter a short name for the printer, such as "ps15", and a "Human-readable" name for the printer such as "Avery-ps15" and then click Apply. The short name can be used later for command-line printing and the "Human-readable" name will show up in print applications that use the system's GUI.

ps15

8. You can click Cancel on the popup window or click Print Test Page. The test page will be deducted from your print quota if you choose to print it.

Cancel

9. If everything worked as expected you should see the printer.

Printer

If you encounter the error: CUPS server error "client-error-not-possible" or a similar error from the CUPS subsystem, you will need to install the smbclient package, and perhaps additionally the samba or smb-common package, using the package manager provided with your Linux distribution.

Linux Mint uses very much the same procedure except instead of being called "System Settings" the system configuration application is called "Control Center". Other Linux distributions are similar.

If you want to take advantage of more advanced printer features, such as duplexing or stapling, you can use a printer-specific driver for the printer models as seen at the bottom of Printing from Mac via SMB 10.8+ section of this FAQ.

VMware Installation using D2L Brightspace
VMware Installation

Local Virtual Machines in the School of Computing (SoC) are generally run under VMware Fusion or Workstation. This and other VMware products are available to SoC students through VMware's Academy Software Licensing program (which is hosted by D2L Brightspace). This service replaces our previous subscription service to VMware OnTheHub.

Downloading VMware Products

Start by requesting a subscription to the VMware Academy Software Licensing Program via the SoC account management portal as outlined below.

  1. Visit https://cse.unl.edu/account.
  2. Login with your cse.unl.edu credentials.
  3. Click on the Account Settings link.
  4. Check the "VMware Academic Software Program (D2L Brightspace)" checkbox and save your settings.

This will initiate an account request using your huskers.unl.edu email address. You should receive an email with a link by the next business day. Once you receive the email, click on the link provided for download access.

Welcome!

The link leads to a following page. Click on the 'Click here' button to proceed.

Click here

If you already have a D2L account, click on Log In, otherwise click on the Register button.

D2L

Complete your registration if you clicked on the Register button above, otherwise skip this step.

Complete your registration

On the next page, select the "Click Here to Redeem" button.

Click Here to Redeem Button

Click on the "Software Products and License Keys" button presented on the next page.

Software Products and License Keys

The left column of the screen shows the steps to request the VMware software and obtain the 1-Year License Key. The right column contains the download links for your software. VM Workstation is for PC's and VMware Fusion is for MAC.

At this point, you will install the downloaded VMware client and apply the license.

Notes:

  • Product licenses issued through the VMware Academic Program are valid for one year from date of issue.
  • Access to VMware Academic Program subscription (D2L) site are reset every October.

– In effect, if your VMware product license has expired, you will need to re-request a subscription to the VMware Academic Software Licensing program by following the instructions on this FAQ Section: Downloading VMware Products, in order to access new versions of VMware products or licenses.

Code development on the SoC Linux servers with Visual Studio Code

If you are developing C or C++ code on the School of Computing's CSE server (cse.unl.edu) and using a Windows PC or Mac, you may benefit from using Visual Studio Code (https://code.visualstudio.com/docs/setup/windows (Links to an external site.)) as an editor. While not as full-featured as a true IDE, VS Code does give you syntax and code error highlighting which can be beneficial.

To use Visual Studio Code to edit your files stored on the CSE server, you will need to attach (mount) your CSE home directory as a remote drive. The instructions on the How do I access my home directory on campus? page will tell you how to mount your home directory as the Z: drive on a Windows system. A similar procedure for Mac allows mounting your home directory using Mac OS.

After mounting your CSE home directory, you can open Visual Studio Code to Explore your Z: drive, and open a workspace. Project directories located in your CSE home directory or subdirectories can be selected using the VS Code Explore tool. Selecting the Open Folder link in VS Code also opens the Explorer tool.

VS Code
Figure 1. VS Code - Explorer tool view showing a mounted CSE home directory

You can use Windows Explorer to copy or move source and/or project files and directories from your local laptop hard drive into your Z: drive, and create any directories or sub-directories in your CSE home directory. If you are using Git to store your project, you can clone it directly into your Z: drive by selecting the directory on the Z: drive where you want to clone the project.

To Clone a Git repository project using VS Code, choose the Clone Repository button:

 

VS Code
Figure 2. VS Code selecting a Github project repository to clone

Choose a directory on Z: drive to save the git project:

VS Code
Figure 3. Selecting a directory on the CSE server using the mounted Z: to save the Github project repository into

This example clones a project from Github, and saves the project within the directory ~/git on the CSE server. The tilde character, ~ refers to your home directory on CSE, and the git directory is an arbitrary directory that I have chosen to save all my git projects.

For MacOS, after following the instructions to mount your CSE home directory, you can use the Mac Finder application to navigate into your CSE home directory (remote location) and copy files and directories to and from your MacOS machine. Opening files and projects in VS Code is the same in MacOS using the VS Code Explorer tool, including the cloning repositories by selecting your CSE home directory remote location.

Attaching to your CSE home directory on from an off-campus network may require using a VPN connection. The VPN is a service of UNL Information Technology Services, visit the UNL ITS Global Protect VPN page for instructions on installing and connecting to the UNL network using the VPN client.

Disk Usage Considerations

The prior version of this article instructed users to load the Remote - SSH extension into VS Code and connect to the CSE server via that extension when running VS Code. The instructions above supersede those, and make the need for a .vscode-server directory in your home directory unnecessary. 
If you have used VS Code using the old instructions, you may reach or exceed your quota of disk space on CSE. Using the Remote - SSH extension triggers the installation of a 100MB+ image of the VS Code Server into your home directory. With prolonged use of VS Code and Remote - SSH, you may have multiple copies of the VS Code Server application being placed in a subdirectory of your home directory. This is caused by VS Code and the update mechanism, resulting in extra copies of the executable files in ~/.vscode-server/bin. These old/extra copies count against your disk quota on the CSE server, and may result in you receiving disk quota exceeded emails from CSE Systems Support. These old/extra copies can safely be removed, an easy way to tell is if the date reported by ls -lt is the most recent, that is the copy to keep. All older copies can be safely removed.

Below is an example of what you will find in the VS Code Server directory, ~/.vscode-server and how to remove extra copies of VS Code executable files:

wmotycka@cse:~> ls -l ~/.vscode-server/bin/ total 12 drwxr-xr-x 6 wmotycka staff 4096 Oct 26 07:54 d2e414d9e4239a252d1ab117bd7067f125afd80a  # NOTE OLDEST DATE drwxr-xr-x 6 wmotycka staff 4096 Jan 16 08:55 ea3859d4ba2f3e577a159bc91e3074c5d85c0523 drwxr-xr-x 6 wmotycka staff 4096 Nov  8 09:00 fcac248b077b55bae4ba5bab613fd6e9156c2f0c    # NOTE OLD DATE wmotycka@cse:~> cd ~/.vscode-server/bin wmotycka@cse:~/.vscode-server/bin> du -hs 317M    . wmotycka@cse:~/.vscode-server/bin> du -hd1 112M    ./d2e414d9e4239a252d1ab117bd7067f125afd80a 104M    ./ea3859d4ba2f3e577a159bc91e3074c5d85c0523 103M    ./fcac248b077b55bae4ba5bab613fd6e9156c2f0c 317M    . wmotycka@cse:~/.vscode-server/bin> cd ../.. wmotycka@cse:~> # Remove the extra/oldest copy/copies of the VS Code Server using 'rm -rf' wmotycka@cse:~> rm -rf ~/.vscode-server/bin/d2e414d9e4239a252d1ab117bd7067f125afd80a wmotycka@cse:~> rm -rf ~/.vscode-server/bin/fcac248b077b55bae4ba5bab613fd6e9156c2f0c wmotycka@cse:~>

The last two commands above remove the oldest copies of VS Code Server images while retaining the most recently dated copy present.

Latest Notes

Unless you have a particular need, we recommend completely removing the ~/.vscode-server directory and instead access files on CSE using the method above. The ~/.vscode-server directory is necessary for operation using the Remote - SSH extension but is unnecessary when using VS Code on remote-mounting files to your personal Windows or Mac machine. There is also a performance improvement to VS Code by using remote-mounted files instead of the Remote - SSH method since all of the editing work is done on your local system. Disk usage reduction and performance improvement together justify changing to the method described above. If you want, remove all the contents of the ~/.vscode-server/bin/* and then use the instructions above to connect to your project. The only change you should see may be the need to install extensions locally that you originally had installed on the CSE server.

The Remote - SSH extension can also cause performance issues on the CSE server. Features of the extension like file search spawn processes that can linger in the CSE process table, becoming "zombie" processes that can only be removed by manual intervention (reboot or using 'kill' on each.) These lingering processes reduce available processing time, which you experience as slow compiles and program execution.

VS Code on a Linux client

Running VS Code on a Linux client (for example running Ubuntu on your own laptop) the way you mount the drive is important. You will need to use the fuse filesystem and the base SAMBA client packages samba-client and samba-common. For more specifics follow (or search) the instructions for your Linux distribution regarding installing SAMBA client. For my installation (Kubuntu 22.04), I also installed samba-common-bin, samba-libs, samba-vfs-libs, smbclient, cifs-utils, and winbind packages. 
The Gnome Virtual Filesystem gvfs facility, if properly configured, will mount your CSE home directory to one of the two the default locations, ~/.gvfs or /run/user/<user-number>/gvfs. This gvfs facility is easy to use from the Gnome Filesapplication, but doesn't work properly with all file managers like Dolphin, where the mounted CSE filesystem is not being exposed into the ~/.gvfs or /run/user/<user-number>/gvfs directory, as the gvfsd-fuse documentation describes. Using the Gnome Files application, the /run/user/<user-number>/gvfs directory contains the mount point directory that allows access to your CSE home directory. Later instructions provide the Linux shell command-line necessary to mount your home directory without the use of a file manager application. 
After installing the appropriate packages, the following steps will mount your CSE home directory:

  • Launch the Files application, and select Other Locations from the left-side menu:
Files
Figure 4. Gnome Files application Other Locations page
  • In the Connect to Server field enter the URL for connecting to the the Samba server, smb://cse-smb1.unl.edu/%lt;cse-login%gt; where cse-login is your username on the CSE server. Finish this step by pressing the Connect button.
  • You will next be prompted to enter your CSE username (login id), network domain, and password. Enter cs.unl.edufor the Domain, and your CSE username and password:
Domain
Figure 5. Network connection prompt for CSE login credentials

Your CSE home directory is now mounted and can be accessed from within VS Code using the Explore Open Folder action:

Figure 6
Figure 6. VS Code Explore panel offering your CSE home directory under the Networks heading

You can also mount your CSE home directory using the Linux command-line shell. The following outlines the basic steps:

  • Open a terminal window and execute the command: gio mount smb://cse-smb1.unl.edu/cse-login replacing cse-login with your login id on the CSE server
  • You will be prompted for you CSE login id and credentials:
Figure 7
Figure 7. Mounting my CSE home directory from command-line
  • If your login credentials on your Linux client (laptop) are not the same as your CSE credentials, enter your CSE login username to the User prompt. The Domain is cs.unl.edu as shown in figure 4. Enter your CSE password to the Password prompt. If successful, the shell command prompt is returned.
  • You can then create symbolic links from the mount-point directory under /run/user/<user-number>/gvfs/ into a place in your home directory that will help navigate to it: 
    ln -s /run/user/1000/gvfs/smb-share\:server\=cse-smb1.unl.edu\,share\=wmotycka ~/Documents/CSE
    creates a symbolic-link (directory path), /home/wmotycka/Documents/CSE, to the CSE home directory of the user wmotycka that can be accessed from within the VS Code Explorer, Open Folder action.
Figure 8
Figure 8. Navigating to the ~/public_html/homepage_jekyll project path on the CSE server using the symbolic-linked CSE path
  • Projects and source files that require compilers like C and C++ source will still need to be compiled from a shell command-line on CSE, since the compiler and libraries on your local Linux client system may not be compatible with the libraries installed on CSE. This does not preclude compiling and running your code on your local Linux client system, which you can do for testing and development.
  • Project management tools like git have extensions in VS Code that allow managing shared code projects and cloud-based source repositories through the VS Code application. The CSE server supports git and maven (mvn) source management as well as svn source version control. Code-base management can be performed from both within the VS Code application and using CSE server shell commands.
How to Format Your Thesis Using LaTeX

The Office of Graduate Studies dictates the style and format for a thesis at the University of Nebraska-Lincoln. Information about these standards can be found on their website for current students at http://www.unl.edu/gradstudies/current/, and specifically in a publication titled "Guidebook For Preparation and Submission of a Thesis". 

The Department of Mathematics maintains a LaTex class file that helps format your thesis to Nebraska's guidelines. This template may be helpful to Computer Science and Engineering students as well. Look for the "NU Thesis LaTeX Class File" under the Resources section of this page: https://math.unl.edu/current-graduate

Compilers and Interpreters available on cse.unl.edu

Compilers

gccGNU CcCompiler
g++GNU C++ compiler
javacJava compiler
gfortranGNU Fortran compiler
clispCommon Lisp
alispAllegro Common Lisp

Interpreters

perlPerl command line scripting language
phpCommand line and web scripting language
rubyCommand line and web scripting language
pytonCommand line scripting language
A simple unix text editor - pico

To use pico, type "pico filename" where filename is the file you with to create or edit. Once in pico, you will see a list of pico commands you can use, shown on the bottom of the screen. The '^' symbols means <CTRL>. To view the pico help screen the command shown on the bottom of the screen is "^G" which means <CTRL>-G.

Basic Unix Commands

Note on systax used in document:

items in [] are optional

items in {} can be repeated 0 or more times.

fn = filename (possible with wildcards)

dir = directory name


File System:

cat fn {fn}

concatenate, can be used to display a file.

more fn {fn}

displays file(s) one screenful, at a time. At MORE prompt enter: space bar - for next screenful <cr> - for next line, q - to quit more command.

cp fn1 fn2

copy file - fn1 to fn2, fn1 remains.

mv fn1 fn2

move (rename) file - fn1 to fn2, fn1 no longer exists.

rm fn

remove (delete) file.

lpr -Pprinter_name fn

print a file, printer_name = ps16 or ps17.

ls [fn]

list files in current directory option filename is usually used to display files matching wildcards. (ie. ls *.s will list all assembly language source files.)

ls -lgRa

Recursive listing of all files within all subdirectories. Longest, most descriptive format.

cd [dir]

change working directory, ``home directory" if not specified. cd .. will backup one level in the directory structure.

pwd

print working directory path.

mkdir dir

make a new directory, giving it the name dir (within the current directory)

rmdir dir

remove (delete) the directory named dir (the directory must be empty)

file fn

Tries to determine what kind of information is in a file by consulting the file system index and by reading the file itself.

du

Prints a summary of total space occupied by all files in a hierarchy.

sort fn

Sorts ASCII files line-by-line.

chmod

Change file permissions. See the man pages for a complete description of settings. Use this command to determine whether files can be readable by other people.

find . -name filename

In it's most simple form find will display all files in this and any subdirectories which name matches filename. See the man page for find for a complete description of this command. Find can be use to find files matching name patters, dates, owners, sizes, etc. and to perform action on matched files.

gzip fn

Use this to compress files not needed immediately to conserve disk space. A ``.gz" will be appended to the filename.

gzip -d

Uncompresses files with ``.Z" at end of filename.

head {-n} fn

Prints first n lines of a text file. If no number is specified, the default is 10.

tail {-n} fn

Prints last n lines of a text file. If no number is specified, the default is 10.

tail {-n} fn

Prints last n lines of a text file. If no number is specified, the default is 10.

grep string fn

Print occurrences of string in file



 

Remote Connection:

ssh remote_host

Launch a secure shell to the remote host specified.



 

Communication:

finger

list users currently on the system.

who

list users currently on the system.

w

what, similar to who but includes what they are doing.

pine

Email message utility.

pine username

will send Email to username.

talk username

allows two users to have an interactive conversation over the computer.

write username

allows a user to put a message on another users screen.

mesg n

Makes it so other users cannot interrupt you with talk requests, and write messages.



 

Help:

man command

manual, returns the manual for the given command from the UNIX on-line manual. If you cannot find a man page for a command, there may be one in a directory that isn't in your MANPATH. Your MANPATH is setup in the .login file and a command's man page is usually in a man directory off the same parent directory as the command. For example, if the command is located in /usr/local/bin, its man page is probably in /usr/local/man.

man -k keyword

display manual headings containing the word keyword.



 

Miscellaneous:

alias name def

Assigns ``def'' to the alias ``name''. Usually found in the .cshrc file. For example ``alias dir ls -la''.

clear

Clears screen.

history

List history of commands used.

!!

re-execute the last command entered.

!x

re-execute the last command that started with the given letter, eg !c will re-execute the last command that began with the letter c.

jobs -l

list all currently stopped or background jobs with job numbers and process ID's.

kill [-signal] %jobnumber

kill the given job number. Use the "jobs" command to show running jobs. You might need to kill a job to logout if you have accidentally put a job into the background or stopped a job. Use -TERM or -KILL singlas to force quite jobs.

 

kill PID

kill the given Process. refer the "ps" command to find running processes. Use -TERM or -KILL singlas to force quite jobs.

ps -fa

list all your current processes. See the man page for a full description.

<control>C

kill the current process - the one in the  foreground

<control>Z

suspend foreground process.

bg

put a suspended job in the background.

fg

put a suspended or background job in the foreground.

date

display time and date.


 

To find out about more commands, click  here.

To Get Into and Out Of vi

To Start  vi

To use  vi on a file, type in  vi filename. If the file named  filename exists, then the first page (or screen) of the file will be displayed; if the file does not exist, then an empty file and screen are created into which you may enter text.

*vi filenameedit  filename starting at line 1
 vi -r filenamerecover  filename that was being edited when system crashed

To Exit  vi

Usually the new or modified file is saved when you leave  vi. However, it is also possible to quit  vi without saving the file.

Note: The cursor moves to bottom of screen whenever a colon ( :) is typed. This type of command is completed by hitting the  <Return> (or  <Enter>) key.

Basic CommandCommandDescription
here:x<Return>quit  vi, writing out modified file to file named in original invocation
 :wq<Return>quit  vi, writing out modified file to file named in original invocation
 :q<Return>quit (or exit)  vi
 * :q!<Return>quit  vi even though latest changes have not been saved for this  vi call

Moving the Cursor

Unlike many of the PC and MacIntosh editors,  the mouse does not move the cursor within the  vi editor screen (or window). You must use the the key commands listed below. On some UNIX platforms, the arrow keys may be used as well; however, since  vi was designed with the Qwerty keyboard (containing no arrow keys) in mind, the arrow keys sometimes produce strange effects in  vi and should be avoided.

If you go back and forth between a PC environment and a UNIX environment, you may find that this dissimilarity in methods for cursor movement is the most frustrating difference between the two.

In the table below, the symbol  ^ before a letter means that the  <Ctrl> key should be held down while the letter key is pressed.

Basic CommandCommandDescription
*or  <Return>   [or down-arrow]move cursor down one line
*k [ or up-arrow]move cursor up one line
*or <Backspace>   [or left-arrow]move cursor left one character
*or  <Space>   [or right-arrow]move cursor right one character
*0 (zero)move cursor to start of current line (the one with the cursor)
*$move cursor to end of current line
 wmove cursor to beginning of next word
 bmove cursor back to beginning of preceding word
 :0 <Return> or 1Gmove cursor to first line in file
 :n <Return> or nGmove cursor to line  n
 :$ <Return>  or Gmove cursor to last line in file

Screen Manipulation

The following commands allow the  vi editor screen (or window) to move up or down several lines and to be refreshed.

Basic CommandCommandDescription
 ^fmove forward one screen
 ^bmove backward one screen
 ^dmove down (forward) one half screen
 ^umove up (back) one half screen
 ^lredraws the screen
 ^rredraws the screen, removing deleted lines

Adding, Changing, and Deleting Text

Unlike PC editors, you cannot replace or delete text by highlighting it with the mouse. Instead use the commands in the following tables.

Perhaps the most important command is the one that allows you to back up and  undo your last action. Unfortunately, this command acts like a toggle, undoing and redoing your most recent action. You cannot go back more than one step.

*uUNDO WHATEVER YOU JUST DID; a simple toggle

The main purpose of an editor is to create, add, or modify text for a file.

Inserting or Adding Text

The following commands allow you to insert and add text. Each of these commands puts the  vi editor into insert mode; thus, the  <Esc> key must be pressed to terminate the entry of text and to put the  vi editor back into command mode.

Basic CommandCommandDescription
*iinsert text before cursor, until  <Esc> hit
 Iinsert text at beginning of current line, until  <Esc> hit
*aappend text after cursor, until  <Esc> hit
 Aappend text to end of current line, until <Esc> hit
*oopen and put text in a new line below current line, until  <Esc> hit
*Oopen and put text in a new line above current line, until  <Esc> hit

Changing Text

The following commands allow you to modify text.

Basic CommandCommandDescription
*rreplace single character under cursor (no <Esc> needed)
 Rreplace characters, starting with current cursor position, until  <Esc> hit
 cwchange the current word with new text, starting with the character under cursor, until  <Esc> hit
 cNwchange  N words beginning with character under cursor, until  <Esc> hit;   e.g., c5w changes 5 words
 Cchange (replace) the characters in the current line, until  <Esc> hit
 ccchange (replace) the entire current line, stopping when  <Esc> is hit
 Ncc  or cNcchange (replace) the next N lines, starting with the current line, stopping when <Esc> is hit

Deleting Text

The following commands allow you to delete text.

Basic CommandCommandDescription
*xdelete single character under cursor
 Nxdelete N characters, starting with character under cursor
 dwdelete the single word beginning with character under cursor
 dNwdelete  N words beginning with character under cursor;   e.g.,  d5w deletes 5 words
 Ddelete the remainder of the line, starting with current cursor position
*dddelete entire current line
 Ndd  or dNddelete  N lines, beginning with the current line;   e.g.,  5dd deletes 5 lines

Cutting and Pasting Text

The following commands allow you to copy and paste text.

Basic CommandCommandDescription
 yycopy (yank, cut) the current line into the buffer
 Nyy  or yNycopy (yank, cut) the next N lines, including the current line, into the buffer
 pput (paste) the line(s) in the buffer into the text after the current line

Other Commands

 

Searching Text

A common occurrence in text editing is to replace one word or phase by another. To locate instances of particular sets of characters (or strings), use the following commands.

Basic CommandCommandDescription
 /stringsearch forward for occurrence of string in text
 ?stringsearch backward for occurrence of string in text
 nmove to next occurrence of search string
 Nmove to next occurrence of search string in opposite direction

Determining Line Numbers

Being able to determine the line number of the current line or the total number of lines in the file being edited is sometimes useful.

Basic CommandCommandDescription
 :.=returns line number of current line at bottom of screen
 :=returns the total number of lines at bottom of screen
 ^gprovides the current line number, along with the total number of lines, In the file at the bottom of the screen

Saving and Reading Files

These commands permit you to input and output files other than the named file with which you are currently working.

Basic CommandCommandDescription
 :r filename<Return>read file named  filename and insert after current line (the line with cursor)
 :w<Return>write current contents to file named in original  vi call
 :w newfile<Return>write current contents to a new file named  newfile
 :12,35w smallfile<Return>write the contents of the lines numbered 12 through 35 to a new file named smallfile
 :w! prevfile<Return>write current contents over a pre-existing file named  prevfile
MySQL Database Account — Requesting and Connecting

MySQL is the general purpose database subsystem provided by the School of Computing (SoC) for student use. Each user is allowed one database. This database is automatically created after requested by a user and is named the same as your SoC systems username. Users can create as many tables as they want but we ask that they keep all databases to a reasonable size.

Requesting a MySQL Account and Database
Any user with a SoC account can request access to the MySQL server running on the cse-linux-01.unl.edu server.  Users with legacy CSE server accounts can request access to the MySQL server running on the cse.unl.edu server.  To determine if you already have a MySQL account, log in to the SoC Account Management Utility (AMU) page at https://cse.unl.edu/account with your CSE account credentials. Once you log in, click the Account Settings link on the left page. If you have already been granted a MySQL account on one of the SoC servers (cse.unl.edu, cse-linux-01.unl.edu, or nuros.unl.edu) you will see a message indicating on which system(s):

 

If you do not have any MySQL accounts showing on Account Settings, you will need to send an email to support@cse.unl.edu requesting a MySQL account.  If you already have an account on the cse.unl.edu server, you may request a MySQL account on that system, otherwise your MySQL account will be created on the cse-linux-01.unl.edu server.

The MySQL credentials you receive will have a login that matches your CSE server (cse.unl.edu) username, but your password for the MySQL server is completely different from your CSE server password.

Accessing the MySQL server is done by one either logging into the cse.unl.edu server using your CSE username and password, or connecting to the cse.unl.edu server using a TCP/IP connection.

Connecting to MySQL Database
To connect to a MySQL database from the command-line on cse.unl.edu, type mysql -p and hit enter. The password you will be prompted for will be your MySQL password, which is different from your cse.unl.edu server password. Enter the MySQL password you received in the email message that was sent when you requested your account. You should be presented a MariaDB [(username)]> prompt from the MySQL application.

To connect to a MySQL database from the command line from another computer with the MySQL command line client installed. Run 'mysql -h cse.unl.edu -u YOUR_CSE_LOGIN -p' and hit enter. Note: the password you will be prompted for will be your MySQL password, which is different from your SoC password. MySQL passwords can be reset using the SoC Account Management Utility page.

TCP/IP connectivity requires authentication using your MySQL credentials and is supported on the standard MySQL service port, 3306, on the CSE server.

Web Related

Prerequisites for hosting web content on your CSE account

School of Computing (SoC) users can host web content such as HTML or PHP pages on the cse.unl.edu server. There are a few prerequisites such as required directories and permissions on these directories. This section will go over these.

Before we get started, a word on directory permissions. We'll need to grant others execute permissions on certain directories. Granting execute permission on a directory, allows others to access (traverse/come into) your directory, in this case the web server will need to access the HTML files you wish to publish. Note: This is not the same as granting read access on a directory. Read access allows someone to list the content of the directory. When execute but not read access is granted, the user can only access files they know the full path to, and in addition, they must have read access to the particular file in question.

  1. You will need to open a Unix command line session to cse.unl.edu. Since the steps are different for Windows and Mac users, this topic is covered in the respective FAQ sections.
  2. Make sure your home directory has execute permission for everyone(others). Note: the "~" symbol is a shortcut to "My Homedirectory". Enter "chmod o+x ~" in the command prompt as shown below.

     > chmod o+x ~ 

  3. Create a public_html directory in your home directory by issuing the command below. The public_html directory is the root of your Web documents. A world readable file placed in this directory will be accessible on the web by using the URL http://cse.unl.edu/~login_id/file where you would replace ~login_id with "~"+ your login id.

     > mkdir ~/public_html

  4. The public_html directory must also have execute permission for everyone(others). Enter the command shown below.

     > chmod o+x ~/public_html 

  5. You can now setup a index.html page (the default page serviced by the web server) to test your web site.
How to setup your first PHP page on cse.unl.edu
  1. Make sure you have read and setup the required directories and permission as described in FAQ section on Prerequisites for hosting a web page on cse.unl.edu.
  2. Change your working directory to the public_html directory.

     > cd ~/public_html

  3. Open a command line session to cse.unl.edu.
  4. Use an editor like vi or pico to create the index.php file. Refer to the FAQ pages on editors on cse.unl.edu. Pico being the simple Unix editor to use.

     > pico index.php 

  5. Use the editor to insert some HTML into the file, a simple HTML content is shown below.

        <html>       <head>           <title> This is my first page </title>       </head>       <body>          <h1> My first page</h1>          <?php  echo "<p>Hello World </p>" ?>       </body>    </html>

  6. Save the file and return to the command line.
  7. Grant everyone (others) read access to the file you just created.

     > chmod o+r index.html

  8. Open a browser and point it to: http://cse.unl.edu/~login/index.php and you should see the file you just created.
  9. If you get an error, tail the /var/log/apache2/error_log (the tail command shows any new lines added to a file) while you try to access your page to see if there are any errors. If you don't see errors in error_log, you should tail /var/log/apache2/suphp.log as well and then try to access your page again to see if any errors are reported.

     > tail -f /var/log/apache2/error_log 

  10. If you still can't get your PHP program working, see if the student resource center can be of any assistance or send an email to support@cse.unl.edu and someone will help you identify the problem.
Common problem with setting up home pages
  • Your home directory and public_html directory must have world execute permissions.
  • Your html documents must be given world read access
  • Any images enclosed should have a path relative to your public_html directory. The image load will fail if you specify a full path to the image
  • To point to another file in your public_html directory, use a hypertext link of the following form
  • Tail the /var/log/apache2/error_log (The tail command shows any new lines added to a file) while you try to access your page to see if there are any errors.

     > tail -f /var/log/apache2/error_log 

Setting up a basic web page on cse.unl.edu
  1. Make sure you have read and setup the required directories and permission as described in FAQ section on Prerequisites for hosting a web page on cse.unl.edu
  2. Change your working directory to the public_html directory

     > cd ~/public_html

  3. Open a command line session to cse.unl.edu
  4. Use an editor like vi or pico to create the index.html file - refer to the FAQ pages on editors on cse.unl.edu. Pico being the simple unix editor to use.

     > pico index.html 

  5. Use the editor to insert some HTML into the file, a simple html content is shown below.

        <html>       <head>           <title> This is my first page </title>       </head>       <body>          <h1> My first page</h1>          <p> Hello World </p>       </body>    </html>       

  6. Save the file and return to the command line
  7. Grant everyone(others) read access to the file you just created

     > chmod o+r index.html

  8. Open a browser and point it to: http://cse.unl.edu/~login/index.html and you should see the file you just created.