LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need support for Driver setup (https://www.linuxquestions.org/questions/linux-newbie-8/need-support-for-driver-setup-515067/)

NZXT 12-30-2006 11:53 PM

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 !!

NZXT 12-31-2006 12:45 AM

looking for answers here !!! ;)

soccercisco 12-31-2006 01:30 AM

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

btmiller 12-31-2006 01:40 AM

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.

NZXT 12-31-2006 01:43 AM

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

;)

NZXT 12-31-2006 01:49 AM

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

NZXT 12-31-2006 02:10 AM

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.

btmiller 12-31-2006 03:14 AM

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!

soccercisco 01-01-2007 03:20 AM

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,


All times are GMT -5. The time now is 10:21 PM.