Showing posts with label Debian. Show all posts
Showing posts with label Debian. Show all posts

Monday, February 11, 2013

Installing the Nvidia Kernel module

As root type
# apt-get install module-assistant nvidia-kernel-common
# m-a auto-install nvidia-kernel${VERSION}-source
# apt-get install nvidia-glx${VERSION} 
and reboot
 
Source: http://wiki.debian.org/NvidiaGraphicsDrivers

Saturday, February 9, 2013

GNU Screen Command





[CONTEXT]
Window manager that multiplexes a physical terminal between several processes, typically interactive shells.

[WHEN]
Pair remote programming/assistance. Using the multiuser mode to do pair programming or create a teaching environment.

[HOW]
sudo apt-get install screen

1. Change user to the username you want to allow screen access

2. To start up screen:
  screen -S sessionname

3. Now instruct the second/remote user to SSH connect to your host/IP and to attach to the screen
  screen -x sessionname


Both will be able to interact in the same session.


[REFERENCES]
http://www.gnu.org/software/screen

GNU Privacy Guard (GPG)


[CONTEXT]
Encryption and Signing

[WHEN]
apt-get update

[ERROR]
GPG error: The following signatures were invalid KEYEXPIRED 1337087218
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA

[SOLUTION]
apt-get install debian-archive-keyring

[REFERENCES]
http://wiki.debian.org/Keysigning

Thursday, February 7, 2013

root with X access

Using Debian Squeeze and others older versions, the root cannot execute X programs from a x-console (like kde-konsole or gnome-terminal).

To allow this just edit your root's .baschrc and add this line

export XAUTHORITY=/home/$SOME_USER/.Xauthority

where  SOME_USER is replaced by a user with X access.

Jacksense in Debian

In Debian squeeze the jacksense in my laptop didn't work. Solution: I installed the latest Alsa driver. In Debian wheezy works fine.
Source: http://blog.netflowdevelopments.com/2011/11/19/switch-from-ubuntu-to-debian-and-now-jacksense-doesnt-work/

Wednesday, February 6, 2013

My first post... I really like Linux

I like to use Linux a lot, and my favorite distro is Debian, most of my post of this blog will be my experience on my computers using Debian wheezy.
The idea is to write and share a diary based on the configuration problems that me and some friends have faced installing and configuring programs in Linux, and how to solve this issues.



Installing Kernel header packages in Debian

Just type in a console as root user:

aptitude install linux-headers-$(uname -r)

and this command will install the header of your current kernel