Computing Tips and Frequently Asked Questions
This page hopes to be a nice list of computing tidbits that many will find useful.On this page:
- AFS space, and authentication tokens explained
- Login Issues
- Spam Filtering
- My computer, upon booting, says it cannot start the X server
AFS space, and authentication tokens explained
When you login to a realm machine, you are given 'tokens' to access parts of AFS, mainly your home directory, but also software lockers. These tokens expire after about 10 hours, which means you will no longer be able to access anything in AFS. It's important not to let your tokens expire while you're logged in, you will find access to your home directory cut off, and the computer generally unusable. Fortunately, there are a couple commands to help out the situation.A couple of helpful commands are:
- tokens - Shows your current tokens and when they expire
- kreset - Gets new tokens or resets your current tokens. Use this to increase the time before they expire. Use kreset -l to increase the expiration time to a maximum of 21 hours.
Login Issues
Check out the link above if you're having trouble logging in to your workstation.Spam Filtering
NCSU runs a spam filter on the mail servers, all you have to do is set your client to toss the messages that the servers have flagged as spam. Below are instructions on setting up the filter server-side, as well as for evolution and thunderbird. Server Side (perfered method)This will work regardless of the email client you use because it filters spam on the server as soon as it arrives in your inbox. To do this, login to webmail at webmail.ncsu.edu. Once logged in, go to "Options" at the top, and then choose "Server-Side Message Filters". You'll want to add a new rule. Specify the type as "Header Match". Under the header to match find "X-Spam-Flag" and for what to match enter "YES". Then for the action, specify either to move it to a junk/spam folder, or to delete it, your choice. Press "Add New Rule" and you're done. Evolution
Go under Tools to Filters. Press the Add button. Make a name for the rule, such as "spam". Under the rule "If" section, set it to "Specific header" "X-Spam-Flag" "contains" "YES". Under the "Then" section, set it to move it to a folder of your choice, or to delete it. Thunderbird
Go under Tools to Message Filters. Click the New button. Give the filter a name, such as "spam". Under the first condition box, go to "Customize". Type "X-Spam-Flag" in the box and hit add, then hit OK. Now select "X-Spam-Flag" from that same menu. Second box is "Contains". Third box, type "YES".
Then choose an appropriate action for the message, such as moving it to the spam folder.
My computer, upon booting, says it cannot start the X server
A few computers around BOM (and possibly elsewhere) have nVidia graphics cards, which require a special binary driver to be compiled each time the kernel is updated. When this happens, the graphics driver is supposed to rebuild itself automatically, however this often fails resulting in the blue error screen you see.The fix is relatively simple, delete the trigger file "/usr/share/nvidia/run". This will cause the nvidia drivers to get rebuilt the next time the computer boots.
If you have sudo access to your machine, log in on one of the virtual terminals (Ctrl-Alt-F1) and type "sudo rm /usr/share/nvidia/run". Then type "sudo /sbin/shutdown -r now" to restart the computer.
If you don't have sudo, send an email to the help desk, or directly to me (or come and find me) and I can fix it, usually immediately.
If this isn't the cause of the X server refusing to start, send in a help call to pyhelp at pams dot ncsu dot edu
