gnome fails to start after upgrade

Joe Marcus Clarke marcus at marcuscom.com
Mon Nov 14 20:14:32 PST 2005


On Mon, 2005-11-14 at 23:10 -0500, andy at neu.net wrote:
> 
> On Sun, 13 Nov 2005, Joe Marcus Clarke wrote:
> 
> > On Mon, 2005-11-07 at 18:59 -0500, andy at neu.net wrote:
> > > I just finsihed running the 2.12 upgrade script on 6.0 release, it
> > > reported that it
> > > finished sucessfully.  However, after a reboot Gnome will not start.  I
> > > had gnome_enable in rc.conf, and when it boots I get the following error
> > > on the console:
> > > Nov  7 16:05:47 alum gdm[668]: failsafe dialog failed (inhibitions: 0 1)
> > > Nov  7 16:05:47 alum gdm[668]: failsafe dialog failed (inhibitions: 1 1)
> > > Nov  7 16:05:51 alum gdm[686]: failsafe dialog failed (inhibitions: 0 0)
> > > Nov  7 16:05:51 alum gdm[686]: failsafe dialog failed (inhibitions: 0 1)
> > > Nov  7 16:05:51 alum gdm[686]: failsafe dialog failed (inhibitions: 1 1)
> > > Nov  7 16:05:59 alum gdm[704]: failsafe dialog failed (inhibitions: 0 0)
> > > Nov  7 16:05:59 alum gdm[704]: failsafe dialog failed (inhibitions: 0 1)
> > > Nov  7 16:05:59 alum gdm[704]: failsafe dialog failed (inhibitions: 1 1)
> > >
> > > If I issue  /usr/X11R6/bin/gnome-session from a prompt I get:
> > > (gnome-session:1035): Gtk-WARNING **: cannot open display:
> > >
> > > So, I removed gdm_enable from rc.conf.  I am able to get into an xwindow
> > > environment by typing startx. Then when I am in xwindows if I issue
> > > /usr/X11R6/bin/gnome-session, Gnome will open in many different xwindows.
> > >
> > >  The following is from .xsession-errors:
> > >
> > > /usr/X11R6/etc/gdm/PreSession/Default: Registering your session with wtmp
> > > and utmp
> > > /usr/X11R6/etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a
> > > -w /var/log/wtmp -u /var/run/utmp -x
> > > "/usr/X11R6/share/gnome/gdm/:0.Xservers" -h "" -l ":0" "ro
> > > ot"
> > > /usr/X11R6/etc/gdm/Xsession: Beginning session setup...
> > > /usr/X11R6/etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent
> > > -- gnome-session
> > > SESSION_MANAGER=local/alum.foo.bar:/tmp/.ICE-unix/519
> > > /dev/dsp: No such file or directory
> > > /dev/dsp: No such file or directory
> > > esd: Esound sound daemon already running or stale UNIX socket
> > > /tmp/.esd/socket
> > > This socket already exists indicating esd is already running.
> > > Exiting...
> > > /dev/dsp: No such file or directory
> > > /dev/dsp: No such file or directory
> > > /dev/dsp: No such file or directory
> > > /dev/dsp: No such file or directory
> > > /dev/dsp: No such file or directory
> > > /dev/dsp: No such file or directory
> > > ** (gnome-session:519): WARNING **: Esound failed to start.
> > >
> > > Gnome-Message: gnome_execute_async_with_env_fds: returning -1
> > > Gnome-Message: gnome_execute_async_with_env_fds: returning -1
> > > Gnome-Message: gnome_execute_async_with_env_fds: returning -1
> > > /dev/dsp: No such file or directory
> > > /dev/dsp: No such file or directory
> > > ** (gnome-panel:815): WARNING **: Failed to add file monitor for
> > > file:///root/.gtk-bookmarks: Unsupported operation
> > >
> > >
> > > ** (gedit:829): CRITICAL **: bonobo_mdi_set_restoring_state: assertion
> > > `priv->restoring_state && restoring_state' failed
> > > /dev/dsp: No such file or directory
> > > /dev/dsp: No such file or directory
> > > /dev/dsp: No such file or directory
> > >
> > > ** (gedit:829): CRITICAL **: bonobo_mdi_set_restoring_state: assertion
> > > `priv->restoring_state && restoring_state' failed
> > >
> > > (Gecko:889): Gdk-WARNING **: gdk_property_get(): length value has wrapped
> > > in calculation (did you pass G_MAXLONG?)
> > > Window manager warning: Broken client! Window 0x2200019 (cvsup) changed
> > > client leader window or SM client ID
> > > Window manager warning: Broken client! Window 0x2200019 (cvsup) changed
> > > client leader window or SM client ID
> > > /dev/dsp: No such file or directory
> > >   id: 102190883c000113104947600000005230000
> > >   handle: 9
> > >   connection: 0x80a6400
> > >   properties:
> > >     ((name "RestartStyleHint") (type "CARD8") (value "^B"))
> > >     ((name "_GSM_Priority") (type "CARD8") (value "^@"))
> > >     ((name "Program") (type "ARRAY8") (value "gnome-smproxy"))
> > >     ((name "DiscardCommand") (type "LISTofARRAY8") (value "rm") (value
> > > "/root/.gnome2//.gnome-smproxy-GZcdDY"))
> > >     ((name "CloneCommand") (type "LISTofARRAY8") (value "gnome-smproxy")
> > > (value "--sm-config-prefix") (value "/.gnome-smproxy-GZcdDY/"))
> > >     ((name "RestartCommand") (type "LISTofARRAY8") (value "gnome-smproxy")
> > > (value "--sm-config-prefix") (value "/.gnome-smproxy-GZcdDY/") (value
> > > "--sm-client-id") (value
> > >  "102190883c000113104947600000005230000"))
> > >   id: 102190883c000113104947600000005230001
> > >   handle: 10
> > >   connection: 0x8131000
> > >   properties:
> > >     ((name "DiscardCommand") (type "LISTofARRAY8") (value "rm") (value
> > > "-f") (value "/root/.metacity/sessions/1131072252-893-3445051405.ms"))
> > >     ((name "CloneCommand") (type "LISTofARRAY8") (value "metacity"))
> > >     ((name "RestartCommand") (type "LISTofARRAY8") (value "metacity")
> > > (value "--sm-save-file") (value "1131072252-893-3445051405.ms"))
> > >     ((name "Program") (type "ARRAY8") (value "metacity"))
> > >     ((name "UserID") (type "ARRAY8") (value "root"))
> > >     ((name "RestartStyleHint") (type "CARD8") (value "^B"))
> > >     ((name "ProcessID") (type "ARRAY8") (value "813"))
> > >     ((name "CurrentDirectory") (type "ARRAY8") (value "/root"))
> > >     ((name "_GSM_Priority") (type "CARD8") (value "^T"))
> > >   id: 102190883c000113104947700000005230002
> > >   handle: 6
> > >   connection: 0x8131980
> > >   properties:
> > >     ((name "CurrentDirectory") (type "ARRAY8") (value "/root^@"))
> > >     ((name "ProcessID") (type "ARRAY8") (value "815^@"))
> > >     ((name "Program") (type "ARRAY8") (value "gnome-panel^@"))
> > >     ((name "CloneCommand") (type "LISTofARRAY8") (value "gnome-panel")
> > > (value "--sm-config-prefix") (value "/gnome-panel-AxvXcI/"))
> > >     ((name "RestartCommand") (type "LISTofARRAY8") (value "gnome-panel")
> > > (value "--sm-config-prefix") (value "/gnome-panel-AxvXcI/") (value
> > > "--sm-client-id") (value "102
> > > 190883c000113104947700000005230002") (value "--screen") (value "0"))
> > >     ((name "UserID") (type "ARRAY8") (value "root^@"))
> > >     ((name "RestartStyleHint") (type "CARD8") (value "^B"))
> > >     ((name "_GSM_Priority") (type "CARD8") (value "("))
> > >   id: 102190883c000113104947700000005230003
> > >   handle: 7
> > >   connection: 0x8131b00
> > >   properties:
> > >     ((name "CurrentDirectory") (type "ARRAY8") (value "/root^@"))
> > >     ((name "ProcessID") (type "ARRAY8") (value "817^@"))
> > >     ((name "Program") (type "ARRAY8") (value "nautilus^@"))
> > >     ((name "CloneCommand") (type "LISTofARRAY8") (value "nautilus") (value
> > > "--sm-config-prefix") (value "/nautilus-fWQu53/"))
> > >     ((name "RestartCommand") (type "LISTofARRAY8") (value "nautilus")
> > > (value "--sm-config-prefix") (value "/nautilus-fWQu53/") (value
> > > "--sm-client-id") (value "102190883
> > > c000113104947700000005230003") (value "--screen") (value "0"))
> > >     ((name "UserID") (type "ARRAY8") (value "root^@"))
> > >     ((name "_GSM_Priority") (type "CARD8") (value "("))
> > >     ((name "RestartStyleHint") (type "CARD8") (value "^B"))
> > >   id: 102190883c000113104947700000005230004
> > >   handle: 4
> > >
> > > Is there any more info that would be helpful in debugging this problem?
> > > What else should I do to troubleshoot this issue?
> > > Any and all help is appreciated.
> >
> > Try copying /usr/X11R6/etc/gdm/factory-gdm.conf
> > to /usr/X11R6/etc/gdm/gdm.conf, and see if that fixes GDM for you.
> >
> > Joe
> >
> >
>  Joe:
> 
> Thanks for the suggestion, however it did not work.  I think the problem
> is that the framebuffer device (fbdev) is missing.  What is fbdev, how
> does it get installed, is there a procedure to fix it if it breaks?  When
> I type /usr/X11R6/bin/gnome-session on the command line, I get back the
> following:
> 
> (gnome-session:599) : Gtk WARNING **: cannot open display:

You can't do this!  You need an X server running first.  If you run
startx, then run gnome-session from an xterm, it should work.  As to why
GDM is not working, I can't help you.  It works for me with the default
configuration.

> 
> I followed the upgrade instructions, and the upgrade completed
> successfully.  This is the second time I have had this happen on this
> upgrade.  I did not see anything in the documentation about this.  Is
> there a step that I missed somewhere?  Has anyone else had this problem?
> What else can I try, I have another box that I need to upgrade?

Following the instructions worked for me.  I use gdm, and I have never
had this problem.

> 
> Also, I have a question about packages.  Installing gnome is really easy
> when you can issue "pkg_add -r gnome2".  I do not want to track the
> developemnt branch, how do you know when you can use pkg_add and get 2.12?

Consult the FAQ: http://www.freebsd.org/gnome/docs/faq2.html#q21

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20051114/05997c67/attachment.bin


More information about the freebsd-gnome mailing list