Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

The issue Im having is when I use &. For example

vncviewer &

This should run vncviewer in the background, allowing me to continue using terminal for other stuff. vncviewer on the other end (on a vista box) responds in my ubuntu terminal with


I cant type the password, as that process is in the background, so I

[ctrl + a] fg %1 [enter]

to it, which is supposed to give that process 'focus'. However, at that point, the keyboard is unresponsive, as in ctrl-c dosent work, no text appears when I type, enter, esc.. all dead. :( The only way out is to close the terminal.

Very minor issue, everything works really, just would like not to have multiple terminals open. (Ive tried screen, would use it if there were tabs.)

share|improve this question
up vote 3 down vote accepted

skip the & in this case...

simply start the vncviewer without forking... then after typing in password, hit control-z to background the task (it will suspend it)... and type "bg" to let it continue to run in the background.

share|improve this answer
muchas gracias! – the guy going gray from this Apr 13 '11 at 17:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .