From owner-freebsd-java@freebsd.org Mon Jun 29 15:43:56 2020 Return-Path: Delivered-To: freebsd-java@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 573A634C98C; Mon, 29 Jun 2020 15:43:56 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49wWxR4nF4z3gR0; Mon, 29 Jun 2020 15:43:55 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-io1-xd35.google.com with SMTP id k23so17616734iom.10; Mon, 29 Jun 2020 08:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=1dsHVv+wXxrWuO2NyOk4H0pBvjdvT2FMOVbM7ef5uUk=; b=X60bl1RF0PBjXSZ4+qY2/F+ezQTmVgaRvEqhyZpf1FEVo02db6pYN6QyRN2wMNnOmM FDxVfFYaRWoQMZfOv7IZ8l4uawTV7ESST0np2CkhItXWpAOYLL1rDPCbLGYzx1c0PsGX VMWoRbLaMUYWQ36uphQcVFts0eK7BTV2JbjS6gSWeKTOfJGatUSeO6NNQCeHM7T9F7Ku O/3zKd5BrrvYJ9Sx7jWSmznLAHxCyDl2wzThsAYxFwsqYDnw0gt9QYkk9lM2ywv7lMYw ArSrPeTX60LYbfPwDwe48NWDo4iYwxsEH86otpiZG72FJ1OW1NBHezYuzN82njNygUHJ 8Gdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=1dsHVv+wXxrWuO2NyOk4H0pBvjdvT2FMOVbM7ef5uUk=; b=cf6puQzoZlpJCVJAUgMmNk7zOPN/riaQUzYmYD8Mq1+pMWV/n2dCmFyDmeZZazJ00b bhPVL2Uo7GH62Q07kPkEeOI3LSCrc99AT29L8WE417OmKG89pzQuMUwMa9kH9b+Focdd Hf4Di2P+dCAjsqQdPW1ONbbEzehqDWg0nEAgaFU3DdrqW4k2jM8zUJHD9E7ctfg/A2M8 X/mAi3crFvEOz65WmbQhQ7Qy5jcEzpLYa0+OFrbHzKrSTgp61hKDaimTrtbl8Kh4GbZZ RUikP82VnGZ/aaYhz5hA1D83LML+SqCIJJUrSr+eoZySWDIveg5x6dy/gqUcvuGHQHpE 3MOA== X-Gm-Message-State: AOAM532L3slQQ6jihwiX1bDxThOB2xkebZr8HHCf6pkJ7E9CiVuu9kzl aV/lGHik0fk4s5rcqHANjp3gnzntZyYBCSpyhNX36rFT X-Google-Smtp-Source: ABdhPJxhYTzPMmi9c7P2rk8/X/1y4GldyliGOfgmu31xVh8PocwaIZQli/5gMWJLENrK10BidZqd4FMpSedf98hwyzA= X-Received: by 2002:a05:6638:2485:: with SMTP id x5mr18685632jat.138.1593445434183; Mon, 29 Jun 2020 08:43:54 -0700 (PDT) MIME-Version: 1.0 From: Aryeh Friedman Date: Mon, 29 Jun 2020 11:43:43 -0400 Message-ID: Subject: Min. ports needed for headless AWT/Swing To: freebsd-java@freebsd.org, FreeBSD Mailing List X-Rspamd-Queue-Id: 49wWxR4nF4z3gR0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=X60bl1RF; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::d35 as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-3.03 / 15.00]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.04)[-1.044]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.02)[-1.015]; NEURAL_SPAM_SHORT(0.03)[0.028]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d35:from]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2020 15:43:56 -0000 I have a java application that works fine with setenv DISPLAY :0.0 on my desktop FreeBSD 12.1 (amd64) [with Xfce4] but when I attempt to run the same app on a VM that has the minimum ports needed to install OpenJDK 8 and Tomcat I get an exception saying that it can't connect to the X server even though I did setenv DISPLAY desktop:0.0 (and xhost + on the desktop). Note it is the same user on both machines (NIS/NFS password DB/home dirs) doing the running on both machines but is a different user then the one logged in at the console (I do all my development in a separate account) -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org