Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

1 Answer

Have you tried creating

~/.vncstartup

or

~/.vnc/xstartup

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
add comment

Your Answer

 
discard

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.