Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I open a new terminal it gets automatically closed. I'm running Arch Linux, and Xforce4 terminal.

$ terminal --execute sudo arpspoof -i $(cat var.log|awk '{print $1}') \
           -t $(cat var.log|awk '{print $4}') $(cat var.log|awk '{print $3}')


# terminal --execute arpspoof -i $(cat var.log|awk '{print $1}') \
           -t $(cat var.log|awk '{print $4}') $(cat var.log|awk '{print $3}')

Error printed upon execution of either of the above commands:

Unable to register terminal service: Did not receive a reply. Possible causes
include: the remote application did not send a reply, the message bus security
policy blocked the reply, the reply timeout expired, or the network connection
was broken.
share|improve this question

The "default" behavior for a terminal is to terminate when the program it has been instructed to run is finished. It does this because this is the most practical thing to do. If you wish to read the output before it disappears, consider adding a command at the end like so:

urxvt -e sh -c 'cowsay howdy?; sleep 1337'

Some terminals, such as rxvt-unicode have an option to hang around until closed by the window manager:

    Turn on/off hold window after exit support. If enabled, urxvt will 
    not immediately destroy its window when the program executed within 
    it exits.  Instead, it will wait till it is being killed or closed by 
    the user; resource hold.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.