From owner-freebsd-questions@FreeBSD.ORG Sat Sep 13 23:41:10 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EE4A2F7D for ; Sat, 13 Sep 2014 23:41:10 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B95CD943 for ; Sat, 13 Sep 2014 23:41:10 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-120.adsl.hiwaay.net [216.180.19.120]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s8DNf8H3020045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 13 Sep 2014 18:41:09 -0500 Message-ID: <5414D78B.5030800@hiwaay.net> Date: Sat, 13 Sep 2014 18:47:23 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" Subject: Re: minor question .... References: <5414AF66.80606@hiwaay.net> <5414BDFA.2040905@dreamchaser.org> In-Reply-To: <5414BDFA.2040905@dreamchaser.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2014 23:41:11 -0000 Thanks, I have su aliased to 'su -', which is synonimous w/ 'su -l' .... The same thing happens w/ regular user, I just don't use that as often .... On 09/13/14 16:58, Gary Aitken wrote: > On 09/13/14 14:56, William A. Mahaffey III wrote: >> >> .... I usually have long login sessions (weeks, maybe months), 99% of >> which are spent in rxvt shells, either on this machine or logged into >> other boxen on my LAN. I login as regular user. On 1 desktop, I open >> an rxvt session, su to root, then (try to) duplicate that shell using >> the following CLI commands: >> >> >> [root@kabini1, /etc, 3:45:35pm] 325 % ( rxvt -sl 5000 -fn >> -*-lucidatypewriter-bold-r-normal-sans-17-*-100-100-*-100-*-* & ) >> rxvt: No match. [root@kabini1, /etc, 3:45:42pm] 326 % which rxvt >> /usr/local/bin/rxvt [root@kabini1, /etc, 3:45:49pm] 327 % ( >> /usr/local/bin/rxvt -sl 5000 -fn >> -*-lucidatypewriter-bold-r-normal-sans-17-*-100-100-*-100-*-* & ) >> /usr/local/bin/rxvt: No match. [root@kabini1, /etc, 3:53:56pm] 328 % >> >> also tried: >> >> [root@kabini1, /etc, 3:54:49pm] 329 % ( rxvt & ) [root@kabini1, >> /etc, 3:55:21pm] 330 % No protocol specified rxvt: can't open display >> :0 >> >> [root@kabini1, /etc, 3:55:23pm] 330 % >> >> >> This worked AOK under FC14, apropos of little, but doesn't work under >> FBSD 9.3 .... Any clues as to why not ? It save me a bunch of >> clicking the rxvt icon, clicking the maximize button on the new >> window, & su-ing to root (3 steps instead of 1, grrrrr ....) .... >> obviously not show stopping, but irritating .... Same problem as >> regular user .... Any clues appreciated .... > As I recall, I had a similar problem once. > Not sure this will do it but try "su -l" > -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.