From owner-freebsd-questions@freebsd.org Sat May 2 13:42:27 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E34AB2D04C9 for ; Sat, 2 May 2020 13:42:27 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 49Dr026xBKz4D02 for ; Sat, 2 May 2020 13:42:26 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id DC74A10276A; Sat, 2 May 2020 15:42:25 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h_QwJLLelFBE; Sat, 2 May 2020 15:42:25 +0200 (CEST) Received: from christophs-mbp.fritz.box (p57A1FCC2.dip0.t-ipconnect.de [87.161.252.194]) by mail.kukulies.org (Postfix) with ESMTPSA id 5DF2B102769; Sat, 2 May 2020 15:42:25 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: X11Forwarding yes ssh -X vs. ssh -Y From: Christoph Kukulies In-Reply-To: <20200502132905.GG1068@aurora.gregv.net> Date: Sat, 2 May 2020 15:42:24 +0200 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200502132905.GG1068@aurora.gregv.net> To: Greg Veldman X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49Dr026xBKz4D02 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [1.58 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.69)[-0.693,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[kukulies.org]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.48)[0.479,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.29)[ipnet: 116.203.0.0/16(3.00), asn: 24940(-1.52), country: DE(-0.02)]; RECEIVED_SPAMHAUS_PBL(0.00)[194.252.161.87.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2020 13:42:27 -0000 OK, here is (doesn=E2=80=99t seem to have anything related to security = extensions): name of display: = /private/tmp/com.apple.launchd.NM3gWpA6AH/org.macports:0 version number: 11.0 vendor string: The X.Org Foundation vendor release number: 12004000 X.Org version: 1.20.4 maximum request size: 16777212 bytes motion buffer size: 256 bitmap unit, bit order, padding: 32, LSBFirst, 32 image byte order: LSBFirst number of supported pixmap formats: 7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range: minimum 8, maximum 255 focus: None number of extensions: 21 Apple-DRI (opcode: 128, base event: 64, base error: 128) Apple-WM (opcode: 129, base event: 68, base error: 130) BIG-REQUESTS (opcode: 134) DAMAGE (opcode: 142, base event: 97, base error: 154) DOUBLE-BUFFER (opcode: 144, base error: 155) GLX (opcode: 148, base event: 101, base error: 159) Generic Event Extension (opcode: 130) MIT-SCREEN-SAVER (opcode: 143, base event: 98) MIT-SHM (opcode: 132, base event: 72, base error: 132) Present (opcode: 145) RANDR (opcode: 141, base event: 95, base error: 149) RENDER (opcode: 140, base error: 144) SHAPE (opcode: 131, base event: 71) SYNC (opcode: 135, base event: 90, base error: 138) X-Resource (opcode: 146) XC-MISC (opcode: 137) XFIXES (opcode: 139, base event: 93, base error: 142) XINERAMA (opcode: 138) XInputExtension (opcode: 133, base event: 73, base error: 133) XKEYBOARD (opcode: 136, base event: 92, base error: 141) XVideo (opcode: 147, base event: 99, base error: 156) default screen number: 0 number of screens: 1 screen #0: dimensions: 1680x1028 pixels (445x272 millimeters) resolution: 96x96 dots per inch depths (7): 24, 1, 4, 8, 15, 16, 32 root window id: 0x111 depth of root window: 24 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x21 default number of colormap cells: 256 preallocated pixels: black 0, white 16777215 options: backing-store NO, save-unders NO largest cursor: 32x32 current input event mask: 0x1a0000 StructureNotifyMask SubstructureNotifyMask = SubstructureRedirectMask=20 number of visuals: 80 default visual id: 0x22 visual: visual id: 0x22 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits Only numerous visuals are follwing=E2=80=A6 =E2=80=94 Christoph > Am 02.05.2020 um 15:29 schrieb Greg Veldman : >=20 > On Sat, May 02, 2020 at 09:33:45AM +0200, Christoph Kukulies wrote: >> When logging into my FreeBSD12.1 system using=20 >>=20 >> ssh -Y user@mybox >>=20 >> and do echo $DISPLAY I get localhost:10.0 and can do X11Forwarding = (which I enable in sshd_config) >> Doing >>=20 >>=20 >> ssh -X user@mybox >>=20 >> doesn???t work. DISPLAY variable is not being set. >>=20 >> Any clues?=20 >=20 > The -X option requires support of the X11 SECURITY extension > in your server. You can check if that's enabled with: >=20 > $ xdpyinfo -queryExtensions >=20 > --=20 > Greg Veldman > freebsd@gregv.net > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"