Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 13 Jun 2005 00:47:56 -0400 From: "Fernando Barsoba" Subject: Question about /etc/profile To: Message-id: <000c01c56fd3$116aed50$0202a8c0@SERVER> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit Hello, I'm having problems understanding how cygwin handles the loading of /etc/profile: -> My cygwin.bat says the following: @echo off F: chdir F:\cygwin\bin bash --login -i So, 'bash' supposedly goes and looks for /etc/profile where the environment variables are set (PATH, HOME, etc..). However, my installation doesn't have /etc/profile. Does this mean that I have to create it myself? I do find a f:\cygwin\etc\defaults\etc\profile though... Should I put this one in my cygwin.bat? Another thing that I don't understand is why I am not able to execute 'startx' (X server at /usr/X11R6/bin) even executing first the "profile" from above (manually) and having this profile the following: PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH export PATH Any idea? Thanks! FBM -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/