Troubleshooting GNOME

If you can’t login, if your GNOME session crashes, if you fonts are garbled or you see no fonts at all, check the following files:

$HOME/.dt/startlog

% more $HOME/.dt/startlog
— Sun Jul 6 23:05:00 CEST 2008
— /usr/dt/bin/Xsession starting…
— starting /bin/true
— Xsession started by dtlogin
— starting /usr/dt/bin/dtsession_res -load -system
— sourcing /export/home/alekz/.dtprofile…
— sourcing /usr/dt/config/Xsession.d/0010.dtpaths…
— sourcing /usr/dt/config/Xsession.d/0015.sun.env…
— sourcing /usr/dt/config/Xsession.d/0020.dtims…
— sourcing /usr/dt/config/Xsession.d/0030.dttmpdir…
— sourcing /usr/dt/config/Xsession.d/0040.xmbind…
— sourcing /usr/dt/config/Xsession.d/0099.LegacyConfig…
Exception: Communication with the agent failed
— sourcing /usr/dt/config/Xsession.d/0100.SUNWut…
— sourcing /usr/dt/config/Xsession.d/1099.br…
. . .

$HOME/.dt/sessionlogs directory.
As you can see I have a problem with dbus and HAL.

% cd $HOME/.dt/sessionlogs
% ls
xeon_DISPLAY=:2 xeon_DISPLAY=:3
% more *
GNOME Desktop Environment
using xinitrc file: /usr/dt/config/Xinitrc.jds
Cleaned 4 files 1 still live
Starting gnome-session
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created.
SESSION_MANAGER=local/xeon:/tmp/.ICE-unix/3355,inet6/xeon:38835,inet/xeon:53973

** (ospm-applet:3393): WARNING **: ospm-hal-support.c/511: could not get system bus: Failed to connect to
socket /var/run/dbus/system_bus_socket: No such file or directory

hal init failed
Initializing nautilus-open-terminal extension

** (nautilus:3389): WARNING **: Unable to add monitor: Not supported
** Message: failed to load session from /export/home/alekz/.nautilus/saved-session-OM477T
** Message: Could not ask power manager if user can suspend: Launch helper exited with unknown return code
0
** Message: Could not ask power manager if user can suspend: Launch helper exited with unknown return code
0

To enable session logs remove (or comment) from $HOME/.dtprofile the following line

export dtstart_sessionlogfile=”/dev/null”

/var/dt/Xerrors
You should see the following repeating lines (normal behaviour):

% more /var/dt/Xerrors

Sun Jul 6 23:07:23 2008
info (pid 984): Rescanning both config and servers files

Sun Jul 6 23:07:28 2008
info (pid 984): Rebuilding default language list from /usr/lib/locale

Sun Jul 6 23:07:28 2008
info (pid 984): Rescanning both config and servers files

Sun Jul 6 23:07:34 2008
info (pid 984): Rebuilding default language list from /usr/lib/locale

/var/log/Xorg.0.log

% more /var/log/Xorg.0.log

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: SunOS 5.11 snv_84 i86pc
Current Operating System: SunOS xeon 5.11 snv_93 i86pc
Build Date: 20 June 2008

Solaris ABI: 64-bit
SUNWxorg-server package version: 6.9.0.5.11.9300,REV=0.2008.06.20
SUNWxorg-graphics-ddx package version: 6.9.0.5.11.9300,REV=0.2008.06.20
SUNWxorg-mesa package version: 6.9.0.5.11.9300,REV=0.2008.06.20
Before reporting problems, check http://sunsolve.sun.com/
to make sure that you have the latest version.
Module Loader present
. ..

Leave a Reply

Your email address will not be published. Required fields are marked *