LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Setting a users max. no. of file descriptors for remote graphical login (https://www.linuxquestions.org/questions/linux-software-2/setting-a-users-max-no-of-file-descriptors-for-remote-graphical-login-306001/)

azrael808 03-25-2005 01:56 PM

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,

Pete


All times are GMT -5. The time now is 12:55 PM.