delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/16/11:06:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B9FAC84.2060408@bopp.net>
Date: Tue, 16 Mar 2010 11:06:28 -0500
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Remotely run GUI shows up incorrectly on Cygwin 1.7.1
References: <4B9FA415 DOT 7010302 AT gmail DOT com> <4B9FA68E DOT 4020607 AT bopp DOT net> <4B9FA8B0 DOT 8030705 AT gmail DOT com>
In-Reply-To: <4B9FA8B0.8030705@gmail.com>
X-IsSubscribed: yes
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

On 3/16/2010 10:50 AM, Dan Sandberg wrote:
> Hi Jeremy,
> 
> Thanks for the response.  I tried setting TMP and TEMP to /tmp but the
> calculator came up in the same messed up manner in 1.7.1.
> 
> I've included my environment variables below.
> 
> Thanks for the help!
> 
> -Dan
> 
> ENV:
> 
> ALLUSERSPROFILE='C:\Documents and Settings\All Users'
> BASH=/bin/bash
> BASH_ARGC=()
> BASH_ARGV=()
> BASH_LINENO=()
> BASH_SOURCE=()
> BASH_VERSINFO=([0]="3" [1]="2" [2]="49" [3]="23" [4]="release"
> [5]="i686-pc-cygwin")
> BASH_VERSION='3.2.49(23)-release'
> COMPUTERNAME=ROBOT
> COMSPEC='C:\WINDOWS\system32\cmd.exe'
> CVS_RSH=/bin/ssh
> DIRSTACK=()
> EUID=1000
> GROUPS=()
> HISTFILE=/home/giraffe/.bash_history
> HISTFILESIZE=500
> HISTSIZE=500
> HOME=/home/giraffe
> HOMEDRIVE=C:
> HOMEPATH='\PROGRA~1\cygwin\home\giraffe'
> HOSTNAME=ROBOT
> HOSTTYPE=i686
> IFS=$' \t\n'
> INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
> LANG=C.UTF-8
> LOGNAME=giraffe
> MACHTYPE=i686-pc-cygwin
> MAIL=/var/spool/mail/giraffe
> MAILCHECK=60
> MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
> OLDPWD=/home/giraffe
> OPTERR=1
> OPTIND=1
> OS=Windows_NT
> OSTYPE=cygwin
> PATH=/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/bin
> 
> PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
> PIPESTATUS=([0]="0")
> PPID=540
> PRINTER=
> PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h#10 \[\e[33m\]\w\[\e[0m\]\n$ '
> PS2='> '
> PS4='+ '
> PWD=/home/giraffe/telbot/software/giraffe
> ROBOT_NUM=10
> SHELL=/bin/bash
> SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
> 
> SHLVL=1
> SSH_CLIENT='192.168.1.100 38116 22'
> SSH_CONNECTION='192.168.1.100 38116 192.168.1.101 22'
> SSH_TTY=/dev/tty1
> SYSTEMDRIVE=C:
> SYSTEMROOT='C:\WINDOWS'
> TEMP=/tmp
> TERM=xterm
> TMP=/tmp
> UID=1000
> USER=giraffe
> USERDOMAIN='NT AUTHORITY'
> USERNAME=SYSTEM
> WINDIR='C:\WINDOWS'
> _=TEMP
> f=

Take this output and diff it with that produced in the local testcase.
Try to set the environment of the remote testcase to mimic the local
testcase as close as possible.

If that doesn't work, I think there is a program which will show you
your current rights and capabilities as understood by Windows.
Unfortunately, I can't remember the name, but you might be able to find
something in the list archives.  Maybe one of the Cygwin maintainers can
reply with the name, assuming I'm remembering correctly about this
tool's existence.  Comparing the rights and capabilities between the
local and remote sessions might be helpful, so I hope you can find this
tool.

-Jeremy


--
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