LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trouble installing NVIDIA graphics driver (https://www.linuxquestions.org/questions/linux-software-2/trouble-installing-nvidia-graphics-driver-413704/)

Rick069 02-10-2006 01:12 AM

Trouble installing NVIDIA graphics driver
 
Below is directions to install the nvidia graphics driver as far as ubuntu is concerned:

1. sudo apt-get install nvidia-glx
2. sudo apt-get install nvidia-settings
3. sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
4. sudo nvidia-glx-config enable
5. sudo gedit /usr/share/applications/NVIDIA-Settings.desktop

Everything was fine until step 5. At step 5, I keyed the line in and this is what I got:

root@c-68-33-49-119:/home/rick6901# sudo gedit /usr/share/applications/NVIDIA-Settings.desktop
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

(gedit:18954): Gtk-WARNING **: cannot open display:
root@c-68-33-49-119:/home/rick6901# gedit /etc/X11/xorg.conf
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified



I get the same message everytime I try to modify any kind of file like this and not necessarily the file in question. Any thoughts on what the problem may be?

Sargek 02-10-2006 05:16 AM

Are you in X when you are running this? Gedit won't run unless you are in X. I am a little confused as to why they have you modifying a .desktop file also. Desktop files are built when software is installed and normally don't need to be modified. I believe you will also have to have the kernel source installed. Check Ubuntu site first - I am certain there is a FAQ or HowTo on installing Nvidia drivers.

Rick069 02-10-2006 07:31 AM

It's fixed. I just deleted a file called default-desktop-manager or something close to it and I reboot the system and the backup took over which was gdm.


All times are GMT -5. The time now is 12:59 AM.