jedipi
Jul 10 2005, 03:24 AM
under normal user, vim command (in terminal) did not have any error. However, after I su to root, vim gave me error messages jedi@debian:~$ vim my.lst jedi@debian:~$ vim my.lst jedi@debian:~$ su Password: debian:/home/jedi# vim my.lst Xlib: connection to ":0.0" refused by server Xlib: No protocol specified
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified
debian:/home/jedi#
what does cause this problem?? How can I fix it?? Thank you.
Reply
qwijibow
Jul 11 2005, 12:36 AM
why was this post made invisible ? I dont use vim, but its obviouse whats happening here, vim is trying to load an X interface. in other words, a windowed envoronment for you to type in, rather than the bash command line. But X is correctly refusing to talk to the vim program. This is because X is beeing super paranoid about securety, and only letting one user communicate with it. when you run as super user, X treats you as a different user. In theory, someone else on your network could use X to spy on your keystrokes, and see what you are seeing on your screen. to turn off this security feature, run "xhost +" as the normal user before becoming super user. anouther solution would be to use a command line text editor such as nano, or emacs. (im pretty sure vim has a command line interface too) provided that your X server is NOT listening for connections over the network, OR your firewall is blocking outsidfe access to your X server, then there is no risk in running "xhost +" to test to see if X is listening on the network, run "netstat -npl" and see if Xorg or Xfree86 is listening on port 6000. or make sure your firewall is not set to allow incomming connections to port 6000.
Reply
jedipi
Jul 11 2005, 01:21 AM
Thank you for your help.... I wonder to know how to made invisible post... for this topic, I just click on NEW THREAD buttom, fill in, preview, then post.. I dont know why it was invisible. for this reply, I use "fast reply". will it invisible?? lets try
Reply
madcrow
Jul 12 2005, 01:26 PM
When you go root, run "sux" instead of "su." That should give you the correct set up for graphics through root.
Reply
qwijibow
Jul 12 2005, 03:28 PM
which can be downloaded at its homepage: http://fgouget.free.fr/sux/
Reply
jedipi
Jul 13 2005, 01:41 AM
Thanks for you guys' help Problme fixed....
Reply
madcrow
Jul 13 2005, 11:27 AM
"sux" has to be d/led seperately??? Not in my distro (SuSE)
Reply
Recent Queries:--
vim xlib failed - 136.54 hr back. (1)
-
evince-2.22.1.1-1.fc9.i386.rpm cant be opened - 193.86 hr back. (1)
-
vim "no protocol specified" - 370.65 hr back. (1)
-
cache:lzmfkmbkemkj:www.astahost.com/info.php/grub-error-after-reinstalled-winxp_t10923.html "xlib: no protocol specified" win xp - 414.61 hr back. (2)
Similar Topics
Keywords : vim, error, xlib, connection, 0, 0, refused
- Boot Error On Customized Kernel [solved]
(2)
Linux Basic Command - For Storing Compilation Error To File
(1) Ex: Compiling a cpp file using a basic command " g++ filename.cpp " and to run the program use
./a.out , Then to store the compilation error to text file use this command. g++ test.cpp >
log.txt log.txt contains the compile time errors. ....
Strange Error When Trying To Install Fedora Core 9
(6) Hi all, I tried to install Fedora Core 9 in a VmWare virtual machine under WinXP. I downloaded the
DVD ISO image and proceeded with the installation. When the process was started since about a
minute, the following error did show: "The file evince-2.22.1.1-1.fc9.i386.rpm cannot be opened.
This is due to a missing file, a corrupt package or corrupt media" Fine, I told to myself,
let's download the ISO image again, this time from a different server, just in case. No joy,
same error. Tried another couple of times, each one using a different server for the download. Sa....
Using Ndiswrapper In Fedora Core 6
Installation Error (4) Hi, I have been trying to install my wireless pcmcia card onto fedora core 6. to do this i have been
trying to use ndiswrapper http://ndiswrapper.sourceforge.net but with no luck. i am using
ndiswrapper-1.34 and i keep running into some problems. I can successfully complete the make
distclean, make and make install (root) commands and they work without a problem. It is only when i
try to enter the command ndiswrapper -i filename.inf (replacing filename.inf with the .inf file of
my pc card) i get the following error QUOTE # ndiswrapper -i WG511v2.INF bash: nd....
Remote Connection
How to remote connect to another computer (5) I have a server that is running a Debian installation of Linux. I want to be able to connect to
this computer somehow, and be able to execute commands on it. Reason: My computer that runs Debian
is running my Counter-Strike and TeamSpeak server. I want to be able to access the computer remotely
to perform server maintenance tasks. My servers are working great. The computer is on a fast line
and everything. How exactly do you set up this remote connection. I need to know: What ports to
forward, if any, to my server since it rests behind a router. Can I access it thr....
Fix Fedora 5 Add/Remove Software Problem
fix the problem that cannot add/remove software without Internet conne (2) The add/remove software in Fedora 5 just does not work if you machine is not connected to the
Internet. It wont add or remove any package for you even though you have the disks. If you read
files in /etc/yum.repos.d/, you will understand. Fedora 5 will connect to redhat's website when
you want to update your Fedora. Here is a simple way to update your fedora 5 via FC5 iso file. 1,
move all files, which are under /etc/yum.repos.d directory, to other directory. for example, backup
directory. 2. create a new directory *.reop in /etc/dym.repos.d Copy and Paste the ....
Grub Error After Reinstalled Winxp
(11) I have Windows XP and Fedora 4 installed in my PC. Grub is the boot loader. Today, I decided to
reinstall Windows XP. After the installation finished, I boot into fedora 4 with rescue disk. then..
chroot, grub-install /dev/hda, reboot. but I could not boot into the system. It just show me this,
grub> There is no option for me to choose. (It uses to have a list.) Then I fdis /mbr, root
(hd0,0), set(hd0) yes, the grub menu is back. But cannot boot into both system (windows xp and
Fedora 4) fc4: invalid compressed format (err=1) xp:disk error ,press any key to restart ....
How Can I Make An Adsl-connection In Linux ?
(8) I'm using Slackware Linux 9.0. How can i make an ADSL-connection there ? /smile.gif'
border='0' style='vertical-align:middle' alt='smile.gif' /> P.S.: in FreeBSD i had to edit
/etc/ppp/ppp.conf for this. Topic title edited to suit the nature of content better. In future
try to make your topic title more descriptive. ....
Problem With Grub
error code: 16 (5) this was a confusing topic to post...it is a mixture of problems...both hardware and software. and
it has to deal with both linux and windows...but i decided to put it here because the main problem
is the linux. i had dual booted my machine with linspire 5.0 and windows xp...since i did linspire
5.0 last...like i am suppose to, it used the grub boot loader. i decided after a while to get rid of
linspire and just use vpc within windows to mess around with it. so i formated the partition within
windows (prolly not the best idea). this got rid of the os but kept the bootlo....
Network Issues With Kde
connection wont work as startup (8) On my new Kubuntu install i have managed to make my WLAN connection set up by using "kdesu konqeror"
and then adjusting in settings. But for some reason the connection won't start at startup. I
have to use kdesu to enable and activate both connections. Which is a problem on this computer
because it is a family box and my parents cant do that and i dont want them to have the ability to
gain root just in case. Any ideas - this is really annoying.....
Kde Starting Problem
Could not read network connection list (4) I just installed slackware 10 yesterday. and i made some changes to font config today. after i
reboot, i fond i couldnt start kde& gnome here is the error message: Could not read network
connection list root/.DCOPserve_hide_0 please cheak whether decopserve is running network
connection?? My slackware has never atteched any network. It is a stand alone workstation. anyway,
my xfce still can work . i want to know why and how to solve this thx....
No Sound On Creative Pci 128..
help..system-config-soundcard error (7) I just got a creative pci 128 sound card for my Fedora core 4 box. But it does not work (not sound,
and work in windows xp). I have searched for solution in google for a while, but couldn;t found
anything good. When I tryied to use command system-config-soundcard, it return a error message:
amixer: unable to find simple control pcm,0 What is the problem?? How to fix it?? Thank you. ....
Find Command Error In Fedora 4
(2) have anybody try the new version of fedora?? Fedora 4 was leased a few days ago. I just installed
it on my PC. And here is a problem: I get the following message when I do a "find". # find /
-name scim.pc find: WARNING: Hard link count is wrong for /proc: this may be a bug in your
filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have
failed to include directories that should have been searched. find: /proc/6000/task: No such file or
directory find: /proc/6000/fd: No such file or directory /opt/src/scim/scim.pc What does....
Looking for vim, error, xlib, connection, 0, 0, refused
|
*SIMILAR VIDEOS*
Searching Video's for vim, error, xlib, connection, 0, 0, refused
|
advertisement
|
|