I have a machine running thightvncserver as user program. As window manager fluxbox was choosen. When I now make a right click on the background the application menu pops up and I can click on any menu entry..... but then the program doesn't open. I tried with several programs, but no one works. I tested also openbox and it seems that it works there. Is there any debug option I can use to get more information from fluxbox?
Hey Peter, Is this reproducible? What march is the host / client? Could you try getting a backgrace with debugging info? # apt-get build-dep fluxbox $ apt-get source fluxbox $ cd fluxbox-1.1.1-6 $ DEB_BUILD_OPTIONS=nostrip debuild # dpkg -i ../fluxbox_*.deb Also a strace would be fantastic for us mere mortals. Thanks Pete! Paul
PT> Hey Peter, PT> Is this reproducible? What march is the host / client? PT> Could you try getting a backgrace with debugging info? Paul He already did backgrace with debug information. See above:) PT> # apt-get build-dep fluxbox PT> $ apt-get source fluxbox PT> $ cd fluxbox-1.1.1-6 PT> $ DEB_BUILD_OPTIONS=nostrip debuild PT> # dpkg -i ../fluxbox_*.deb PT> Also a strace would be fantastic for us mere mortals. PT> Thanks Pete!
PT>> Could you try getting a backgrace with debugging info? TPT> Paul TPT> He already did backgrace with debug information. See above:) Oh, it is my mistake, I've confused bugreports :)
I think I found the problem. (Just read fbrun source code, but rest will probably work the same). Execl is used to start the program using "$SHELL -c myprogram". This cannot work because I use zsh and output of my $SHELL is zsh - which of course cannot be found by execl (needs full path). Setting shell in my screenrc to /bin/zsh worked around that problem.
Severity: important thanks I'm taking a look into this now. Thanks Peter!
Paul Tagliamonte wrote: wrote: I think the best idea would be to read env['SHELL'] - if that exists then check if we are allowed to execute that file (and that it exists and is not a folder). If it is not a valid shell then just do what is done when no env['SHELL'] is set - use /bin/sh as shell Best regards, Peter