LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-11-2006, 11:06 AM   #1
Azide
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Rep: Reputation: 0
Help Getting XChat to Run


I am trying to run xchat.

At the command line, I type "xchat", and I get the error: "error while loading shared libraries: libpangoxft-1.0.so.0: cannot open shared object file: No such file or directory"

I have installed the full "X" package. I did NOT do a full install as this computer has limited resources.

(1) DO I need to be running a GUI like Blackbox to get Xchat to run, if so, how (It's not listed when I right click the desktop).

(2) If I am missing the file libpang*, where do I find it to install? I had this problem before, I can't figure out an easy way to find components that are installed when a .tgz is extracted, so I can't search throught the package directories to see which one I need to install.

As always, any help this newb gets is appreciated.

A
 
Old 03-11-2006, 11:51 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
You need pango installed and be running X.
 
Old 03-11-2006, 05:01 PM   #3
Azide
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
okay next

thanks for the pango info.

I installed the "l" package and now I can get xchat to start... only as root. It mentions, and I agree, that running IRC as root is stupid.

So, I switched to a user account, now the error:

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

(xchat:1129): Gtk-WARNING **:cannot open display:


-any ideas?
 
Old 03-11-2006, 05:03 PM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Try running "xhost +localhost" and then try "xchat" again.
 
Old 03-11-2006, 05:17 PM   #5
Azide
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
woot

thanks. I can now get Xchat to run as a user.

So what did I do with that? I am guessing i added localhost as an option in a config file. Why did it work with root?

Also, I found that after leaving blackbox, I couldn't restart it, even as root. I had to reboot. What might have been chaged by my failed attemp at launching xchat that caosed this?

-Thanks again

A
 
Old 03-11-2006, 06:27 PM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 68
Quote:
Originally Posted by Azide
I have installed the full "X" package. I did NOT do a full install as this computer has limited resources.
That could be why. So many programs, especially ones written for X, need MANY other programs for them to run. You should install the full X packages, and many other compilers/installers.

The problem with doing a 'partial' install is you are missing other, needed programs that need other programs that need other programs....
So trying to diagnose will be VERY hard.

What are your 'limited resources'?
 
Old 03-12-2006, 01:12 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Azide
So what did I do with that? I am guessing i added localhost as an option in a config file. Why did it work with root?
Not actually sure! Actually, you might want to add that line to a file called .profile in your user's home directory, so you don't have to do it every time you want to run a graphical program (I had to do this when I installed Slack 10.2).
 
Old 03-12-2006, 01:38 AM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
As I understand, xhost allows accessing to your xserver directly (not using wm). So adding xhost +localhost lets everybody from localhost access your xserver. I should mention that is turned off due to security reasons. Root is not needed this because he is a root. There might be another way how to start xchat without using this command.
 
Old 03-13-2006, 02:12 PM   #9
Azide
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
All set!

Thanks for all of the help, I can use it now.

BTW, the limited resources were 32 MB ram, 166 Mhz processor, 3 GB hard drive.

I now have installed a whopping 96 MB ram.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Xchat InTraxz Linux - Software 3 10-09-2004 10:48 AM
xchat wrongman Linux - Software 0 05-10-2004 06:27 AM
About new xchat Half_Elf Linux - Software 3 02-27-2004 12:50 PM
Xchat Blake's 7 Linux - General 6 01-05-2004 08:55 PM
XChat marlaina1 Linux - General 8 01-02-2002 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:32 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