You can't make tmux sessions last across reboot unless you configure
what windows to create and programs to run explicitly in .tmux.conf.



On Wed, Feb 15, 2012 at 08:24:36AM +0100, Thorsten wrote:
> Nicholas Marriott <nicholas.marri...@gmail.com> writes:
> 
> Hi
> 
> > You mean "pkill X", right? "pkill x" will kill tmux as well.
> 
> Ah, I see. I started out with "pkill X" like in the ArchLinux wiki, then
> found out that "pkill x" does the same thing and is easier to type. A
> tad too naive, apparently ...
> 
> > If so, you probably want to press C-F1 or whatever to get back to your
> > running tmux session or do "tmux attach" to attach it to the current
> > terminal.
> 
> Yesterday I tried 'd' "tmux detach" when shutting down my machine, but
> still "tmux ls" does not show me any old sessions to attach to. I'm
> still not sure how to shutdown and preserve my session for the next boot
> to attach to them again.
> 
> > If you DO want to kill tmux as well, pkill tmux or tmux kill-server
> > are fine.
> 
> If I don't kill tmux explicitly - just shutting down from a bash window
> in a tmux session - it would be there running after the next boot?
> 
> Probably very newbie questions, sorry for that, and it might be
> documented somewhere, but I find a lot of details everywhere but still
> don't get the big picture.
> 
> thanks for your answer.
> 
> > On Tue, Feb 14, 2012 at 06:48:59PM +0100, Thorsten wrote:
> >> Hallo list, [newbie question ahead] after discovering the nice
> >> possibility of having a console session and a X session runnung at
> >> the same time with tmux, and using C-M-F1 and C-M-F7 to switch
> >> between the X applications and the console window in the X session, I
> >> still need a way to get out of the X session without killing tmux.
> >> When I do 'pkill x' in an xterm, I find myself in a bash console, and
> >> there is no tmux running anymore.
> >> 
> >> Maybe I still have to learn more about this whole session concept,
> >> but for now, while knowing how to start a nice working environment
> >> with a console and a X session, I need a way to shut everything down
> >> gracefully in a controlled and intelligent way.
> >> 
> >> Any tips or links to related docs would be appreciated.
> >> 
> >> cheers Thorsten
> >> 
> >> PS Killing tmux by accident with pkill X does leave some orphan
> >> sessions on my machine?
> >> 
> >> 
> >> ------------------------------------------------------------------------------
> >> Keep Your Developer Skills Current with LearnDevNow! The most
> >> comprehensive online learning library for Microsoft developers is
> >> just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> >> Metro Style Apps, more. Free future releases when you subscribe now!
> >> http://p.sf.net/sfu/learndevnow-d2d
> >> _______________________________________________ tmux-users mailing
> >> list tmux-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/tmux-users
> >
> > ------------------------------------------------------------------------------
> > Virtualization & Cloud Management Using Capacity Planning Cloud
> > computing makes use of virtualization - but cloud computing also
> > focuses on allowing computing to be delivered as a service.
> > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> 
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to