LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2003, 06:38 PM   #1
inTUXicated
Member
 
Registered: Aug 2003
Distribution: RedHat Linux 9
Posts: 30

Rep: Reputation: 15
Question Startx Shutting Down HELP!!!


Everytime I enter the command Startx
Error message read:
--------------------------------------------------------------------------
(II) [GLX]: Initializing GLX Extension

/usr/bin/gnome-session:error while loading shared libraries:libpango-1.0.so.0:
cannot open shared object file:no such file or directory

Waiting for Xserver to shutdown
---------------------------------------------------------------------------
By the way I'm using RedHat Linux 9 and just kindda installed the nvidia display driver before this thing happened.
I'm pretty new to this thing so help will be pretty much appreciated. tnx in advance
 
Old 08-04-2003, 06:43 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Just kinda doesn't cut it in Linux

Did you edit the files as suggested on the driver site?

# Configuring X
Linux Hardware Compatibility HOWTO - video cards
The Linux XFree86 HOWTO
Common X configuring tools:
Debian - dpkg-reconfigure xserver-xfree86
Mandrake - XFdrake
Redhat 7.3 down - the setup utility leads to several config tools
Redhat 7.3 up - redhat-config-xfree86
You may have these tools:
XF86Setup
XFree86 -configure
Xconfigurator
xf86cfg
xf86config
xconf
ATI Linux drivers
If you need the nVidia driver, most likely, you want the Linux IA32 driver

# Guides to software and installation and uninstallation
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel source code that matches your running kernel
3. The module source or install code

Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]# uname -r
2.4.18-3
I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:
[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux         
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
Ah, there it is, so that's done.

Next, did I install the compiler?
Code:
[root@tinwhistle src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#
Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.

# Red Hat links
Red Hat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
Red Hat 8.0 Tips & Tricks

# Red Hat 7.3 down configuration commands
setup leads to several configuration tools

# Red Hat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project

Last edited by fancypiper; 08-04-2003 at 06:46 PM.
 
Old 08-04-2003, 06:49 PM   #3
inTUXicated
Member
 
Registered: Aug 2003
Distribution: RedHat Linux 9
Posts: 30

Original Poster
Rep: Reputation: 15
I changed to runlevel 3 before installing the driver and deleted Load "dri" in the xf86config as suggested, changed "nv" to "nvidia". the installation went well without error messages but when i rebooted and logged on and startx just showed the error message
 
Old 08-04-2003, 07:06 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Have you installed the package that contains libpango-1.0.so.0?

Is libpango-1.0.so.0 anywhere on your system?

command:
rpmquery --all | grep -i libpango-1.0.so.0

# See rpms installed on current system
rpmquery --all | more
rpmquery --all > <filename>
rpmquery --all | grep -i <plaintext>

# For finding or locating files
find
locate
which
whereis

If not, you need to install it.

rpmfind

# Guides to software and installation and uninstallation
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

Last edited by fancypiper; 08-04-2003 at 07:09 PM.
 
Old 08-04-2003, 08:47 PM   #5
mking007
Member
 
Registered: Jul 2003
Location: China
Distribution: Red Hat, SuSE and Novell Linux Desktop
Posts: 96

Rep: Reputation: 15
the drive of nvidia has many bugs, it took me 6 months(until last night) to install it correctly. If the drive dosn't work correctly, uninstall it. and before you install ,u'd better back up your XFree86.conf file.
 
Old 08-04-2003, 08:49 PM   #6
mking007
Member
 
Registered: Jul 2003
Location: China
Distribution: Red Hat, SuSE and Novell Linux Desktop
Posts: 96

Rep: Reputation: 15
btw:

also a suggest: if u don't want play 3D game, don't install the drive.
 
Old 08-05-2003, 12:14 PM   #7
inTUXicated
Member
 
Registered: Aug 2003
Distribution: RedHat Linux 9
Posts: 30

Original Poster
Rep: Reputation: 15
I finally got it to work!!tnx a lot guys whooo.You were right fancypiper libpango was not installed correctly(?). I tried installing it from the CD and it was returniing rpm already installed. but for some strange reason when i try to locate it, the command doesn't return any output. so i tried to install it again but this time with --force option (while crossing my finger). when i tried the startx command it worked!! tnx alot guys.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WHY should I type startx twice to startx? hiux Debian 6 09-09-2005 09:12 AM
startx doesn't startx for user vdemuth Mandriva 10 11-08-2004 07:41 PM
Bug / Xwindows / startx : xinit works but startx crash www.rzr.free.fr Linux - Software 4 10-17-2004 08:06 AM
Shutting Down X Aljaber Slackware 8 11-09-2003 01:00 AM
startx vs startx -- :2 (font dimension is different!!) moly82 Linux - General 7 09-15-2003 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration