Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-25-2005, 01:56 PM   #1
Registered: Dec 2004
Location: London, UK
Distribution: Fedora and CentOS
Posts: 43

Rep: Reputation: 15
Setting a users max. no. of file descriptors for remote graphical login

Hi all,

I don't know if this question has been answered already, but I can't find an answer in Google, so here goes:

I am trying to set a particular users file descriptor limit to 8192 (4x1024) on a SuSE 9.1 system. I have added an entry in /etc/security/limits.conf like this:

username hard nofile 8192

and added the following to BOTH ~/.profile and ~/bashrc for the required user:

ulimit -n 8192

When I log in to the box with SSH, and try 'ulimit -a', I am informed that the users max number of file descriptors is 8192, as desired. However, if I VNC into the box, and log in remotely using a graphical interface, the limit is still 1024. When I start a konsole, I am greeted with the message:

bash: ulimit: open files: cannot modify limit: Operation not permitted

And I receive the same message when I attempt to perform the operation manually.

How can I configure my system so that the user's max number of file descriptors is 8192, regardless of how he logs into the system?

I'm stumpted!!! I hope someone can shed some light on the matter.

Thank you,



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
KDE Graphical login and Samba Users mcle Linux - Networking 1 01-05-2005 07:36 AM
Remote Graphical Login to Redhat yogi1061 Linux - Software 2 10-08-2004 06:01 PM
Red Hat 9 Remote Graphical Login ikuomanero Linux - General 0 05-03-2004 07:07 PM
Exceed - remote login to Linux (graphical) Beuzekom Linux - Software 7 10-20-2003 01:43 PM
SSH logins and limiting remote users login rights. redgore Linux - Networking 2 07-16-2002 03:22 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:54 PM.

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