General :: Xlib: Connection To ":0.0" Refused By Server?
Oct 2, 2010
i typed the command "system-config-network",at the hostname field i gave "james@lee".after closing that window, again i typed the same command "system-config-network". but it gives the following error..
[student@james@lee ~]$ system-config-network
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
ERROR: Unable to initialize graphical environment. Most likely cause of failure is that the tool was not run using a graphical environment. Please either start your graphical user interface or set your DISPLAY variable
I am trying to monitorize an OpenWRT (Backfire 10.03, r23115) router from an Ubuntu server, but I am having some problems. I have installed Nrpe (2.12) on the remote host (OpenWRT), I have executed the program as a deamon (/usr/sbin/nrpe -d) but when I start the NRPE deamon, I don't get anything about NRPE executing netstat -at or ps -ef.I would need to install check_nrpe on OpenWRT to find out if NRPE is working, but I can't find any ipk package with it. Now, once in the monitoring host when I try to reach the remote host from the server:
vsftpd not working on my CentOS system. I tried logging in using FileZilla but the error message was: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
I am merely trying to change the port for my ssh server.However it isn't changing.I edited my ssh_config file to:
Code:
# This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for[code]...
When i try to connect to my server via port 443 i get a connection refused error. However when i try to connect via port 22 it connects. Since that didn't work, i tried restarting the entire server.To restate, i changed the config file and restarted ssh then the computer, however the port didn't change.Ohh and yes my router is set to port forwarding on port 443, though it doesn't matter since I'm inside the network.
at the computer shop we have an ubuntu 9.10 server that we log into via ssh or webmin today i was trying to ssh into the machine and got connection refused, so i logged into webmin and found the ssh server not running when i tried to start with webmin it i got the error
Code: failed to start ssh server * /dev/null not a character device went over to the shell command part of webmin and issued ls /dev -l and looked at the output and found something of concern
I have configured openssh 5.8p2 with centos 5.6. My sftp is working fine with chroot environment but i am having problem with SCP. I am dealing with muliti Redhat servers. When i try to transfer data from other linux server through scp it gives connection refused. For e.g ssh 5.8 is configured on new server and i want to transfer files from old server which is using openssh 4.3 version.i created same username and password on new server as on old server.My sftp users on new server has no shell access but only sftp access. When i try to scp from old server to new server it gives error connection refused. Is the below configuration only for sftp and can't scp? According to google the configurations i found are for scp and sftp. Do i need to generate ssh keys by giving users on new server shell access, once created then stop shell access again, as i dont want to give shell access permanent for security reasons? but i want to use ssh keys for more security as well.
Port 22 PermitRootLogin no 1.override default of no subsystems[code].....
I have a box running Fedora 14 upstairs and I've been trying to get it to run VNC server, unsuccessfully. I've RTFM, and followed the instructions step-by-step, but it still won't run. I'm getting no error messages. But when I try to connect from either a Window or Mac client, it either get a timeout or connection refused. I've read and tried all the troubleshooting; been working on this for about 12 hours now. Is there something major that I could be overlooking?
I am using redhat on server and open suse on client. When I want to ssh from my server machine the following error occur "connection refuse". I execute the following command on clien machine "/etc/init.d/sshd start". It shows the following error just after command execution "sshd re-exec requires execution with an absolute path".
I have just built a new postifx open relay server to allow my ISP clients to send emails. During testing of the SMPT protocol, I can managed to send emails to my localhost however, I can't send emails to other external mail server. Below is a test to a yahoo account. Aug 7 15:03:55 mx2 postfix/smtp[4050]: connect to g.mx.mail.yahoo.com[98.137.54.238]: Connection refused (port 25) Aug 7 15:03:55 mx2 postfix/smtp[4050]: F084EC8D76: to=<ellyu4@yahoo.com>, relay=none, delay=8.5, delays=1.2/0.05/7.3/0, dsn=4.4.1, status=deferred (connect to g.mx.mail.yahoo.com[98.137.54.238]: Connection refused)
I am using localhost for only send the email, its send mail outside domain like my gmail or yahoo accunt. but its not send my domain user account. the error comes when i see the logs is: stat=Deferred: Connection refused by [127.0.0.1]
I am facing connection refused error 111 in TCP client server program, in android native code which in C , but if code is in JAVA it works fine, but i want to continue in C only, in manifest file i have given permission and ip, port is correct .What am doing wrong?? or is their any network setting?? am using UBUNTU 10.04and If both client server Linux pc it works fine. only if android emulator becomes client then am getting connection refused
I have a Rackspace server running Ubuntu Lucid Lynx, where I have installed an IRCd-Hybrid. I can connect to the IRC server using irssi that was installed on the same machine where the server is, but when I try to access it from my computer at home or my friends try I get this error: Code: Connection Refused What should I do?
I have configured a Nagios server which is working well with all king of clients. But when I added a new windows machine to monitor, it gives a error message "connection refused". I have set everything as prior machines.
Now, I just wanted to know the process by which we can check if server is able to communicate with the client's NSclient daemon. In Linux, we simply issue "./check_nrpe -H hostname" and if ok, it gives the NRPE version which indicates the status ok.
When I was checking the /var/log/messages, I found these entries:
Mar 16 15:14:38 localhost smbd[13347]: [2010/03/16 15:14:38, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:14:38 localhost smbd[13347]: Unable to connect to CUPS server localhost:631 - Connection refused Mar 16 15:24:38 localhost smbd[13691]: [2010/03/16 15:24:38, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:24:38 localhost smbd[13691]: Unable to connect to CUPS server localhost:631 - Connection refused Mar 16 15:24:38 localhost smbd[13692]: [2010/03/16 15:24:38, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:24:38 localhost smbd[13692]: Unable to connect to CUPS server localhost:631 - Connection refused Mar 16 15:27:34 localhost smbd[13716]: [2010/03/16 15:27:34, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:27:34 localhost smbd[13716]: Unable to connect to CUPS server localhost:631 - Connection refused Mar 16 15:27:34 localhost smbd[13718]: [2010/03/16 15:27:34, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:27:34 localhost smbd[13718]: Unable to connect to CUPS server localhost:631 - Connection refused
CUPS is stopped in the system and the system is configured as samba server. What could be the reason for these printing requests from smbd?
Im having some problem with my DNS. We are using a Linux web server as one of our web server which runs some live websites.When I trying to get the status of the DNS (NAMED) it comes the following error :
The same error appears when Im trying to apply any changes on zone level for a selected doamin in WEBMIN. (Basically can't apply changes)
WEBMIN > Servers > BIND DNS servers > click a selected-domain.co.uk > Apply changes
But the server seems to be running without effecting any probelms to the sites or users. I have been searching weeks for this problem & couldn't find a solution. And also Please note that Im bit new to Linux.
I am experiencing a bit of a problem with openssh-server. I installed the server like I normally do. It wouldn't work, so I tried using this. It still didn't work. Later, I have realised that when using service sshd start SSH says it started, but when you check if it's running with service sshd status it says it doesn'triend advised me to use /etc/init.d/sshd and I managed to get it started. However, that doesn't return anything, and when I try to connect it says connection refused even when I try to connect from localhost to localhost
I'm try to setup a database server using mysql, the server starts fine, and I can access it using the built in mysql client via console (adding databases and tables works fine), but the problem is... I always get a connection refused error whenever I access the database outside the built in mysql client (example, if I write a code that connects to mysql). So, I tried execute an nmap command and the only ports open are these ports:
[Code]....
there's no 3306 for mysql... I'm thinking that the firewall is just blocking the port that mysql is using, but my question is, how could the built in client connect to the server if there's no open port for mysql server? Don't clients usually access a servers through ports?
I have FileZilla installed on this machine, and OpenSSH (with an open port 22) on another machine on my home network. When I try and connect, I get: Quote: Status:Connecting to 192.168.2.3... Response:fzSftp started Command: open "alphatwo@192.168.2.3" 22 Error:Connection refused Error:Could not connect to server
Which has left me puzzled as I have an open port. Does the username have to be defined somewhere? E.g. the machine acting as my SFTP server can be logged on to locally as alphatwo so that's what I logged in as (with the correct password). Is this correct? If so, does anyone have any ideas as to how I might rectify it? I want SFTP set up so I can copy PHP files from my laptop to /var/www/html/ on another PC (across the home network).
i done desktop config in ubuntu server 11.04 and connected via tightvnc,uvnc and in remote desktop viewer from another ubuntu machine also. I am not able to access(connect) the server in GUI mode(when monitor is removed) but i putty is working fine in cmd line.
I have 2 servers.. let say server A and server B On server A open ssh is configured and is running on port 2298. So from my machine I can login there using ssh on port 2298 But when I login to server B and from there I try to connect to server A I cannot. ssh: connect to host <ipaddress here> port 2298: Connection refused
I have a machine running with slackware64 13.1 and vnc servers is installed on it. It worked for months until yesterday, when I couldnt connect to the machine remotely.
I have 2 vnc "users" on this machine, root and "user". Each have their own desktop. Root has desktop :1 and user had desktop :2. Simple enough.
VNC servers is started via /etc/rc.d/rc.local with the command:
Code:
Code:
It worked flawlessly. I use the very same configuration on my home server, never had a glitch.
From the "distant" machine, I get this error when I try to connect:
Code:
Unable to connect to VNC server
What has changed so it no longer works? I assume its not a network problem since the machines are all located in my home network and there is no firewall or router in between them.
For some reason my mail server (Postfix) seems to have stopped delivering mail.
The error in the mail logs is "status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused) against all mails.
I have researched to try and find an answer, most information on this problem seems to point to a malfunction in the Anti Virus and Spam Filtering solution.
I have checked that Amavisd and Clamd are both operating and have restarted Postfix but all to no avail, squirrelmail is not working either.. ie not even producing a login page.
I have not changed anything in the config and am just wondering if anyone has experienced similar and could point me in the right direction of a solution.
Does this mean that all of my network interfaces are listening as opposed to just one specific network interface? Would 0.0.0.0 include 127.0.0.1?
Also, this computer(A) is on a LAN at my house. It has two network interfaces(eth0 & eth1), both on different subnets. I can connect from another computer(B) on my LAN to this one on one interface(eth0) via SSH just fine. The other interface(eth1) on this computer is hooked up to it's own gateway to the internet using DSL. I'm using this interface(eth1) for running bind.
Anyhow, here's my issue. When using a computer(C), which is a hosted VM , from outside my LAN, to connect to computer(A) via SSH, I get connection refused. So I checked my hosts.deny & hosts.allow files, both empty. I run nmap from computer C and SSH comes up as closed. So I'm thinking it's a firewall issue.
Here's what my iptables -L looks like:
Code:
I've been meaning to learn more about iptables, but which chain is for which network interface? I have also tried running nmap from computer(C) to test bind out on tcp 53 that comes up closed. I run udp 53 and that comes up as closed but then again udp is funny because it's stateless. If I run netcat on udp port 53 from computer C I get a blank line as if it's still running. However, I get that for all other ports anyways so that's of no use.
Unless my AT&T DSL is blocking those ports. But if that were the case would the error 'Connection refused' come up when I try to connect via SSH?
I now have a .tar.gz that has been created during my script, and finnaly i need to upload it via ftp to my computer, but i am unable to because i keep getting the "Connection refused" error, despite the fact that all the syntax appears to be right. in a bout of frustration, i have deleted the code and now no longer have what i had written.. so could someone please let me know the syntax to upload a file to a server? I am aware that other threads have been started about this issue but I am trying to ftp from an iPhone to a computer...
I wanted to download a public repository, from sourceforge.net.I have tried using socat and configure my proxy but with no success, I have given the detailed specification for configuration of the ssh below,
host cfdem user git hostname cfdem.sourceforge.net