PDA

View Full Version : [Solved] Switch users error with Gnome.


observer
August 18th, 2010, 19:32
Anyone tried to switch user in 7.x, 8.x-RELEASE with Gnome? I got an error when switching from "user A" to "user B". The second Desktop appears full of errors and no Icons. When back to first Desktop all still fine. I've many users on system, wouldn't like to log off and close all programs when I want to switch user. Any idea?

observer
August 20th, 2010, 00:18
Basically, the problem is too much files opened by Gnome. It's necessary to increase the amount of files opened same time on system, to get more users with parallel session.

Solution:

Edit /etc/sysctl.conf and add:

kern.maxfiles=49312

Restart the system or just /etc/rc.d/sysctl restart

This amount works fine for me, and I just found out it is the same value guys form PCBSD 8 use by default.

Yampress
August 21st, 2010, 21:18
try reinstall metacity package from ports

observer
August 22nd, 2010, 02:57
Was not necessary to reinstall any package. The solution I wrote works fine. The problem was solved.