PDA

View Full Version : Multiple xterm sessions in gnome


xchanyazy
01-31-2002, 06:35 PM
Don't know if anyone else was having this problem, but I thought I'd post the answer to it here just in case.
Problem:
Whenever I started up Xdarwin/xfree86, which I have setup to run gnome, I would get several (10ish) xterm windows that just appeared as soon as the window manager had loaded.
Solution:
I looked in ~/.gnome/sessions with pico and found several lines of code that looked like this
8,id=117f000001000101251952100000225860000
8,Program=xterm
8,CloneCommand=xterm
8,RestartCommand=xterm
with the numbers at the beginning of the line going from 8 to 22. I deleted all of these except for the original.
After wards, it had a line that said
num_clients=23
I changed 23 to 9, logged out, and when I started again, it opened with only one xterm window. Hope this can help someone else.