Posts Tagged Gnome

Error installing Gnome-Shell on Debian (Failed to load session “gnome”)

A couple of friends insisted me in installing Gnome-Shell, so I installed it to see how good it is and because I didn’t want to feel excluded. I had to upgrade my Debian from stable to testing and install gnome-shell by typing:

aptitude install gdm3 gnome-shell

After upgrading, I rebooted the PC and tried to log in to Gnome’s session, but I got the error Failed to load session “gnome” as shown in the above picture. After commenting this to one of my friends he said it could be related to my graphic card, and indeed  it was. So, I checked what graphic card I have:

root@buckbeak:~# lspci | grep -i vga
01:00.0 VGA compatible controller: nVidia Corporation G86 [GeForce 8400M GS] (rev a1)

Searching on Internet I came acrssos the Debian’s nVidia driver page for this card, and lucky me, It is listed. So I had to install these packages:

aptitude install nvidia-glx nvidia-xconfig

But the X server is not set up to load the nVidia driver by default, so I had to run the command:


This will create the file /etc/X11/xorg.conf (remember that newer distros don’t have this file by default ) with all the information needed to load the nVidia driver, in particular this section:

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"

After that, I rebooted the computer and I could log in to the Gnome’s session:






How to delete the Examples folder on Ubuntu Netbook Edition

Examples folder

Ubuntu Netbook Edition comes by default with an example folder where you’ ll find example files for video, audio and other documents. It’ s interesting to have it for testing purposes but when you know every thing is alright, and for making some room on the screen, you can delete that Example folder.

But this folders is not such, it’s sort of a shortcut. In order to delete it open a terminal in your home directory and list its content:

rebeca@germione:~$ ls -l

drwxr-xr-x 2 rebeca rebeca 4096 2010-07-15 13:16 Download
drwxr-xr-x 2 rebeca rebeca 4096 2010-07-15 13:16 Documents
drwxr-xr-x 2 rebeca rebeca 4096 2010-07-15 13:16 Desktop
-rw-r--r-- 1 rebeca rebeca  179 2010-07-15 12:58 examples.desktop
drwxr-xr-x 2 rebeca rebeca 4096 2010-07-15 21:26 Pictures
drwxr-xr-x 2 rebeca rebeca 4096 2010-07-15 13:16 Music
drwxr-xr-x 2 rebeca rebeca 4096 2010-07-15 13:16 Templates
drwxr-xr-x 2 rebeca rebeca 4096 2010-07-15 13:16 Público
drwxr-xr-x 2 rebeca rebeca 4096 2010-07-15 13:16 Videos

This shortcut is made by examples.desktop file. Just delete this file:

rebeca@germione:~$ rm examples.desktop

Now the that folder Examples shouldn’t appear any more:

Examples folder no more

, ,


Unloking Gnome-Keyring in Slim

unlock default keyring

I use Slim as my login manager because it’s lighter than GDM or KDM. In the other hand, I use Xfce because it’s lighter than Gnome or KDE. And finally, I use nm-applet to get connected to Internet (wired, wi-fi, or by mobile broadband).

The problem

Slim doesn’t unlock gnome-keyring, even though you add the following lines to the /etc/pam.d/slim file:

auth    optional
session optional  auto_start

These lines are suggested by the /usr/share/doc/libpam-gnome-keyring/README.Debian file, which is part of the libpam-gnome-keyring package. Thus, every time I login in nm-applet asks for unlock the default keyring.

The solution

You have to overwrite the /etc/pam.d/slim file with the following lines:

# The PAM configuration file for the SLiM graphical login manager

# Disallows other than root logins when /etc/nologin exists
# (Replaces the `NOLOGINS_FILE' option from login.defs)
auth       requisite

# This module parses environment configuration file(s)
# and also allows you to use an extended config
# file /etc/security/pam_env.conf.
# parsing /etc/environment needs "readenv=1"
session       required readenv=1
# locale variables are also kept into /etc/default/locale in etch
# reading this file *in addition to /etc/environment* does not hurt
session       required readenv=1 envfile=/etc/default/locale

# Standard Un*x authentication.
@include common-auth

# This allows certain extra groups to be granted to a user
# based on things like time of day, tty, service, and user.
# Please edit /etc/security/group.conf to fit your needs
# (Replaces the `CONSOLE_GROUPS' option in login.defs)
auth       optional

# Sets up user limits according to /etc/security/limits.conf
# (Replaces the use of /etc/limits in old login)
session    required

# Standard Un*x account and session
@include common-account
@include common-session
@include common-password

Next you log in into Xfce or any other desktop manager, your keyring will be unlocked.



No Comments

Aplicación multimedia por defecto en Gnome

Sorry, this entry is only available in Español.


No Comments