Definite's Extractor

My findings on Life, Linux, Open Source, and so on.

/etc/gdm/Xsession (Ubuntu)

My gnome-session stoped working after

  1. /etc/profile was modified.
  2. SCIM was uninstalled.
  3. GCIN was installed.

Precisely, the /etc/gdm/Xseesion default failed. I have no idea which of these lead to that problem. The error message in .xsession-error was very simple:

/etc/gdm/Xsession: Beginning session setup… /etc/gdm/Xsession: Executing default failed, will try to run x-terminal-emulator

After some intensive tracing, the problem appeared to be resulted from the fail to execute the line

. $SESSIONFILE The solution? Change the first line, from

#!/bin/sh

to

#!/bin/bash

And that’s it.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: