CentOS 5 :: Socket By Xterm Is Missing?
Oct 7, 2010
I use a Windows computer to remotely operate two Centos 5.4 boxes over the Internet. For text or console work I use putty which does an excellent job. But sometimes I need to run a graphical app such as xterm. For that, I use an X Server such as Xming or MobaXterm. Until today, that was working reasonably well. On one Centos, it still does. But on the other one, I started getting an error message that I have not seen before:
[root ]# /usr/bin/system-config-network connect /tmp/.X11-unix/X0: No such file or directory The application 'system-config-network-gui' lost its connection to the display localhost:10.0;
most likely the X server was shut down or you killed/destroyed the application. [root ]# xterm connect /tmp/.X11-unix/X0: No such file or directory X connection to localhost:10.0 broken (explicit kill or server shutdown). [root ]#
View 2 Replies
ADVERTISEMENT
Jun 13, 2011
Start xpdf or gv. Click an xterm to be active and slide it over xpdf/gv. Vertical lines from xpdf/gv under the xterm stick to the xterm window above and make it unreadable.
The problem does NOT show with KDE default settings with display effects on but does show in fvwm, xfce etc, and in KDE without effects.
On a system with a Sandy Bridge integrated graphics (i5-2400) the problem went away by downgrading to xf86-video-intel-2.13.0. But it was not enough for another system with 945G which needed downgrading to xf86-video-intel-2.12.0.
View 3 Replies
View Related
May 2, 2011
i have fluxbox and i need to know how to copy things in xterm and paste them outside of xterm.
View 2 Replies
View Related
Mar 20, 2009
I just installed CentOS 5.2, and would like for xterm to be my default terminal instead of the gnome-terminal. I was able to do this on a RHEL4 system and Fedora 9, but I can't figure out how to do it in CentOS.
Here's the output of uname:
Linux 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 11:57:43 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
View 2 Replies
View Related
Jan 21, 2009
I was having problems getting xterm to work via ssh -Y and the problem was that xauth was not installed when I did yum install xterm
View 1 Replies
View Related
Jun 4, 2010
I want to configure socket timer to release socket(port) once the connection is terminated. Do we have something in Linux OS to configure this delay to release socket?.
Any command, link or man-page anything will be helpful.
I browsed a lot but unable to find it.
View 1 Replies
View Related
Dec 7, 2010
Anyone knows the difference between a socket and TCP connection for connecting to an external system?
View 1 Replies
View Related
May 5, 2009
I had installed Fedora 10
Below is the output of uname -a
Linux 2.6.27.5-117.fc10.i686.PAE #1 SMP Tue Nov 18 12:08:10 EST 2008 i686 i686 i386 GNU/Linux
I need to enable telnet service on it, then found xinetd and telnet-server not installed,
Then I had installed below
First I had installed Xinetd: xinetd-2.3.14-21.fc10.i386.rpm
then I had installed telnet-server: xinetd-2.3.14-21.fc10.i386.rpm
After installation I executed below commands
Service xinetd start
Chkconfig xinetd on
Chkconfig telnet on
Service iptables stop
Chkconfig iptables off
Iptables �F
After I had tried telnet localhost ----IT FAILED
when I run telnet server manually by issuing the below command
/usr/sbin/in.telnetd, I get below error
[COLOR="Red"]/usr/sbin/in.telnetd: getpeername: Socket operation on non-socket[/COLOR]
I have other system running same OS, I had followed the same steps discussed above to enable telnet, It works fine on it.
View 1 Replies
View Related
Jan 8, 2009
I used this Tutorial, to create a php chat daemon. But now I'm getting to the point where i've reach the max socket connexion on my centOs box... I have to much users. Which is 120. when there's more then that number of users in the chat .. things start to get messy. I have tried to change the SOMAXCONN kernel variable without success. I'm sure there is a solution to boost the number of user my chat can handle... (My server is dedicated to the chat).
View 2 Replies
View Related
Jul 6, 2010
i'm writing a simple program of client socket program. Here below is the code sample which i'm writing...
Code:
//tcp_client.c
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include<string.h>
#include<stdlib.h>
[Code].....
the above code works fine.if we copmile and run ./a.exe 192.xx.xx.xxx 1111 and press enter it works fine..everytime it asks "Please enter the message: " and if give that will be displayed in server. but my problem is i dont want to print everytime "Please enter the message: " i just want to feed some words one by one to the socket.
View 4 Replies
View Related
Mar 30, 2009
im getting that error in my code for some reason. I compiled my code, and when i try to run this server it throws me an error on my call to setsocketopt(). The only way it can reach that part of my loop is if it succeeds when it calls sock() so I dont understand why the error says its an operation on a non-socket. Im just trying to set up a server to pass messages from a client to it a viceversa. Here is the code:
Code:
int main()
{
int socket_fd, new_socket_fd, k;
struct addrinfo hints, *server_info, *p;
struct sockaddr_storage peer_address;
code....
View 7 Replies
View Related
May 28, 2009
I am writing a server which uses edge-triggered epoll. When the server calls accept(), it just extracts the first connection in the pending queue. If there are more connections that are waiting, can we make the server accept all the pending connections? I wrote a loop like the following:
do {
client_fd = accept(...);
/* Work with the client fd */
} while (client_fd != -1); [/code]
Doesn't seem to work. A related question, more a clarification, is as follows. My understanding was that a connect() at the client returns only when accept() in the server returns. Clearly, I was incorrect. Even with no accept() call in the server, my client was able to connect and send data. Am I getting this right?
View 2 Replies
View Related
Nov 3, 2009
I have a PC connected by ethernet to a Galil motion controller card.I recently installed Centos 5.The Galil software for communicating with the card is reporting that it can't join a multicast socket group.The software used to work with another version of Linux.
View 6 Replies
View Related
Apr 26, 2010
During the boot of CentOs I see this message which never stops scrolling during all the boot :
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
View 3 Replies
View Related
Sep 15, 2009
We are seeing recv err on socket 31: 0x36. What could be meaning of the error?.
View 1 Replies
View Related
May 21, 2009
I have a cgi script that tries to get the IP address of a domain. the Domain is defined in Bind, yet it can not resolve it. I put the domain in the host file and it then gives a Error: unable to create socket - Permission denied
I figure I have to do some code changes to the script but here I would like an explaination as to the error I am getting.
View 1 Replies
View Related
Aug 20, 2010
I've just installed xterm, ant trying to run it from my windows machine using ssh. I have X11Forwarding yes on /etc/ssh/sshd_config when I use, MobaXterm, np, I can use xterm after I log ssh -X xxx
but when I use Cygwin, and do ssh -X xxx, and then xterm, I have: xterm XT error : Can't open display: xterm: Display is not set
View 3 Replies
View Related
Jul 3, 2009
I have a xterm which can have 256 colors. How can I configure the prompt colors and ls output colors to take advantages of the 256 color values?
View 4 Replies
View Related
Jan 31, 2010
I am pragmatically trying to upload a list of files from my client machine to a proFTPd server I have running on Ubuntu. Every time I get several (around fifty) files into the transfer, I get the following error: Quote: Connection reset by peer: socket write error
I am able to remotely upload 25,000 small files of ~ 1K in size, but when I go to upload hundreds of 2-4 Mb files, I get a socket write error. Am I using up all available sockets before they can be released? If so, how do I release the sockets? If not, what does this error mean and why am I getting it?
View 1 Replies
View Related
Feb 22, 2010
I just performed a clean install of CentOS 5.4 on a Dell PowerEdge 1950III server. When I booted up for the first time, I begin seeing problems with the following error:There was an error loading the theme TreeFlowerFailed to open file'/usr/share/gdm/themes/TreeFlower/background.png': No such file or directoryOnce I hit OK there I get this:There was an error loading the theme, and the default theme could not be loaded. Attempting to start the standard greeterI then get the standard greeter, and I am able to log in as root. However, once logged in I can open neither Firefox nor a terminal. I can use some programs such as OpenOffice.org, but I cannot use a terminal or a web browser.The next thing I try is to log in to a failsafe terminal session. When I try this I get perhaps the most worrisome error so far:Cannot find "xterm" to start a failsafe session.
View 1 Replies
View Related
Mar 8, 2011
iam just trying to connect to server which accepts one client and server will read(blocking operation) infinitely, but After closing the client socket the server "read operation" is returning zero and "errno variable(in errno.h)" value is also zero. how can i detect whether a client socket is closed/active..?
client.c
Serv_Addr.sin_family = AF_INET;
Serv_Addr.sin_addr.s_addr = inet_addr("127.0.0.1");
Serv_Addr.sin_port = htons(26553);
if( 0 > connect (Serv_Fds,&Serv_Addr,sizeof(Serv_Addr)) )
{
perror("connect");
return 0;
[Code]....
View 3 Replies
View Related
Dec 17, 2010
I have been trying to install clisp on one of our systems and get the error: Missing Dependency: libsigsegv.so.0()(64bit) for package: clisphowever, I have checked and the library libsigsegv-2.7-1.el5.rf.x86_64 and its associated header file package are, in fact,installed.
View 3 Replies
View Related
May 25, 2010
In looking at the release notes, I saw the comment File locations changes:
* MySQL socket file and pid file were moved from /var/lib/mysql to more reasonable location /var/run/mysql by default.
* MySQL log files are in /var/log/mysql. Not sure what I was supposed to do with that information. So I ignored it. Now, I am finding some issues with it. The web server works, but any connection to the database fails with 2002: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)The thought dawned on me that maybe all my databases were erased and none set up. Going in to the terminal, I could connect and list and query the databases. So even though I backed them up, they still are there!
phpMyAdmin gives the same error message.
However, when I go into MySQL Administrator, it works fine.
I forgot where I saw it, but the socket is still set to var/lib/mysql. I could not find any mysql install log and would say what was in my cnf.my, but it still doesn't exist just as it has not in the past. Not sure if I should allow the MySQL Administrator to create it since I always ignored the prompt in the past and it worked. (Just wishing to keep the defaults)
At first I thought the upgrade upgraded the MySQL, but it's still 5.1.39 as I believe before. I've un-installed mysql-server and re-installed it with no change.
Can anyone can tell me how to get the socket to /var/run/mysql or what else is wrong? I read one place where mysql is supposed to set it up.
View 9 Replies
View Related
Jun 15, 2011
I tried to installed Centos5.4 version on Dell PC intel corei3 inspiron580s and succeeded but found some issues following below
1 Hardware issue for LAN driver ( Broadcomlink(TM)gigabit ethernet)
2 Display Driver not support and also missing Xorg.config file (i.e ., My Screen Starts from center of screen )
3. What is minimum configuration for centos 5.4 ?
View 2 Replies
View Related
May 18, 2009
Fresh instalaation of Centos 5.3 (32 bit machine). Got the Dag-Wier repos set up. Ran yum install videolan-client which found one missing dependency: libdvdread.so.3 is needed by vlc.0.9.9-2.el5.rf.i386. Looking in /usr/lib, I find libdvdread.so.4.1.3 installed, but no libdvdread.so.3. I created a symboloic link libdvdread.s0.3 -> libdvdread.so.4..1.3 and rand ldconfig. Tried to install videolan-client again with yum but got the same failed dependency. how to get vlc installed?
View 3 Replies
View Related
Jun 13, 2009
After upgrading to 5.3 I don't have xm anymore, anyone else with this problem or know how to fix it?
Quote:[root@xxxxxxx /]# xm list
bash: xm: command not found
View 2 Replies
View Related
Jan 12, 2010
I don't know why but my Yum is completely missing on my CentOS 5.2 code...
View 12 Replies
View Related
May 28, 2010
Today, I try to update firefox by Package Updater but show error by bellow. "Missing Dependency: xulrunner >= 1.9.0.19-1 is needed by package firefox-3.0.19-1.el5.centos.x86_64 (CentOS5updates)"
View 6 Replies
View Related
Jul 4, 2010
My friend bought an old hard drive. He noticed something with the hard drive that it was just replaced with a SATA socket. So meaning, the SATA socket was soldered to the PATA hard disk to replace the PATA socket to SATA socket to make it a SATA.
Now the question is:
1. Does the Transfer Rate of the harddisk (that has been replaced from PATA socket to SATA socket) would be SATA transfer rate? OR would still be PATA transfer rate?
View 4 Replies
View Related
Mar 12, 2010
Not so long time ago I have installed Centos 5.3 on my AMD Phenom II X4 server (I am hosting game servers on it). Only today I noticed, that cpuinfo shows me only two CPUs. I watched for the info in the dmesg and found there that the system boots up only 2CPUs.
Here is some info from the dmesg:
Quote:
Linux version 2.6.18-164.11.1.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Wed Jan 20 07:32:21 EST 2010
Command line: ro root=/dev/VolGroup00/LogVol00
ACPI: Local APIC address 0xfee00000
[Code]....
Am I correctly understand that something wrong in BIOS? Or it is something else?
View 9 Replies
View Related