12-12-2008
Xlib: connection refused by server
Hi guys i am facing this issue while opening new xterm window.please help me out.
Xlib: connection to "delop125ld:0.0" refused by server
Xlib: Maximum number of clients reached
xterm Xt error: Can't open display: delop125ld:0.0
thanks
10 More Discussions You Might Find Interesting
1. SCO
I installed Openserver 5.0.7 and I cannot telnet to the localhost and I can't telnet from my old SCO 3.2.42 to the new SCO machine but I can ping the new machine and it will telnet to the old machine. (2 Replies)
Discussion started by: printrick
2 Replies
2. Shell Programming and Scripting
I need your help please.
In order to run a script after a ftp connection, ive got initially this problem:
from unix pc machine to a Unix server i could ftp succesfully but in reverse (i mean from unix to pc machine i cant ftp. The error message is this
ftp 192.168.29.90
ftp: connect: Connection... (1 Reply)
Discussion started by: alexcol
1 Replies
3. IP Networking
Hi there,
Anything will help.
I have running server on computer and want to connect from some clients.
Server:
memset(&hints, 0, sizeof(hints));
hints.ai_family = domain;
hints.ai_socktype = SOCK_STREAM;
error = getaddrinfo("localhost", "8300", &hints, &res0);
if (error)
{
... (1 Reply)
Discussion started by: Dudu1984
1 Replies
4. Programming
OS : Solaris sparc
In c program After socket created when I do Connect() it results "Connection refused", but the system is online and I am able to do telnet, ping everything, but it says connection refused.
What would need to correct ? (6 Replies)
Discussion started by: satish@123
6 Replies
5. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
6. UNIX for Advanced & Expert Users
Hi- While trying ftp from AIX to Windows im getting below error. Can anyone share ur views on this topic.
root@AB101# ftp -n 10.192.168.68
ftp: connect: A remote host refused an attempted connect operation.
ftp>
Thanks. (3 Replies)
Discussion started by: yanis
3 Replies
7. Debian
I have two computers running Debian 6.0 and one running Solaris 2.6 on a private network. The Debian computers can ftp to the Solaris computer but if a Debian computer is the destination the ftp connection is refused. I assume this is some security feature of Debian. What can I do to allow... (2 Replies)
Discussion started by: snorkack59
2 Replies
8. AIX
HI ,
I'm facing the FTP connection refused from text editor while accessing AIX server .It showing the messege "can't create ftp connection connectin refused".Though it is accessible from putty .
i'm using aix version 6 .
Can any one let me know the seetings needs to be made so that i... (2 Replies)
Discussion started by: rmkganesh
2 Replies
9. Shell Programming and Scripting
Hi I am trying to execute a shell script which is in unix server gs1. The script is below which basically connects to another unix server q15 and tries to get a file using FTP .
But i get error as "ftp: connect: Connection refused
Not connected.
Not connected."
Please help with if the below... (8 Replies)
Discussion started by: samrat dutta
8 Replies
10. Solaris
I installed a fresh copy of Solaris 7 and present up my ip and domain for my web services but when I try to connect to it I get the following error;
TCPActiveOpen: connect failed tcp/192.168.1.148/7900: 146 (Connection refused).
the port is open in my router but I don't no were to add it in... (5 Replies)
Discussion started by: Wpgn
5 Replies
LEARN ABOUT HPUX
xgetdefault
XGetDefault() XGetDefault()
Name
XGetDefault - extract an option value from the resource database.
Synopsis
char *XGetDefault(display, program, option)
Display *display;
char *program;
char *option;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
program Specifies the program name to be looked for in the resource database. The program name is usually argv[0], the first argument on
the UNIX command line.
option Specifies the option name or keyword. Lines containing both the program name and the option name, separated only by a period or
asterisk, will be matched.
Returns
The resource value.
Description
XGetDefault() returns a character string containing the user's default value for the specified program name and option name. XGetDefault()
returns NULL if no key can be found that matches option and program. For a description of the matching rules, see XrmGetResource().
The strings returned by XGetDefault() are owned by Xlib and should not be modified or freed by the client.
Lines in the user's resource database look like this:
xterm.foreground: #c0c0ff
xterm.geometry: =81x28
xterm.saveLines: 256
xterm.font: 8x13
xterm.keyMapFile: /usr/black/.keymap
xterm.activeIcon: on
xmh.header.font 9x15
The portion on the left is known as a key; the portion on the right is the value. Uppercase or lowercase is important in keys. The con-
vention is to capitalize only the second and successive words in each option, if any.
Resource specifications are usually loaded into the XA_RESOURCE_MANAGER property on the root window at login. If no such property exists,
a resource file in the user's home directory is loaded. On a UNIX-based system, this file is $HOME/.Xdefaults. After loading these
defaults, XGetDefault() merges additional defaults specified by the XENVIRONMENT environment variable. If XENVIRONMENT is defined, it con-
tains a full path name for the additional resource file. If XENVIRONMENT is not defined, XGetDefault() looks for $HOME/.Xdefaults-name,
where name specifies the name of the machine on which the application is running. If length of ".Xdefaults-name" is greater than 255, then
$HOME/.Xdefaults-IP address is looked for instead, where IP address is the internet address of the host.
The first invocation of XGetDefault() reads and merges the various resource files into Xlib so that subsequent requests are fast. There-
fore, changes to the resource files from the program will not be felt until the next invocation of the application.
For more information, see Volume One, Chapter 13, Managing User Preferences.
See Also
XAutoRepeatOff(), XAutoRepeatOn(), XBell(), XChangeKeyboardControl(), XGetKeyboardControl(), XGetPointerControl().
Xlib - User Preferences XGetDefault()