From owner-freebsd-questions@FreeBSD.ORG Mon Mar 1 01:50:55 2004 Return-Path: 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 CEA2216A4CE for ; Mon, 1 Mar 2004 01:50:55 -0800 (PST) Received: from mail.evilcoder.org (cust.94.120.adsl.cistron.nl [195.64.94.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 399C843D1D for ; Mon, 1 Mar 2004 01:50:55 -0800 (PST) (envelope-from remko@elvandar.org) From: "Remko Lodder" To: "Stephen Liu" , Date: Mon, 1 Mar 2004 10:50:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) In-Reply-To: <20040301094032.39AD619@mail.elvandar.org> Importance: Normal X-Virus-Scanned: for evilcoder.org Message-Id: <20040301095053.CC32A2B4DAA@mail.evilcoder.org> Subject: RE: SSH Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 09:50:55 -0000 Hi, Remote rootlogin's are disabled .. which is good for security reasons, what do you mean with "it does not work as user" You login under ssh -X $user@$domain which then gives you a shell for $user when you properly authorized. After that you can use X11, You mean that X11 does not run as $user? it runs under root? Well perhaps it's already started by root, so that you tunnel to X11 where it's already running. You can try to fix that by starting X11 as $user, for example using startx {when it's not running yet} Hope this helps a little, if not, perhaps i did not understand your question to the fullest, sorry for that :) -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl Dutch community for helping newcomers on the hackerscene mrtg.grunn.org Dutch mirror of MRTG -----Oorspronkelijk bericht----- Van: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]Namens Stephen Liu Verzonden: maandag 1 maart 2004 18:53 Aan: freebsd-questions@freebsd.org Onderwerp: SSH Problem Hi all folks, FreeBSD 5.2 =========== I can as 'root' # ssh -X user@localhost tunneling to 'user' but it does not work as 'user' $ ssh -X root@localhost Password: Password: Password: root@localhost.localdomain's password: Permission denied, please try again. root@localhost.localdomain's password: Permission denied, please try again. root@localhost.localdomain's password: Permission denied (publickey,password,keyboard-interactive). Kindly advise how to fix this problem TIA B.R. Stephen Liu _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"