delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/03/01:10:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO
X-Spam-Check-By: sourceware.org
X-DN-AuthenticatedSender: YC6CUXTEK77UNJRX6WYENYJNTW6WJAAA-EfYTik0VuLYzt8UPv mY4qQuqfocTvnyVUYOkrst+0/KxPLdgstrCcxSjakLEceyoOjx QsoP4Cy0=---
From: "siegfried" <siegfried AT heintze DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Where are home directories for other users besides my Admin account?
Date: Wed, 2 Sep 2009 22:09:48 -0700
Message-ID: <8D7A7D4B54E940AC8B962EE7612C39A9@kingmark>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I apologize if this appears twice. I think the first time I sent it it was
in HTML format and I never saw it appear on the list.

Surely someone has already posted a solution to my problem and I've been
google searching for it and 
just cannot find it.
 
The Cygwin setup.exe program has correctly setup the home directory for my
windows admin account 
called heintze-local. Startx for XWindows works!  However, when I log out
and log into the non-admin 
account heintze, startx does not work. It tries to create some files in the
/cygdrive/h directory and this 
does not work well because there is no such drive.
 
When I type cd ~/ when logged into the heintze-local account, it correctly
goes the /home/heintze-
local directory.
When I type cd ~/ when logged into the heintze account, it incorrectly goes
to the /cygdrive/h 
directory.
 
When I edit /etc/passwd I see there is no entry for the heintze account but
there is an entry for 
heintze-local.
 
I think the fix should be mkpasswd -l -d /etc/passwd but this says (when run
from the heintze 
account)
 
mkpasswd (739): [1212] The format of the specified domain name is invalid.
 

Here is what uname says.
heintze AT US-SEA-L3BER9K ~
$ uname -a
CYGWIN_NT-6.0 US-SEA-L3BER9K 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
 
Should I be using the -d option? Maybe not. OK, I'll try it without!
 
No luck. It still does not see the heintze account.
 
So I use vi to edit /etc/passwd and duplicate the heintze-local entry and
remove the -local . I got a 
little further.
 
I get a dialog box that says
"A fatal error has occurred and Cygwin/X will not exit. Please open
/var/log/XWin.%s.log for more 
information.."
 
Can someone help me?
Thanks,
Siegfried
 
OK, here are the contents of /var/log/XWin.0.log:
 
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.5.3.0 (20090222)
Contact: cygwin-xfree AT cygwin DOT com
XWin was started with the following command line:
 
/usr/bin/X :0 -auth /home/heintze-local/.serverauth.1464 
 
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1440 h 900
winInitializeDefaultScreens - Returning
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winPrefsLoadPreferences: /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
Screen 0 added at XINERAMA coordinate (0,0).
MIT-SHM extension disabled due to lack of kernel support
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(--) 8 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000409" (00000409) 
(--) Using preset keyboard for "English (USA)" (409), type "4"
Could not init font path element /usr/share/fonts/OTF, removing from list!
Could not init font path element /usr/share/fonts/Type1/, removing from
list!
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
winDeinitMultiWindowWM - Noting shutdown in progress
 

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019