LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GNOME stopped working! (https://www.linuxquestions.org/questions/linux-newbie-8/gnome-stopped-working-908436/)

grob115 10-16-2011 09:53 AM

GNOME stopped working!
 
Hi, for some reason I am not able to login to my Linux box with GNOME any more with any accounts (SSH via Putty is fine however).

Following is what's recorded in the .xsession-erros file.
Code:

[root@test ~]# cat .xsession-errors
/etc/gdm/PreSession/Default: Registering your session with utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "root"
localuser:root being added to access control list
No profile for user 'root' found
gnome-session: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

I've tried changing it to runlevel 3 and starting X manually but saw a bunch of stdout not knowing what it means.
Code:

[root@test ~]# runlevel
N 5
[root@test ~]# init 3
[root@test ~]# runlevel
5 3
[root@test ~]# startx
xauth:  creating new authority file /root/.serverauth.3771


X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-164.11.1.el5 x86_64 Red Hat, Inc.
Current Operating System: Linux test.canreefhome.com 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64
Build Date: 31 March 2010
Build ID: xorg-x11-server 1.1.1-48.76.el5
        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: Sun Oct 16 07:52:06 2011
(==) Using config file: "/etc/X11/xorg.conf"
(EE) R500(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.
encoder: 0x15
encoder: 0xf
  XRANDR name: VGA-0
  Connector: VGA
  CRT1: INTERNAL_KLDSCP_DAC1
  DDC reg: 0x7e50
  XRANDR name: HDMI-0
  Connector: HDMI-A
  DFP3: INTERNAL_LVTM1
  DDC reg: 0x7e40
Dac detection success
finished output detect: 0
finished output detect: 1
finished all detect
before xf86InitialConfiguration
Dac detection success
after xf86InitialConfiguration
Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Output CRT1 disable success
Output DFP3 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Mode 1152x864 - 1520 895 6
freq: 81620000
best_freq: 81624000
best_feedback_div: 228
best_ref_div: 5
best_post_div: 8
Set CRTC 0 PLL success
Set CRTC Timing success
Set CRTC 0 Overscan success
Not using RMX
scaler 0 setup success
Set CRTC 0 Source success
crtc 0 YUV disable setup success
Output DAC1 setup success
Output CRT1 enable success
Enable CRTC 0 success
Unblank CRTC 0 success
Output DFP3 disable success
Blank CRTC 1 success
Disable CRTC 1 success
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple symbols for level 1/group 1 on key <I5F>
>                  Using XF86Sleep, ignoring XF86Standby
> Warning:          Symbol map for key <I5F> redefined
>                  Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
localuser:root being added to access control list
No profile for user 'root' found
/usr/bin/gnome-session: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

waiting for X server to shut down Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Enable CRTC 0 success
Unblank CRTC 0 success
FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.


[root@test ~]#


TobiSGD 10-16-2011 10:14 AM

Your system is missing a JPEG-library, install that and try if it is working now.
It would also help to know which distribution in which version you are using, also graphics hardware and drivers.

grob115 10-21-2011 11:21 AM

The library is there. Not sure why it says not found.

[root@test ~]# uname -a
Linux test.com 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@test ~]#
[root@test ~]# locate libjpeg.so
/home/hyperic/agent-4.5/jre/lib/amd64/libjpeg.so
/home/hyperic/server-4.5/jre/lib/amd64/libjpeg.so
/home/hyperic-4.4/agent-4.4.0/jre/lib/amd64/libjpeg.so
/home/hyperic-4.4/server-4.4.0/jre/lib/amd64/libjpeg.so
/usr/java/jre1.6.0_24/lib/amd64/libjpeg.so
/usr/lib/libjpeg.so
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
/usr/lib64/libjpeg.so
/usr/lib64/libjpeg.so.62.0.0
/usr/local/lib/libjpeg.so
/usr/local/lib/libjpeg.so.8
/usr/local/lib/libjpeg.so.8.0.2
/usr/local/src/libjpeg.so
/usr/local/src/jpeg-8b/libjpeg.so.62
/usr/local/src/jpeg-8b/.libs/libjpeg.so
/usr/local/src/jpeg-8b/.libs/libjpeg.so.8
/usr/local/src/jpeg-8b/.libs/libjpeg.so.8.0.2

deep27ak 10-21-2011 12:39 PM

So when you login do you directly enter runlevel 3 or you get the logon screen as you said you are unable to login

do you get any graphical error on screen when you enter username and password?


you can update the gnome package be reinstalling the missing package as the error says

Code:

#rpm -ivh libjpeg.so.62
or get the relative package from internet

or

Code:

#yum -y install libjpeg.so.62

grob115 10-25-2011 10:41 AM

I get a graphical login screen, and am able to enter my credentials. However as soon as I hit the login button (or whatever it's called), I was given the same error message I pasted above on a dialog box.

You mentioned re-installing gnome but the commands appear to be for installing the jpeg library, which is already available on the system. Can you elaborate a bit more on this?


All times are GMT -5. The time now is 11:58 PM.