Jump the navigation

Math Lab FAQ

This page comprises of a list of Frequently Asked Questions that students have asked. If you have questions that you think should be included here, please mail them to csmath.ilt@whitman.edu

Additional detailed information concerning operations in the labs can be found via the Computer Science Lab Manual.

Google Chrome is open on another session

File locking typically is a safety mechanism to ensure a file can be written to and read from by multiple processes. Google Chrome typically makes a file lock as a symbolic link to the process ID on a specific workstation host. If that link resolves to a process, then a new instance of Google Chrome does not get opened. However, the symbolic link may not have been properly written. Here's how to fix that.


Terminal Fix:


A simple command to delete this lock file will do the trick:

rm /home/$USER/.config/google-chrome/SingletonLock

The $USER variable will be expanded to be the username of the user who executed the command.


File Manager Fix:


Alternatively, a user can use the file manager to navigate to /home/$USER/.config/google-chrome/ and remove the SingletonLock file.

Firefox will notify a user if it believes there is another session open on a different computer. This may be the case if the previous session did not terminate gracefully.

Firefox Error Popup

The popup that Firefox will show may have the text "Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile."

Terminal Fix

The files to delete are located within the user's profile directory  /home/$USER/.mozilla/firefox/*.default/ where * is a fuzzy match for Firefox's profile hash. The specific files to delete are lock and .parentlock. This one line command should remove those files:

rm /home/$USER/.mozilla/firefox/*.default*/lock

Alternately, if the prior command doesn't work, one can try to delete all files in a user's home directory that contain the string ending with 'lock' with the following command:

find ~ -type f -name "*[l|L]ock" -delete

File manager fix

In your preferred file manager, you are able to navigate to the directory which holds the lock on Firefox in /home/$USER/.mozilla/firefox/*.default/  Since it is difficult to know what the user profile's hash is; whether they are using a default profile versus a custom profile, it is recommended to go to each folder that has default  or default-release appended.

Faced with the prospect of either putting too little on a line or too much, TeX puts too much and warns you about it. If you view the output, you should see a line that runs into the right hand margin; it will also be marked with a thick black bar in the right margin (you may have to scroll the view window to the right to see it). Sometimes the problem is that you have done something genuinely wrong; for example, if you accidentally put too much stuff in math mode (between dollar signs), TeX may not find a good place to break the line, because TeX tries to avoid breaking a line in the middle of a formula. At other times, it may be that a long word or mathematical formula happens to occur right at a desirable place for a line break. In this case you can usually rewrite the sentence slightly so the line can be accommodated. It may also be that the long word can be hyphenated, but that TeX doesn't know how to do it. In this case you can insert information telling TeX where it is acceptable to hyphenate the word. Put '\-' at every place in the word that a hyphen is acceptable, like this: ab\-at\-toir. DON'T put hyphens without the '\' in the word, as they will be inserted no matter what.

The Linux Labs are standardized with the same authentication provider as myWhitman. In other words, your Whitman login and password are the same.

If you know your password and would like to change it, the fastest method would be to use myWhitman's Password Changing tool at: https://my.whitman.edu/whitman-password

beaker duck hiker icon-a-to-z icon-arrow-circle-down icon-arrow-circle-up icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow-up icon-calendar-no-circle icon-calendar icon-camera icon-clock icon-cv icon-dot icon-down-triangle icon-email-circle icon-email icon-external-link icon-facebook icon-flickr icon-generic-blog icon-google-plus icon-home icon-instagram icon-library icon-link-circle icon-link-inverted icon-linkedin icon-lock icon-magazine icon-map-pin icon-map2 icon-menu-hamburger icon-menu-mobile-a icon-menu-mobile-b icon-menu-x icon-mywhitman-cog icon-news icon-phone icon-pinterest icon-play icon-quote icon-search-a icon-search-b icon-search-mobile-a icon-search-mobile-b icon-share icon-snail-mail icon-tumblr icon-twitter icon-vimeo icon-youtube logo-whitman-nc-flat logo-whitman-nc-stacked logo-whitman-no-clocktower slider-category-arrow-2px slider-category-arrow-no-line slider-category-arrow-solid slider-category-arrow slider-category-line-2px slider-category-line-solid slider-category-line tc_icon-filmstrip-fl tc_icon-filmstrip-ln tc_icon-play-fl-closed tc_icon-play-fl-open tc_icon-play-ln-closed tc_icon-play-ln-open wifi