LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-31-2006, 12:53 AM   #1
NZXT
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Rep: Reputation: 0
Need support for Driver setup


Hi everyone ,

i'm new here and need a lot of your help soo here's one question for you guys ...

I do see this into the Konsole when i'm looking fot info regarding my Xorg.conf

root@NZXT:~# fglrxinfo
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: unable to open display :0


I was following this thread :

http://www.linux.org.mt/node/82#AEN135

Step 10 ( Installation of ATI Drivers )

I did follow everything and it was Ok by far but the text edition part ... Don't Know !!! Maybe something else's giving me a pain in the butt !!

Any ideas ?

Thanks for reply !!
 
Old 12-31-2006, 01:45 AM   #2
NZXT
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
looking for answers here !!!
 
Old 12-31-2006, 02:30 AM   #3
soccercisco
Member
 
Registered: Dec 2006
Location: Fullerton, CA
Distribution: Debian
Posts: 36

Rep: Reputation: 15
hi,

First, a friendly recommendation; from the first post we know that you were looking for answers, so posting a second message might not be the best approach to getting a faster answers (in some cases it might work against you).

Now, regarding your question, there are different methods for installing the fglrx drivers. I run Debian, though, Ubuntu is Debian-based so I recommend to follow the instructions on (the Debian coutnerpart of these worked perfectly for me):

http://wiki.cchtml.com/index.php/Ubu...allation_Guide

Also, if Dapper is not your current version please follow the link at the top of the page. Let me know how it goes!

Edit: I might add that the wiki above is the officially unofficial ATI driver wiki for Linux!

Regards,

-Cisco

Last edited by soccercisco; 12-31-2006 at 02:31 AM.
 
Old 12-31-2006, 02:40 AM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
It looks like you're trying to connect to the X server as root while it's probably running as your normal user account. Unless you specify otherwise, this is going to be rejected. Unless fglrxinfo needs to run as root you should just run it as your ordinary user. You can allow all X server connections from your locally machine by doing "xhost +localhost" as the user the X server is running as.
 
Old 12-31-2006, 02:43 AM   #5
NZXT
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks Cisco for the info & the friendly recommendation ... Not in my intention to be selfish and your right for that ... One post is enough ! i will soon try to follow the link you supplied and come back with a feedback.

Thanks again

NZXT

 
Old 12-31-2006, 02:49 AM   #6
NZXT
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by btmiller
It looks like you're trying to connect to the X server as root while it's probably running as your normal user account. Unless you specify otherwise, this is going to be rejected. Unless fglrxinfo needs to run as root you should just run it as your ordinary user. You can allow all X server connections from your locally machine by doing "xhost +localhost" as the user the X server is running as.

Is it possible to always be connected as a root ( User account administrator ) without having to always gives a password ? How to do a Xhost + localhost ?

Thanks
 
Old 12-31-2006, 03:10 AM   #7
NZXT
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
i did try fglrxinfo under normal user account ( No root at all ) and i see that :

fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)

So basicaly i'm not into a good way for 3D accelaration but the first step was okay to at least bring some graphic quality by installing the drivers.
 
Old 12-31-2006, 04:14 AM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by NZXT
Is it possible to always be connected as a root ( User account administrator ) without having to always gives a password ? How to do a Xhost + localhost ?
It'd possible, but a very bad idea for security reasons. You should learn to work with Linux permissions, not fight them. You should use a normal user account for your day to day work and only switch to root when needed to install software or perform system maintainence.

As to how to run xhost (note the capitilization -- Linux is case-sensitive!) just open up a terminal and run the command.

I've always used NVidia cards, not ATI, so I'll leave someone who knows more about them to help you with the rest of your setup. Good luck!
 
Old 01-01-2007, 04:20 AM   #9
soccercisco
Member
 
Registered: Dec 2006
Location: Fullerton, CA
Distribution: Debian
Posts: 36

Rep: Reputation: 15
happy new year to all readers of this post!

NZXT,

Are you trying the fglrxinfo in a terminal window from your desktop environment (GUI)? If you are, can you post the output of xrandr (you can try
Code:
xrandr > ~/whatever
and it will create a file in your home directory called whatever in which you will find what you need to post). The info from xrandr might tell us if you have upgraded the drivers (you will have more screen resolutions available).

Secondly, if you are trying the command fglrxinfo in a desktop environment, try logging out and running from tty1 (black screen; press ctrl+alt+F1), and then tell me what the output of the command is.

Finally, it is also my recommendation to "sudo" for acting as root. You can try an alias in your .bashrc file located in your directory so you don't have to type sudo all the time, but no other way around it. Acting as root can be dangerous to the system (until you get the hang of it, and even then you'll realize why the fuss about this).

P.S. Could you also post what model of ATI card you have?


Cheers,
 
  


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
problem using setup with huge26.s to support XFS and SATA AlCstu Slackware 6 12-19-2006 03:23 AM
Setup Samba File Server with Shadow Copy support kstan Linux - Enterprise 2 07-04-2005 03:15 AM
Linux Driver Support excidy Linux - Distributions 4 06-10-2005 07:49 PM
Distro with best driver support? mikeymorgan Linux - Distributions 3 05-28-2005 03:55 AM
how to setup mail server support SSH? Rex_chaos Linux - Networking 1 03-17-2003 06:06 PM


All times are GMT -5. The time now is 08:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration