From owner-freebsd-questions Sat Feb 15 9:59:35 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4273737B401 for ; Sat, 15 Feb 2003 09:59:34 -0800 (PST) Received: from snickers.hotpop.com (snickers.hotpop.com [204.57.55.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8165F43FA3 for ; Sat, 15 Feb 2003 09:59:33 -0800 (PST) (envelope-from kitbsdlists@HotPOP.com) Received: from hotpop.com (kubrick.hotpop.com [204.57.55.16]) by snickers.hotpop.com (Postfix) with SMTP id 6EC7B7AAC7 for ; Sat, 15 Feb 2003 17:59:28 +0000 (UTC) Received: from darknet. (ip68-109-49-234.lu.dl.cox.net [68.109.49.234]) by smtp-1.hotpop.com (Postfix) with SMTP id E69632F8103; Sat, 15 Feb 2003 17:59:26 +0000 (UTC) Date: Sat, 15 Feb 2003 07:01:49 -0600 From: kitsune To: Dennis <4real@home.nl> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Running X program under different user Message-Id: <20030215070149.7b96478d.kitbsdlists@HotPOP.com> In-Reply-To: <3E4E7786.2010809@home.nl> References: <3E4E7786.2010809@home.nl> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 15 Feb 2003 18:23:18 +0100 Dennis <4real@home.nl> wrote: > Hi, > > I'm a former kde user, using Windowmaker now.... > > And in the past i always used RUN in kde, to startup my favourite irc > client... > > RUN had several options to execute programs under a different user etc, > which comes in handy when using IRC... if that run thing was a command that can be done then it can still be used under windowmaker... > But now i need to use SU i think to accomplish this, but it doesnt work :( wierd it works here... su -c example... su kitsune -c scilab this will su user kitsune and then run scilab > Does anyone know which command i can use to execute an X program under a > different user? this will work too... ssh 127.0.0.1 -X -l the -X turns on X forwarding To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message