LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-11-2008, 11:28 AM   #1
karpoand
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Rep: Reputation: 0
vncserver problem


Hi!
I'm running vncserver on Red Hat Enterprise Linux 4.0.
I have a problem when I open 250+ applications accessing vncserver it throws an error:

Xlib: connection to ":2.0" refused by server
Xlib: Maximum number of clients reached

Please help me on solving that issue. I need to launch at aproximately 500 applications but actualy at this time it can manage only 265.

Regards,

Andrejs
 
Old 11-11-2008, 11:54 AM   #2
karpoand
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
any suggestions?
 
Old 11-11-2008, 12:15 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Are you opening a separte connection(VNC session) for each app?
 
Old 11-11-2008, 12:17 PM   #4
karpoand
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
nope, everything in one session!
 
Old 11-11-2008, 12:22 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Well you could try opening multiple sesions (from the same machine) to bypass the issue.

It might also help to know what types of things you are running. You MAY be able to write a script(server side) that opens a lot of the apps but is seen as one app (the script) by VNC's counter. Purely a guess as I have never had to open over a few apps at any one time(over VNC).
 
Old 11-12-2008, 08:41 AM   #6
karpoand
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
no, u didn't understand. i need to launch all these applications stricly in one vnc session! i've tryed to simply launch 250 xclocks in one session and on 237 xclock this error occures. I seems that I need to increase these client number. Please,can anyone help?
 
Old 11-12-2008, 12:53 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Why does it HAVE to be in one session?
 
Old 11-13-2008, 02:38 AM   #8
karpoand
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
beacause many users are connecting through this session and therefore there need to be open a big amount of programs
 
Old 11-13-2008, 02:53 AM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
That was my point. Split the users up over several sessions. Each individual session can open 255(roughly) processes. If you need 500 then open two sessions, if 750 then open three, etc. Otherwise I think you will have to completely rewrite VNC to use two(0-255) rather than just one(probably a lot of work).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem w/ vncserver in redhat2.1 limgrace Linux - General 3 01-26-2006 06:49 PM
Robust vncserver startup file (rc.vncserver) arobinson74 Slackware 4 05-14-2005 05:33 AM
vncserver problem on RH Enterprise AS 3 mali Linux - Enterprise 3 03-31-2005 05:01 PM
Vncserver + Kde3.2 = problem Punker51 Linux - Software 5 08-05-2004 10:28 PM
Problem starting vncserver bunghole Linux - Networking 2 10-29-2001 03:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration