Ubuntu gnome session does not start

Nithin

Senior member
Dec 31, 2002
961
0
76
Any ideas how to debug this? No reply on ubuntu forums for this question.

I tried deleting all .gnome* folders and rebooting.

Thanks,
Nithin.

[Edit] .xsession-errors says, something about setuid and setgid. see 4 posts below.

[Edit2] I am able to login with a newly created user and this doesn't have any issues.
It prints the same setuid and setgid errors for that user too but it goes ahead.
 

accguy9009

Senior member
Oct 21, 2007
504
10
81
I had the same problem after installing 7.10 as a VM w/VirtualBox. Hal was not recognized either.
 

Nithin

Senior member
Dec 31, 2002
961
0
76
forgot to mention, if i run gnome-session in the xterm that opens, it works fine.
 

Nithin

Senior member
Dec 31, 2002
961
0
76
This is what it says.


(process:25315): Gtk-WARNING **: This process is currently running setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.

(process:25319): Gtk-WARNING **: This process is currently running setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: Executing /usr/bin/startkde failed, will try to run x-terminal-emulator

(gnome-terminal:25312): Vte-WARNING **: No handler for control sequence `device-control-string' defined.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
The setuid/setgid message is pretty straight forward but I don't know what would be setuid or setgid by default that shouldn't be.

The second message about startkde failing to start suggests that it's trying to start KDE instead of Gnome for that user.
 

Nithin

Senior member
Dec 31, 2002
961
0
76
yeah. i tried both. this log was with kde selected. if i select gnome it says "Executing gnome-session failed". Is there a log for gnome-session which can tell why it failed?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Well there's definitely something in your home directory that's causing it to fail since the new user works fine, what did you change recently?
 

Nithin

Senior member
Dec 31, 2002
961
0
76
no idea. this was a fresh install of ubuntu. i played around with desktop effects and nvidia driver settings. but it was working. and then suddenly
it stopped.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
No idea really, you might've found a genuine bug since that's not something that should be easily broken.
 

Robor

Elite Member
Oct 9, 1999
16,979
0
76
Originally posted by: Nithin
This is what it says.


(process:25315): Gtk-WARNING **: This process is currently running setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.

(process:25319): Gtk-WARNING **: This process is currently running setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: Executing /usr/bin/startkde failed, will try to run x-terminal-emulator

(gnome-terminal:25312): Vte-WARNING **: No handler for control sequence `device-control-string' defined.

I noticed similar errors when I was troubleshooting compiz-fusion...

robor007@RBelin-Ubuntu:~$ more .xsession-errors

(process:5688): Gtk-WARNING **: This process is currently running setuid or setg
id.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.

(process:5692): Gtk-WARNING **: This process is currently running setuid or setg
id.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.
 

Nithin

Senior member
Dec 31, 2002
961
0
76
apparently the setuid messages are ok. i get that even on a working gnome session.