tightvnc and /etc/profile
I'm running tightvnc (server) on Mandrake 9.1. I am able to establish a session just fine from my Windows XP box, but the sessions do not pick up path and environment variable changes I've made to /etc/profile.
If I log into the Mandrake box directly my path and environment variables are set correctly according to the changes I made to /etc/profile. Also, if I ssh to the box the settings are also correct. I also tried changing ($HOME)/.bash_profile and that didn't work either. I'm running tightvnc-server-1.2.7-5mdk. Any ideas? |
Try setting them in the tightvnc startup script befroe the window manager is launched.
|
That worked! Thanks. Any suggestions on how to manage the multiple 'profiles'?
|
Multiple profiles?
|
I simply meant that I wanted to avoid having to maintain path and environment variables in multiple places, i.e. in profile and in xstartup. I've taken the approach of putting my path and enviroment settings in a script file and running it from profile and xstartup.
|
I discovered another technique:
in /etc/X11/Xsession change #!/bin/sh to #!/bin/bash --login |
All times are GMT -5. The time now is 11:30 AM. |