Promote open source website
Debian website
debianPlanet package search apt-get howto apt-get sources debian weekly
HOME
LINUX TIPS
LINKS
TUTORIALS
DOWNLOADS
 
GUESTBOOK-SIGN
GUESTBOOK-VIEW
MAIL ME
 

Xsession: warning: unable to write to /tmp; X session may exit with an error

Sometimes apt causes that, don't know why but when it does

# apt-get clean

fixes it.

So before you go chasing those log files that may have grown out of control try this first it might save you a few headaches.

GPG error: ftp://ftp.nerim.net sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907

from a root shell

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 1F41B907

followed by

gpg --armor --export 1F41B907 | apt-key add -

should take care of this error message and enable apt to authenticate the debian-marillat repositories.

Couldn't find MIME type application/octet-stream.

KDE returns "Couldn't find MIME type application/octet-stream" at startup and/or Konqueror returns the same error message when launching whatever application.

Start the Control Center and open KDE Components/File Associations, you will see something like this
Expand "application", you will probably see that there's no entry for "octet-stream".
Click on "Add...", for "Group" select "application" and for "Type Name" fill in "octet-stream". This should fix it.

Adding Win32 codecs for mplayer.

If you're lucky and use a debian-based distro like Sidux just apt-get install w32codecs and you're good to go, if not this is how I used to do it a few years ago when I was still using the early Fedora releases.

First download the codec pack.

$ cd to dir where you saved the codec pack
$ tar jxvf w32codec.tar.bz2
$ cd to newly created dir with the codecs
$ su -m
$ password for root
# mkdir /usr/lib/win32

You're still in the dir with the codecs, right?

# cp *.* /usr/lib/win32

Gathering info on open ports.

$ nmap -sT -O localhost
If you see something suspicious you can check it with
$ netstat -anp | grep xxx
where xxx is the number of the port you want info about.