[ANNOUNCEMENT] -- merging win-env vars into post-'login'-wiped-ENV

Linda Walsh cygwin@tlinx.org
Fri Jan 16 10:47:00 GMT 2015

Corinna Vinschen wrote:
> On Jan 14 19:39, Linda Walsh wrote:
>> Corinna Vinschen wrote:
>>> - When spawning a process under another user account, merge the user's
>>>  default Windows environment into the new process' environment.
>> ----
>> 	Will this affect using inetd to spawn rlogind => login.
>   https://cygwin.com/ml/cygwin/2014-12/msg00013.html
>   https://cygwin.com/ml/cygwin/2014-12/msg00102.html
> Corinna
Don't know why yet, but it does not work very well.

1) Instead of just logging me in, it now asks for my password.
2) When I typed the passwd it hung...
2a) could have happened because the X11 server wouldn't start/died on

It's log showed:
XWin.0.log  (press RETURN)Welcome to the XWin X Server
Vendor: The Cygwin/X Project
OS: CYGWIN_NT-6.1 Athenae 1.7.34(0.283/5/3) 2015-01-14 12:28 x86_64
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64)
Package: version 1.16.3-1 built 2014-12-30

XWin was started with the following command line:

/usr/bin/XWin -dpi 120 -nomultimonitors -clipboard -ac -unixkill
  -nowinkill -wgl -bs -fp

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 2560 h 1600
winInitializeScreenDefaults - native DPI x 128 y 128
[446019.915] (II) xorg.conf is not supported
[446019.915] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for 
more in
[446019.915] (++) FontPath set to 
[446019.915] LoadPreferences: Loading /Users/law.Bliss/.XWinrc
[446019.915] LoadPreferences: Done parsing the configuration file...
[446019.978] winDetectSupportedEngines - DirectDraw4 installed, allowing 
[446019.978] winDetectSupportedEngines - Returning, supported engines 
[446019.978] winSetEngine - Multi Window or Rootless => ShadowGDI
[446019.978] winScreenInit - Using Windows display depth of 32 bits per 
[446019.993] winAllocateFBShadowGDI - Creating DIB with width: 2560 
height: 1600
  depth: 32
[446019.993] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[446019.993] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff 

d 24 bpp 32
[446019.993] Warning: Locale not supported by X, falling back to 'C' locale.
[446020.024] glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll'
[446020.165] (II) AIGLX: Testing pixelFormatIndex 5
[446020.196] GL_VERSION:     4.4.0
XWin.0.log lines 1-33/53 58%[446020.196] GL_VENDOR:      NVIDIA Corporation
[446020.196] GL_RENDERER:    GeForce GTX 590/PCIe/SSE2
[446020.196] (II) AIGLX: enabled GLX_SGI_make_current_read
[446020.196] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[446020.196] (II) AIGLX: enabled GLX_SGI_swap_control and 
[446020.196] (II) AIGLX: enabled GLX_SGIX_pbuffer
[446020.196] (II) AIGLX: enabled GLX_ARB_multisample and 
[446020.196] (II) 482 pixel formats reported by wglGetPixelFormatAttribivARB
[446020.196] (II) AIGLX: Set GLX version to 1.4
[446020.212] (II) 323 fbConfigs
[446020.212] (II) ignored pixel formats: 0 not OpenGL, 54 RBGA float, 69 
signed float, 0 unknown pixel type, 36 unaccelerated
[446020.212] (II) GLX: Initialized Win32 native WGL GL provider for screen 0
[446020.212] (EE) XKB: Couldn't open rules file 
[446020.212] (EE) XKB: Failed to load keymap. Loading default keymap 
[446020.212] (EE) XKB: Couldn't open rules file 
[446020.212] XKB: Failed to compile keymap
[446020.212] Keyboard initialization failed. This could be a missing or 
t setup of xkeyboard-config.
[446020.212] (EE) Fatal server error:
[446020.212] (EE) Failed to activate core devices.(EE)
[446020.212] (EE) Server terminated with error (1). Closing log file.
XWin.0.log lines 20-53/53 (END)

When I tried logging in as root instead of as me, the console window 
immediately disappeared
(have seen that before when I was trying to get rlogin to work in the 
first place,
so likely unrelated.

However, it is ignoring my ~/.rhosts file (into which I put nearly every 
combination I could
think of to get this to work...
athenae Bliss/law
athenae.hs.tlinx.org Bliss/law
Athenae Bliss/law
Athenae.hs.tlinx.org Bliss/law
localhost Bliss\law
athenae Bliss\law
athenae.hs.tlinx.org Bliss\law
Athenae Bliss\law
Athenae.hs.tlinx.org Bliss\law
localhost law
athenae law
athenae.hs.tlinx.org law
Athenae law
Athenae.hs.tlinx.org law

id put out 'mostly correct stuff'... Since my id's have the domain 
before the
uid=5013(Bliss\law) gid=201(Bliss\lawgroup) 
Desktop Users),545(Users),4(INTERACTIVE),66049(CONSOLE
LOGON),11(Authenticated Users),15(This 
Admins),513(Bliss\Domain Users),517(Bliss\Cert 
Publishers),518(Bliss\Schema Admins),519(Bliss\Enterprise 
Admins),520(Bliss\Group Policy Creator Owners),1053(Bliss\Trusted Local 
Net Users),262154(NTLM Authentication),11612288(High Mandatory Level)

Prior to this, when I logged on using local credentials, I would have a 
blank hostname.  I.e. --
using 'X11'  as an example, when I log in locally, I see no hostname in 
my shell-prompt.
But when I log in to another system, then my path is prefixed with the 

So... why did I need the local hostname with a "+"??

I have a feeling the X-server died because installing the test cygwin wiped
out my share partition (on a local mount, but one that cygwin turns into 
a symlink and

However even after restoring my /usr/share, it still asks me for a 
password, which
indicates something broke...  ;-(

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

More information about the Cygwin mailing list