Showing posts with label X. Show all posts
Showing posts with label X. 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

Sunday, February 10, 2013

Normal users can't connect to X

Suddenly, my user  can't login into X sever, and I got the following error in the file /var/log/Xorg.0.log

[   157.920] (EE) Error compiling keymap (server-0)
[   157.920] (EE) XKB: Couldn't compile keymap
[   157.920] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[   157.944] (EE) Error compiling keymap (server-0)
[   157.944] (EE) XKB: Couldn't compile keymap
[   157.944] XKB: Failed to compile keymap
[   157.944] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
[   157.944]

Just login in a console as root (e.g. atl+f1) and type

#chmod ug+rwx,o+rwt /tmp

then reboot
Source:

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.