Mihai Popescu B.S. wrote: > Hello all, > > I've run in some problem with gnome-mplayer. Basicaly, there is a > difference in functioning if I run this application from xterm or > graphical menu ( i use fbpanel menu). From xterm it works fine, it > plays the movie. From graphical menu, it doesn't. It reports a "Bad > file descriptor". > > More details are here (gnome-mplayer list): > http://groups.google.com/group/gecko-mediaplayer/browse_thread/thread/9b940dfb583c0651 > > So, can anyone spot a difference of the two ways of running an application > ? > > Thanks
This is a bit of a long shot. I noticed when running a desktop system like Gnome or KDE the process limits of users in the default class may get in the way. (Don't know how resource hungry your desktop system is) You could look at ksh(1) for the ulimit option to increase the number of processes / file descriptors. You may also want to use / set up a class different from the default. (see login.conf(5)) e.g. to raise some limits I've put myself in the staff class and I have this in my ~/.profile: ulimit -Sd 2048000 -Sn 1024 -Sp256