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.

You must log in to answer this question.

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