This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remotely run GUI shows up incorrectly on Cygwin 1.7.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]