Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#84 start-server broken in 1.8?

closed
nobody
None
2014-02-26
2013-11-29
Von Welch
No

Seems like a tmux server started with 'tmux start-server' immediately exits. (I thought this worked in 1.7 but can't easily check this.)

% mv .tmux.conf .tmux.conf.aside
% tmux -v start-server
% tmux ls
failed to connect to server
Status: 1
% cat tmux-server-22741.log
server started, pid 22741
socket path /private/var/folders/m8/gnz6f3cj1cl_08p8_k0f50nrj1yqws/T/tmux-572481433/default
new client 7
got 6 from client 7
got 0 from client 7
cmdq 0x7fc42140f330: start-server (client 7)
writing 3 to client 7
lost client 7

Related

Tickets: #84

Discussion

  • start-server does not create any sessions and servers do not stay around
    without sessions. It has always been this way. If you want to use
    start-server, create a session in .tmux.conf.

    On Fri, Nov 29, 2013 at 03:29:57AM +0000, Von Welch wrote:


    [1][tickets:#84] start-server broken in 1.8?

    Status: open
    Created: Fri Nov 29, 2013 03:29 AM UTC by Von Welch
    Last Updated: Fri Nov 29, 2013 03:29 AM UTC
    Owner: nobody

    Seems like a tmux server started with 'tmux start-server' immediately
    exits. (I thought this worked in 1.7 but can't easily check this.)

    % mv .tmux.conf .tmux.conf.aside
    % tmux -v start-server
    % tmux ls
    failed to connect to server
    Status: 1
    % cat tmux-server-22741.log
    server started, pid 22741
    socket path /private/var/folders/m8/gnz6f3cj1cl_08p8_k0f50nrj1yqws/T/tmux-572481433/default
    new client 7
    got 6 from client 7
    got 0 from client 7
    cmdq 0x7fc42140f330: start-server (client 7)
    writing 3 to client 7
    lost client 7


    Sent from sourceforge.net because tmux-users@lists.sourceforge.net is
    subscribed to [2]https://sourceforge.net/p/tmux/tickets/

    To unsubscribe from further messages, a project admin can change settings
    at [3]https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is
    a mailing list, you can unsubscribe from the mailing list.

    References

    Visible links
    1. http://sourceforge.net/p/tmux/tickets/84/
    2. https://sourceforge.net/p/tmux/tickets/
    3. https://sourceforge.net/p/tmux/admin/tickets/options.


    Rapidly troubleshoot problems before they affect your business. Most IT
    organizations don't have a clear picture of how application performance
    affects their revenue. With AppDynamics, you get 100% visibility into your
    Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
    http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk


    tmux-users mailing list
    tmux-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/tmux-users

     

    Related

    Tickets: #84

    • Von Welch
      Von Welch
      2013-11-29

      start-server does not create any sessions and servers do not stay around
      without sessions. It has always been this way. If you want to use
      start-server, create a session in .tmux.conf.

      Thanks for the clarification.

      I suggest adding a note to the man page, e.g.:

      start-server
      (alias: start)
      Start the tmux server, if not already running, without creating
      any sessions. Note: A server without sessions will immediately
      exit, hence this command is only useful if you start a session
      in
      tmux.conf.

      Von

      On Fri, Nov 29, 2013 at 6:38 AM, Nicholas Marriott nicm@users.sf.netwrote:

      start-server does not create any sessions and servers do not stay around
      without sessions. It has always been this way. If you want to use
      start-server, create a session in .tmux.conf.

      On Fri, Nov 29, 2013 at 03:29:57AM +0000, Von Welch wrote:


      [1][tickets:#84] start-server broken in 1.8?

      Status: open
      Created: Fri Nov 29, 2013 03:29 AM UTC by Von Welch
      Last Updated: Fri Nov 29, 2013 03:29 AM UTC
      Owner: nobody

      Seems like a tmux server started with 'tmux start-server' immediately
      exits. (I thought this worked in 1.7 but can't easily check this.)

      % mv .tmux.conf .tmux.conf.aside
      % tmux -v start-server
      % tmux ls
      failed to connect to server
      Status: 1
      % cat tmux-server-22741.log
      server started, pid 22741
      socket path
      /private/var/folders/m8/gnz6f3cj1cl_08p8_k0f50nrj1yqws/T/tmux-572481433/default
      new client 7
      got 6 from client 7
      got 0 from client 7
      cmdq 0x7fc42140f330: start-server (client 7)
      writing 3 to client 7
      lost client 7


      Sent from sourceforge.net because tmux-users@lists.sourceforge.net is
      subscribed to [2]https://sourceforge.net/p/tmux/tickets/

      To unsubscribe from further messages, a project admin can change
      settings
      at [3]https://sourceforge.net/p/tmux/admin/tickets/options. Or, if
      this is
      a mailing list, you can unsubscribe from the mailing list.

      References

      Visible links
      1. http://sourceforge.net/p/tmux/tickets/84/
      2. https://sourceforge.net/p/tmux/tickets/
      3. https://sourceforge.net/p/tmux/admin/tickets/options.

      >

      Rapidly troubleshoot problems before they affect your business. Most IT
      organizations don't have a clear picture of how application performance
      affects their revenue. With AppDynamics, you get 100% visibility into
      your
      Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
      AppDynamics Pro!

      http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk


      tmux-users mailing list
      tmux-users@lists.sourceforge.net
      https://lists.sourceforge.net/lists/listinfo/tmux-users


      [tickets:#84] start-server broken in 1.8?

      Status: open
      Created: Fri Nov 29, 2013 03:29 AM UTC by Von Welch
      Last Updated: Fri Nov 29, 2013 03:29 AM UTC
      Owner: nobody

      Seems like a tmux server started with 'tmux start-server' immediately
      exits. (I thought this worked in 1.7 but can't easily check this.)

      ~~~~
      % mv .tmux.conf .tmux.conf.aside
      % tmux -v start-server
      % tmux ls
      failed to connect to server
      Status: 1
      % cat tmux-server-22741.log
      server started, pid 22741
      socket path
      /private/var/folders/m8/gnz6f3cj1cl_08p8_k0f50nrj1yqws/T/tmux-572481433/default
      new client 7
      got 6 from client 7
      got 0 from client 7
      cmdq 0x7fc42140f330: start-server (client 7)
      writing 3 to client 7
      lost client 7
      ~~~~


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/tmux/tickets/84/>

      To unsubscribe from further messages, please visit <
      https://sourceforge.net/auth/subscriptions/>

       

      Related

      Tickets: #84

    • status: open --> closed
    • Milestone: -->