Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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):
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.
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.
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 ?
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!
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.