gnome-session failed

Bug #45951 reported by jedie
14
Affects Status Importance Assigned to Milestone
gnome-session (Ubuntu)
Confirmed
Medium
Ubuntu Desktop Bugs

Bug Description

My ~/.xsession-errors:
--------------------------------------------------------------------------
/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "jens"
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: Executing startxfce4 failed, will try to run x-terminal-emulator
--------------------------------------------------------------------------

GNOME failsafe works fine. I installed xubuntu, as a alternative. But XFCE doesn't start too.

Revision history for this message
jedie (launchpad-net-jensdiemer) wrote :

When i start gnome normal and the session-error comes, a xterm open. If i now start '''gnome-session''' manually, it starts fine! I appears some errors:
========================================
SESSION_MANAGER=local/jens-desktop:/tmp/.ICE-unix/6608

(gnome-panel:6626): GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion `dest_width > 0' failed
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
libnotify-Message: Unable to get session bus: Unable to determine the address of the message bus
Initializing nautilus-open-terminal extension

(gnome-panel:6626): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -47 and height 24
========================================

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. What version of Ubuntu do you use? Do you use GDM? What session did you pick? If you don't use GDM how do you start your session?

Changed in gnome-session:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
jedie (launchpad-net-jensdiemer) wrote :

I use dapper and the default GDM.

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you have ubuntu-desktop installed?

Revision history for this message
jedie (launchpad-net-jensdiemer) wrote :

yes, of course ;)

Revision history for this message
Edward Cho (조광일) (zerokarmaleft) wrote :

I'm running into the same problem here after a fresh Dapper install. From .xsession-errors:

/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "zerokarmaleft"
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: Executing default failed, will try to run x-terminal-emulator

Failsafe GNOME seems to be the only way to login to GNOME via GDM. Stopping GDM and starting X from the console also works without incident.

Revision history for this message
Edward Cho (조광일) (zerokarmaleft) wrote :

adding more info from /var/log/gdm/:0.log.1

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.12 i686
Current Operating System: Linux switters 2.6.15-23-686 #1 SMP PREEMPT Tue May 23 14:03:07 UTC 2006 i686
Build Date: 16 March 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 5 18:17:33 2006
(==) Using config file: "/etc/X11/xorg.conf"
error opening security policy file /etc/X11/xserver/SecurityPolicy
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : No such file or directory
error opening security policy file /etc/X11/xserver/SecurityPolicy
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : No such file or directory

Revision history for this message
Edward Cho (조광일) (zerokarmaleft) wrote :

As suggested in https://launchpad.net/bugs/48876, commenting out:

alias ls="ls --color"

in ~/.profile fixed this for me.

Changed in gnome-session:
status: Needs Info → Confirmed
Revision history for this message
jedie (launchpad-net-jensdiemer) wrote :

I have no file ~/.profile :(

I have create a complete new User, but i can't login as this new User: The same gnome-session error.

I start gnome-session always manually...

Revision history for this message
jedie (launchpad-net-jensdiemer) wrote :

Some tips for me?

I have still the same problem :(

Revision history for this message
spliffster (spliffster) wrote :

if your login shell is bash, check if you have a .bashrc file (just in case you are new to gnome, nautilus hides files starting with a dot, use CTRL+H to sho them).

altough i haven't checked, the same alias command in a .bashrc file would most probably cause the sameproblem, i guess the gnome-session command (or any associated script) is using ls instead of /bin/ls which causes this to happen.

also, if you are using another shell than bash/sh, you might want to look into the man page to see what startup files you shell uses (most probably not .profile).

Cheers,
-S

Revision history for this message
Matthew Wang (dotwayman) wrote :

It's a problem of the script /etc/gdm/Xsession. Please read
https://launchpad.net/distros/ubuntu/+source/gnome-session/+bug/48876

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.