From owner-freebsd-questions@freebsd.org Tue Jul 25 20:59:53 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B9E3D7E31C for ; Tue, 25 Jul 2017 20:59:53 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3F6966A7F for ; Tue, 25 Jul 2017 20:59:52 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x242.google.com with SMTP id q189so6450999wmd.0 for ; Tue, 25 Jul 2017 13:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=wMeuXYI5UB46jnLwLzVamTAW0zB/f1aEFqS39iP+BrI=; b=kippSI5d/V84j0WAaJQxaUhXKdJRrrugbEHmopV8GBn9xbu+O3vBzQEyHXI0i9NCRi u7LPcRzxt6tq5Bgmhb1eE9/JQH46kZeI8f/LDWIqtoDIMs+Yy/uEkaLZbkH/+8bYtQ4c 1+3aO23VTdv/YVzwzN4TnzkPY97fBeELFNZWxZRkD5VUU9B6QHN5DrYg5xZw3REZNyN0 fQc+PP0Vum9KWy8ZF7/5uLCyt4oWLBCL/Jf7g5KduidJ0tcvCvjLnV9gQxnRivXjdWer iK1rD8i9AThSo/ARM4B7uqPLM8bMB97Q8rFZ0PauA3Y/BuTamSSusGmvKZhh6MVjT+52 XEkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wMeuXYI5UB46jnLwLzVamTAW0zB/f1aEFqS39iP+BrI=; b=oG53ay+VpDKCcYH3NQQ1XkU75DBzWYAzkIa9Ah+ELUM/iZSshsuN58TyPjRXAx7pmt DkSGMHBxh/RA97Z7lCeU1SYgt9S3IeJjJM0hT3kLFjbcKCP9h5b8FB+naecJDPRQPTt7 W1RQ5tbEy4WxbXtKhnlAdlhFE784nB+7yGy7dIePQz3nmweBpD0VLPTuChVr0n+nKD1s 3p66G/aFPnZ3yw6Vb8ZvMjV2yPGAv/ilmlXynPFSzBlQedA506YTRZwnaYzrW1R/nqCc rIC/iiYaJpm0UA2D726cKCCphCj/hzwCbIU6836ZgcZUvrtd6NAJUXwVJoJ9rIqbmryK QamA== X-Gm-Message-State: AIVw113/R6wJiY4VolyqvK3PMHdI4FODPozuYXtBMcxMijp+sOYOMsXC gBNW4Psj2kLKX8Ix X-Received: by 10.28.66.147 with SMTP id k19mr8359219wmi.31.1501016390952; Tue, 25 Jul 2017 13:59:50 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id o76sm11959398wmg.43.2017.07.25.13.59.49 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Jul 2017 13:59:49 -0700 (PDT) Date: Tue, 25 Jul 2017 21:59:47 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: FreeBSD-11, Mate, Terminal, Gvim Message-ID: <20170725215947.3a2f7504@gumby.homeunix.com> In-Reply-To: References: <20170725210647.6f4c8fcd.freebsd@edvax.de> <20170725215338.41ea83f0.freebsd@edvax.de> X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2017 20:59:53 -0000 On Tue, 25 Jul 2017 20:36:54 +0000 Manish Jain wrote: > > That is correct. Like "su -m", "xhost" is to be executed from > > the (non-root) user that controls the display. But when you're > > using the "su -m" approach, it usually isn't even needed. > > > I tried this from my normal user shell (zsh) > > su - -m root -c 'echo $SHELL' - (equivalent to -l) and -m are contradictory options. Presumably the second (-m) overrides the first.