Problems with GNOME starting, no window manager
This started when my computer locked up and I forced the power off. GNOME wouldn't start correctly. I tried removing session files and the like, and it kind of works now, but I still have to start metacity manually. I've been using GNOME failsafe for a week or so.
http://
Several others on the thread report similar issues that were solved by removing the splash screen.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Omegatron
- Solved:
- Last query:
- Last reply:
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
Have you tried reinstalling the ubuntu-desktop metapackage?
Revision history for this message
|
#3 |
Most settings should be in your home directory.
And if there are some outside, better correct them if they are corrupted.
Revision history for this message
|
#4 |
I reinstalled the ubuntu-desktop package. There is still no window manager in the default session, but the failsafe session works fine.
Revision history for this message
|
#5 |
Were all the dependancies installed correctly?
Revision history for this message
|
#6 |
What does that mean? I marked it for reinstallation in Synaptic. Should I completely remove it and then reinstall?
Revision history for this message
|
#7 |
ubuntu-desktop is just a metapackage. Installing or removing it doesn't do anything on its own. But installing it should force a number of packages, which are dependancies of it, to be installed.
Most probably you need to remove it, then do a sudo apt-get autoremove and then a sudo apt-get install ubuntu-desktop.
The second step is to ensure that all dependancies are also removed.
Otherwise do a reinstall, but the best would be to do it package by package (thats quite a list....):
acpi
acpi-support
acpid
alacarte
anacron
apmd
avahi-autoipd
avahi-daemon
bc
cdparanoia
cupsys
cupsys-bsd
cupsys-client
cupsys-
dc
dcraw
desktop-effects
desktop-file-utils
doc-base
dvd+rw-tools
eog
esound
evince
evolution-webcal
file-roller
foo2zjs
foomatic-db
foomatic-db-engine
foomatic-db-hpijs
foomatic-filters
fortune-mod
gcalctool
gconf-editor
gdebi
gdm
gedit
genisoimage
gimp-python
gnome-about
gnome-app-install
gnome-applets
gnome-btdownload
gnome-control-
gnome-cups-manager
gnome-icon-theme
gnome-keyring-
gnome-media
gnome-menus
gnome-netstatus
gnome-nettool
gnome-panel
gnome-pilot-
gnome-power-manager
gnome-session
gnome-spell
gnome-system-
gnome-system-tools
gnome-terminal
gnome-themes
gnome-utils
gnome-volume-
gs-esp-x
gstreamer0.10-alsa
gstreamer0.10-esd
gstreamer0.
gthumb
gtk2-engines
gtk2-engines-pixbuf
gucharmap
hal
hal-device-manager
hotkey-setup [not powerpc]
hwdb-client-gnome
language-selector
lftp
libgl1-mesa-glx
libglut3
libgnome2-perl
libgnomevfs2-bin
libgnomevfs2-extra
libnss-mdns
libpam-foreground
libpt-plugins-v4l
libpt-plugins-v4l2
libsasl2-modules
libstdc++5 [i386]
libxp6
metacity
min12xxw
nautilus
nautilus-cd-burner
nautilus-sendto
notification-daemon
openprinting-ppds
pbbuttonsd [powerpc]
pnm2ppa
powermanagement
readahead
rss-glx
screen
screensaver-
scrollkeeper
serpentine
slocate
smbclient
sound-juicer
ssh-askpass-gnome
synaptic
tangerine-
tango-icon-theme
tango-icon-
tsclient
ttf-bitstream-vera
ttf-dejavu
ttf-freefont
ubuntu-artwork
ubuntu-sounds
unzip
update-notifier
usplash
usplash-
vino
wodim
wvdial
x-ttcidfont-conf
xkb-data
xorg
xsane
xscreensaver-data
xscreensaver-gl
xterm
xvncviewer
yelp
zenity
zip
Otherwise just try reinstalling metacity.
Revision history for this message
|
#8 |
Metacity works fine. There's something wrong with Gnome's session.
These commands don't do anything that reinstalling in Synaptic doesn't do:
sudo apt-get remove ubuntu-desktop
sudo apt-get autoremove
sudo apt-get install ubuntu-desktop
Revision history for this message
|
#9 |
This is a Feisty system upgraded from Edgy, if that helps with the dependencies.
Revision history for this message
|
#10 |
Then I did:
sudo apt-get remove metacity
sudo apt-get autoremove
sudo apt-get install metacity
it removed metacity and ubuntu-desktop, then added them back. still not working on login.
Revision history for this message
|
#11 |
Can you paste here the content of your /var/log/syslog and ~/.xsession-errors files?
Revision history for this message
|
#12 |
syslog:
May 14 07:38:10 Inspiron syslogd 1.4.1#20ubuntu4: restart.
May 14 07:38:10 Inspiron anacron[824]: Job `cron.daily' terminated (mailing output)
May 14 07:38:10 Inspiron anacron[824]: Can't find sendmail at /usr/sbin/sendmail, not mailing output
May 14 07:38:10 Inspiron anacron[824]: Normal exit (1 job run)
May 14 07:48:47 Inspiron -- MARK --
May 14 08:08:47 Inspiron -- MARK --
May 14 08:17:01 Inspiron /USR/SBIN/
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:27:46 Inspiron NetworkManager: <information>
May 14 08:48:47 Inspiron -- MARK --
May 14 09:05:11 Inspiron gconfd (omegatron-5777): Exiting
May 14 09:06:28 Inspiron gconfd (omegatron-3489): starting (version 2.18.0.1), pid 3489 user 'omegatron'
May 14 09:06:28 Inspiron gconfd (omegatron-3489): Resolved address "xml:readonly:
May 14 09:06:28 Inspiron gconfd (omegatron-3489): Resolved address "xml:readwrite:
May 14 09:06:28 Inspiron gconfd (omegatron-3489): Resolved address "xml:readonly:
May 14 09:06:28 Inspiron gconfd (omegatron-3489): Resolved address "xml:readonly:
May 14 09:06:28 Inspiron gconfd (omegatron-3489): Resolved address "xml:readonly:
May 14 09:06:30 Inspiron gconfd (omegatron-3489): Resolved address "xml:readwrite:
May 14 09:06:35 Inspiron NetworkManager: <information>
-------
xsession-errors:
/etc/gdm/
/etc/gdm/
/etc/gdm/Xsession: Beginning session setup...
SESSION_
Initializing gnome-mount extension
** (gsynaptics-
evolution-
evolution-
evolution-
Unknown parameter CoastingSpeedTh
Debug: Loading Beagle.
Debug: Loading Beagle.
Debug: Loading Beagle.
** (nautilus:3508): WARNING **: Can not caclulate _NET_NUMBER_
** (nautilus:3508): WARNING **: Can not calculate _NET_NUMBER_
** (nautilus:3508): WARNING **: Can not get _NET_WORKAREA
** (nautilus:3508): WARNING **: Can not determine workarea, guessing at layout
alarm-notify.c:368 (alarm_notify_new) - Alarm Notify New
alarm-notify.c:304 (alarm_
alarm-notify.c:243 (alarm_notify_init) - Initing Alarm Notify
alarm-queue.c:1875 (alarm_queue_init)
alarm-queue.c:218 (queue_
alarm-notify.c:220 (load_calendars) - Loading Calendar file://
alarm-notify.c:456 (alarm_
alarm-notify.c:220 (load_calendars) - Loading Calendar contacts:///
alarm-notify.c:456 (alarm_
alarm-notify.c:220 (load_calendars) - Loading Calendar file://
alarm-notify.c:456 (alarm_
alarm-notify.c:220 (load_calendars) - Loading Calendar file://
alarm-notify.c:456 (alarm_
alarm-notify.c:393 (cal_opened_cb) contacts:/// - Calendar Status 0
alarm-queue.c:2057 (alarm_
alarm-notify.c:393 (cal_opened_cb) file://
alarm-queue.c:2057 (alarm_
alarm-notify.c:393 (cal_opened_cb) file://
alarm-queue.c:2057 (alarm_
alarm-notify.c:349 (alarm_
alarm-queue.c:2008 (alarm_
alarm-queue.c:560 (load_alarms_
to Mon May 14 09:06:39 2007
alarm-queue.c:497 (load_alarms)
alarm-queue.c:526 (load_alarms) - Setting Call backs
alarm-notify.c:337 (alarm_
alarm-notify.c:349 (alarm_
alarm-queue.c:2008 (alarm_
alarm-queue.c:560 (load_alarms_
to Mon May 14 09:06:39 2007
alarm-queue.c:497 (load_alarms)
alarm-queue.c:526 (load_alarms) - Setting Call backs
alarm-notify.c:337 (alarm_
alarm-notify.c:349 (alarm_
alarm-queue.c:2008 (alarm_
alarm-queue.c:560 (load_alarms_
to Mon May 14 09:06:39 2007
alarm-queue.c:497 (load_alarms)
alarm-queue.c:526 (load_alarms) - Setting Call backs
alarm-notify.c:337 (alarm_
alarm-notify.c:393 (cal_opened_cb) file://
alarm-queue.c:2057 (alarm_
alarm-notify.c:3** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
Revision history for this message
|
#13 |
>** (nautilus:3508): WARNING **: Can not calculate _NET_NUMBER_
>** (nautilus:3508): WARNING **: Can not get _NET_WORKAREA
>** (nautilus:3508): WARNING **: Can not determine workarea, guessing at layout
Looks like you have a pretty broken system. Have you tried without session manager?
From a terminal the command is : metacity --sm-disable --replace
Other than a complete reinstall I would not know what else to do.
Revision history for this message
|
#14 |
What do you mean by "tried without session manager"?
Revision history for this message
|
#15 |
The GNOME session manager starts a session in 5 phases: Initialization, WindowManager, Panel, Desktop, and Applications.
The session manager won't start a new phase until the current phase is finished.
I believe that since you have an initialisation problem (Initialization), metacity (WindowManager) is never started.
To check that this is the case you need to disable the sm and start metacity which is done via the command I was giving you (actually, most probably --replace is not even needed).
This is just a check to verify if this hypotesis is correct. To solve the initialisation problem the only solution I can see is to reinstall everything from scratch (unless you want to go through all configuration files and setting and try a manual recovery).
Revision history for this message
|
#16 |
Well, as I said, Gnome failsafe works fine. I'm not sure what's in the standard session that's not in the failsafe session, but if I could somehow revert it to the default, that would be great.
I originally had a problem with the "less than 10 second session" window popping up and crashing if I clicked "Ok", and that seems to have been fixed since I deleted ~/.gnome2/session and ~/.gconfd/
Starting metacity by hand works fine. I don't know what --sm-disable does, but I'll try it when I get a chance. Would that fix the session for good or just start metacity once for that session?
Revision history for this message
|
#17 |
If you want to know about the inner workings of the gdm, I suggest you have a look at this:
http://
In chapter 3 you can also find some info about gdm.conf and (re)generation of configuration files which may help you with your problem.
Revision history for this message
|
#18 |
I tried reading through that, but it's not going anywhere. I just want to know how to reset my session.
Revision history for this message
|
#19 |
You can try checking/editing your configuration file with sudo gdmsetup, but I doubt this will solve your problem (which I believe is in the various .desktop-style files).
At this point in time the best advise I can give you is to reinstall 7.04 from scratch.
Revision history for this message
|
#20 |
I had the same problem. I think it started after I installed the gtk gui library.
However, renaming the ~/.gnome2/sessions file to something like ~/.gnome2/
Revision history for this message
|
#21 |
Yeah, I already tried renaming ~/.gnome2/session and restarting X, but it does not fix the problem for the normal session.
Revision history for this message
|
#22 |
If I enable desktop effects and log out and log in, the Window manager (compiz?) starts on login. If I then disable it, it returns to normal metacity. If I log out and back in, though, metacity still doesn't load.
Revision history for this message
|
#23 |
I think this may have been fixed by the latest update! (Bug #106350)
Revision history for this message
|
#24 |
I tried relogging in a bunch of different ways and it seems to be fixed. Hooray!
Revision history for this message
|
#25 |
Hello,
I have simmilar problem, after power gone out and computer turned off while working.
amd64, ubuntu 7.10 fresh install
crash/fail to log into GNOME, but GNOME failsafe works