From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout2.vodafonemail.de (smtpout2.vodafonemail.de [145.253.239.133]) by sourceware.org (Postfix) with ESMTPS id CDB8C398B812 for ; Sat, 16 Jan 2021 06:15:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CDB8C398B812 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from smtp.vodafone.de (unknown [10.2.0.32]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id 63066121717 for ; Sat, 16 Jan 2021 07:15:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1610777757; bh=5HeAHZ2NNHNNNK19b30H2jyqSUXOXo8w4lHr8bWLhNc=; h=From:To:Subject:References:Date:In-Reply-To; b=MvgFKMbS3reytUF4ErITW44yQHGkqaVVJQbNjKZMzLSvnIavuvYvY6e4Lw4SMFFub wXvO1ztzVB+8Xv7bfPaIGaaGes8FzcBO8yPfan9/65YBqzaVOqQNELZ/0T5k0R4+yJ N3kcdbSDtSPSiJytUELDDVqBhXiiVMcTCSTSXTAU= Received: from Otto (p54a0ca05.dip0.t-ipconnect.de [84.160.202.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id F002F60566 for ; Sat, 16 Jan 2021 06:15:56 +0000 (UTC) From: ASSI To: cygwin@cygwin.com Subject: Re: Can't open display issue from CMD References: Date: Sat, 16 Jan 2021 07:15:47 +0100 In-Reply-To: (Luna Bellofiore via Cygwin's message of "Fri, 15 Jan 2021 21:22:05 -0700") Message-ID: <87bldpbe5o.fsf@Otto.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 677 X-purgate-ID: 155817::1610777757-0000068B-063676D2/0/0 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 06:16:01 -0000 Luna Bellofiore via Cygwin writes: > C:\Users\bellsal>\cygwin\bin\ssh 192.168.0.8 pwd > /usr/bin/xrdb: Can't open display '' ^^^^ > /home/bellsal > > PWD should not require X11 connection, so I don't understand why I am > getting this issue. You need to sanitize your login scripts on the Linux machine to only run X11 commands when it actually is available, for instance by conditionalizing on the presence of the DISPLAY environment variable. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds