xlib error


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users xlib error
# 1  
Old 11-12-2008
xlib error

Hello!
Im running tight VNC on Red Hat Enterprise Linux 4.0.
How can I increase the number of X clients that I can run
in a VNC session?I need to run aproximately 500 programs in one VNC session,
but at this time I can only 236 -> i've tryed to launch 250 xclock's in background
and when it comes to 237, the error Xlib:Maximum number of clients reached
comes out. Please, help me on solving that issue!
# 2  
Old 11-12-2008
I have not messed with vnc for years. There is a ~/.vncrc file and /etc/vnc.conf file as well. Those control user-level and system level settings. I do not recall a concurrent client limit setting. Check your docset.

My real question is - are you really sure you need 500?
# 3  
Old 11-12-2008
my objective is to solve this issue and find out why I can launch only 237 programs and where this clients number could be changed, I don't have such files in such directories which you posted. I have .vnc/xstartup file with parameters:
#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startx&
# 4  
Old 11-13-2008
any idea?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

PangoX cannot find Xlib.h

Hello. I used to have Pango compiled, however it did not have X support, only Freetype support. Since gtk requires pangoX to be compiled, I went to compile it with Xsupport. I had to issue a ./configure --prefix=/media/34GB/Arquivos-de-Programas-Linux/PangoX-1.8.2/... (1 Reply)
Discussion started by: colt
1 Replies

2. Programming

Xlib search window by his name

Hello, I just try to get the control of a Window by searching his name. I curretly do that : Window CMD::window_from_name_search(Display *display, Window current, char const *needle) { Window retval, root, parent, *children; unsigned children_count; char *name = NULL; ... (0 Replies)
Discussion started by: Loustak
0 Replies

3. Programming

[xlib] Image has just 1/4 size

Hello, i'm trying to show the Image of an monochrome webcam in an xlib-Window. initializing of the window: if (NULL == ((*XWindow)->display = XOpenDisplay(NULL))) APPLICATION_Set_Error(V4LCamera->Application, XWINDOW, "failed to open display", 123, -1, APPLICATION_ERROR_MESSAGE); ... (1 Reply)
Discussion started by: mirrowwinger
1 Replies

4. Programming

Xlib registering

hey, Im new to the linux world. Lately, I have tried to create a glx window with xlib, making it a popup window(fullscreen) so I set override_redirect to true. Im happy with the removed borders, but apparantly, the application doesnt show up in the left bar in ubuntu, neither when I press alt... (4 Replies)
Discussion started by: thedardanius
4 Replies

5. UNIX for Advanced & Expert Users

Xlib: XKeysymToKeycode hangs

Two simple questions related to the following puzzling behaviour: I have the following line of code: const KeyCode kc = XKeysymToKeycode(_display_p, ks); where _display_p is a valid Display* returned from XOpenDisplay() and ks has the value 103 (which was returned by XStringToKeysym(),... (2 Replies)
Discussion started by: N7DR
2 Replies

6. Homework & Coursework Questions

Xlib help - Array of Structs

Hey guys! First of all english is not my main language so sorry for any english mistakes. Im from Portugal! 1. The problem statement, all variables and given/known data: Im having a problema creating and array of structs for a work i need to do. (xLib) 2. Relevant commands, code,... (1 Reply)
Discussion started by: Spiritvs
1 Replies

7. Programming

Xlib help - Array of Structs

Hey guys! First of all english is not my main language so sorry for any english mistakes. Second im a total beginner in programming, still i have a school work to do and i found a problem. Probably something easy to solve but it's driving me crazy. So i created a struct, that holds 4 ints: ... (1 Reply)
Discussion started by: Spiritvs
1 Replies

8. UNIX for Dummies Questions & Answers

Xlib Errors

Hi, I am handling user issues in my team. Users have their Unix session running on Citrix MFU. Recently, I was suppose to address a user issue which is as below: Gets the below error when tries to open nedit: Xlib: connection to ":165.0" refused by server Xlib: Client is not... (1 Reply)
Discussion started by: mspatil0037
1 Replies

9. Programming

problems with drawing in x using xlib

Hi all, I'm currently learning xlib and I've encountered a bizarre mistake: function calls such as XDrawPoint, XDrawLine, etc., don't seem to work; a blank window with nothing in is appears. I believe this has something to do with the window manager I use, fluxbox. After checking the code and... (0 Replies)
Discussion started by: hydronium
0 Replies

10. UNIX and Linux Applications

vncserver xlib error

Hello! Im running tight VNC on Red Hat Enterprise Linux 4.0. How can I increase the number of X clients that I can run in a VNC session?I need to run aproximately 500 programs in one VNC session, but at this time I can only 236 -> i've tryed to launch 250 xclock's in background and when it... (0 Replies)
Discussion started by: karpoand
0 Replies
Login or Register to Ask a Question