I have an installation of RHEL5.10 (2.6.18-371.11.1.el5) with vncserver:

# rpm -qa | grep vnc

While my other installations of same versions do source /etc/profile and ~/.bashrc and ~/.bash_profile, this server ignores it. Where should I look in order to find what is missing?

1 Answer 1


Generally, when started by a normal user, VNC reads ~/.vnc/xstartup for its initialization. This is just a shell script, so you can put your environment settings, variables, and other configuration options there, as well as executing or sourcing other shell scripts as necessary.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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