Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I use VNC to connect to a hosted machine. Whenever I start a VNC server at some port and connect to it, I first need to setup my shells for me - 5 of them in a particular configuration that I like and then start my work.

Is there a way to automate this task so that whenever a VNC server is started, my shells are already configured and ready for me to use?

share|improve this question

Have you tried creating




In my version of vncserver, that's where you put your startup commands, e.g.

xterm -geometry 80x25+0+0 &
xterm ...

See also Taking your desktop virtual with VNC.

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.