Skip to content

tmux new session won't start on my Ubuntu server 16.04.2 #900

@ghost

Description

I have a freshly installed Ubuntu server 16.04.2 and tmux 2.1. When tmux isn't running (i.e when I'm in a regular session) I ran the following tmux heredocument which I use to download, install, use, and delete certain programs in a timeout in the background:

(
cat > /dev/shm/my_script.sh && 
chmod +x /dev/shm/my_script.sh && 
tmux new-session -d '/dev/shm/my_script.sh; rm /dev/shm/my_script.sh'
) <<-'EOF'
	# apt-get install utility
        sleep 5h
        # apt-get purge utility
EOF

In this new system, the heredocument fails to work - I run it and it seems to have been runned successfully but nothing changes in the system - No tmux session will start and no utility will be installed.

I would thank you dearly for your opinion on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions