It probably is. If you use sudo it doesn't use your .tmux.conf, it uses root's .tmux.conf. Remove any default-command or default-shell options from your .tmux.conf. tmux will not start if your default-command or default-shell don't exist.
On Tue, Apr 23, 2013 at 03:23:37AM -0500, Mark Volkmann wrote: > I don't have that. It is looking for it because I just copied > .tmux.conf from my Mac. I don't think that's the issue though because > tmux starts fine if I start it with sudo. That's why I thought it was > an issue with a permission on some other file. > > --- > R. Mark Volkmann > Object Computing, Inc. > > On Apr 23, 2013, at 1:51 AM, Nicholas Marriott > <nicholas.marri...@gmail.com> wrote: > > > Do you have reattach-to-user-namespace? Isn't that for OS X? Probably > > your default-shell or default-command is wrong in .tmux.conf. > > > > > > On Mon, Apr 22, 2013 at 07:33:04PM -0500, Mark Volkmann wrote: > >> Thanks! That produces four files whose names begin with "strace.out.". > >> There are around 20 open() failures across those files that all say "No > >> such file or directory". > >> I suspect all or most of these are expected errors for optional files. > >> Here they are: > >> /etc/ld.so.nohwcap > >> /tmp/tmux-1000/default > >> /etc/tmux.conf > >> /home/pi/.terminfo > >> /etc/terminfo/x/xterm > >> /var/run/nscd/socket > >> /proc/0/cwd > >> /proc/0/cmdline > >> /etc/ld/so.preload > >> /usr/lib/arm-linux-gnueabihf/libfm/bash > >> /usr/local/sbin/bash > >> /usr/local/bin/bash > >> /usr/sbin/bash > >> /usr/bin/bash > >> /sbin/bash > >> /usr/lib/arm-linux-gnueabihf/libfm/reattach-to-user-namespace (related to > >> my Mac configuration) > >> several other directories looking for reattach-to-user-namespace > >> /usr/share/local/en_GB.UTF-8/LC_MESSAGES/bash.mo > >> several other directories looking for bash.mo > >> Does any of this give you a clue? > >> > >> On Mon, Apr 22, 2013 at 8:23 AM, Nicholas Marriott > >> <[1]nicholas.marri...@gmail.com> wrote: > >> > >> Try "strace -ff -ostrace.out tmux new" then look for an open() that > >> fails in the output files. Send me the files if you can't figure it out > >> and I'll have a look. > >> > >> On Mon, Apr 22, 2013 at 08:18:01AM -0500, Mark Volkmann wrote: > >>> * *I was able to install tmux on a Raspberry Pi running the > >> recommended > >>> * *"Wheezy" Debian distribution. However, I wasn't able to start it. > >> When I > >>> * *enter "tmux new -s foo", it just outputs "[exited]". If I run the > >> same > >>> * *command with sudo, it works. Maybe I need to change permissions on > >> some > >>> * *files. Any idea which and why I need to do that? > >>> * *-- > >>> * *R. Mark Volkmann > >>> * *Object Computing, Inc. > >> > >>> > >> > >> ------------------------------------------------------------------------------ > >>> Precog is a next-generation analytics platform capable of advanced > >>> analytics on semi-structured data. The platform includes APIs for > >> building > >>> apps and a phenomenal toolset for data science. Developers can use > >>> our toolset for easy data analysis & visualization. Get a free > >> account! > >>> [2]http://www2.precog.com/precogplatform/slashdotnewsletter > >> > >>> _______________________________________________ > >>> tmux-users mailing list > >>> [3]tmux-users@lists.sourceforge.net > >>> [4]https://lists.sourceforge.net/lists/listinfo/tmux-users > >> > >> -- > >> R. Mark Volkmann > >> Object Computing, Inc. > >> > >> References > >> > >> Visible links > >> 1. mailto:nicholas.marri...@gmail.com > >> 2. http://www2.precog.com/precogplatform/slashdotnewsletter > >> 3. mailto:tmux-users@lists.sourceforge.net > >> 4. https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users