This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Environment changed after installing postgres


Hi All,

I have cygwin installed on two machines with X server and it has been working very wel.

Now I installed postgresql on one of the machines and the environment changed.
Usually, the environment reported the user as 'Administrator', but now it reports the user as my Windows login name. (id -un)

On the box with Postgres, $HOME=/
On the other box $HOME=/home/Administrator

The /etc/profile file on both machines checks the $HOME variable and sets it if not set.
Looks like on the Postgres machine, the $HOME variable is set before the profile is sourced.

THis cause that XFCE does not find any configuration anymore.

I am also having problems starting ipc-daemon, as the PATH variable gets altered and I don't know where it is done. (I added D:\cygwin\bin to the system Path, but when I start ipc-daemon, it is replaced by D:\cygwin\usr\local\bin)

What setting or file will change the PATH, HOME and environment settings when cygwin is started?

Thanks
--
Andre Truter
Software Engineer
Registered Linux user #185282
ICQ #40935899 AIM: trusoftzaf
http://www.trusoft.za.net

<------------------------------------------------->
< The box said: Requires Windows 95 or better... >
< So I installed Linux >
<------------------------------------------------->



--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]