I installed Enemy Territory using a shell script.That was fine. When I try and run it, I get an error:Xlib: connection to ":0.0" refused by serverKlib: No protocol specifiedAt first I thought this was OpenGL related, because the only other thing I tried to run from a shell prompt was an OpenGL program. So as I got about trying to update my nVidia drivers, I realize that I can't even open any editors from a root prompt (which I was trying to do since I couldn't modify my /etc/apt/sources.list file from the editor I opened in KDE.So two questions:1) Why can't I run anything from a shell prompt?2) (less important) How can I run programs I open from KDE shortcuts as root?I know it's probably something extremely simple, but someone give me some help cause I'm a severe linux noob.I'm running Debian with a 2.6.11 kernel.[Edited on January 15, 2006 at 2:00 PM. Reason : This will probably end up in that "Tales of the Technically Inept" thread ]
1/15/2006 1:58:56 PM
[Edited on January 15, 2006 at 2:37 PM. Reason : wrong section]
1/15/2006 2:37:17 PM
as far as running editors, try running non-gtk editors (ie kate, emacs) from the command line if you're running KDE (im guessing you probably are). if you dont have emacs, apt-get it.i dont know about your enemy territory issues. im new to linux as well.
1/15/2006 3:19:54 PM
Well, I can't run it directly from Konqueror, and the problme is indicative of a driver problem. So now gotta try and update my drivers, and the site I was reading recommended I add a line to my sources file, which is why I was editing it.emacs throws the same error about not establishing a connection to the X server.[Edited on January 15, 2006 at 3:27 PM. Reason : asdf]
1/15/2006 3:25:57 PM
I've tried with Konsole, xterm and rxvt.
1/15/2006 3:31:03 PM
Ok, I found a 'root terminal' link. This should do it.
1/15/2006 3:47:24 PM
More evidence on why linux is clearly superior to Windoze.
1/15/2006 4:10:13 PM
1/15/2006 4:32:35 PM
Ok, I've changed the permissions to the files (I think), but I can't install them directly, I don't think. So when I do apt-get -t testing install nvidia-kernel-source nvidia-kernel-common, it re-downloads those files, and therefore they don't have the right permissions again. Which would seem weird for the files to be downloaded in the fashion if they're supposed to be executed in the very next step.
1/15/2006 4:41:16 PM
apt-get generally has to be run as root/super-user (sudo apt-get works if you are an admin user). When you change the permissions, it probably makes apt think the files are bad, and it wants to redownload them.[Edited on January 15, 2006 at 5:07 PM. Reason : ]
1/15/2006 5:07:13 PM
I'm running it as root.That's why I'm confused.
1/15/2006 5:08:28 PM
Oh...That's weird.Try changing the server your apt gets its files from. Perhaps that file is somehow corrupt.
1/15/2006 5:16:06 PM
Trying to find a server for testing filesAny suggestions?
1/15/2006 5:25:37 PM
I tried using mirrors.kernel.org/debian/Same exact problem[Edited on January 15, 2006 at 5:32 PM. Reason : asdf]
1/15/2006 5:32:31 PM
I know its convenient to use package management and all but couldn't you just download the binary release from Nvidia's site?
1/15/2006 8:12:34 PM
and if they have an .rpm for the drivers, just use alien to convert to .deb and use dpkg to install.
1/15/2006 9:18:49 PM
Oh, I tried that a long time ago.I tried running it from a root terminal and it said it couldn't run while an X server was running.How do I go to just a console without the actual gui running?Like I said, I'm a Linux n00b.
1/16/2006 1:00:06 AM
^ you can just kill the xserver (type "top", find the process number, then do "kill <process number>")You can do control-option-f<#> to switch to virtual terminals.
1/16/2006 1:03:02 AM
I tried that, and it just kicked me back to the Login screen.
1/16/2006 1:09:35 AM
On the login screen, there's not an option for text login or anything like that?Also, if you switch to one of the virtual terminals, log in, kill the xserver, does it still kick you back to the login screen?
1/16/2006 1:59:03 AM
1/16/2006 2:58:51 AM
Yeah, I did a console login and got the install program to run, but it failed when trying to build the kernel.
1/16/2006 11:10:22 AM
install FC4
1/16/2006 9:45:32 PM
1/18/2006 12:59:06 AM
If you do switch distros, I suggest Suse. So much better package management than under any other distro I have tried.
1/18/2006 1:00:25 AM