delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/16/10:50:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B9FA8B0.8030705@gmail.com>
Date: Tue, 16 Mar 2010 16:50:08 +0100
From: Dan Sandberg <dan DOT sandberg DOT lists AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
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>
In-Reply-To: <4B9FA68E.4020607@bopp.net>
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

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=

Jeremy Bopp wrote:
> On 3/16/2010 10:30 AM, Dan Sandberg wrote:
>   
>> Hi,
>>
>> I recently upgraded a computer running XP Embedded to Cygwin 1.7.1. 
>> When I ssh from another computer, and run a graphical program (such as
>> the calculator included in Win XP), it doesn't display correctly.
>>
>> If I run the program from a local ssh shell, it does display correctly. 
>> Here's a picture which shows both a locally run instance (bottom left)
>> and a remotely run instance (top right).
>>
>> http://giraff.org/calc2.jpg
>>
>> I have given the sshd service permission to interact with the desktop. 
>> I downgraded to Cygwin 1.5.5 and didn't have this problem.
>>
>> I tried de-installing and re-installing the service with cygrunsrv
>> --remove and --install, but it didn't help.
>>
>> Anyone have any ideas?  Perhaps a bug in the latest Cygwin?
>>     
>
> Could this be a problem in the environment, such as the setting for $TMP
> or $TEMP?  Maybe one or both of those point to a location for which
> calc.exe has no permission to write.  Try setting those both to /tmp
> when performing your remote testcase.
>
> -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
>
>
>   


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