From owner-freebsd-questions@FreeBSD.ORG Fri Feb 10 01:13:37 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 19B2316A420 for ; Fri, 10 Feb 2006 01:13:37 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: from web60013.mail.yahoo.com (web60013.mail.yahoo.com [209.73.178.76]) by mx1.FreeBSD.org (Postfix) with SMTP id 99C0943D48 for ; Fri, 10 Feb 2006 01:13:36 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 72108 invoked by uid 60001); 10 Feb 2006 01:13:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=iedNxqi5MuyqcnZdzTFrVZQ9KzIxonBPzr8rRwPRM5LwwiTF5wCd2W90UFAI4h08n93KjyRBQbYLrNsJuWFaXrmMg2RlWjtgzfpMBOMdUop6qqGlXMikkBc6dT9EqLPFbHtwwW44pQ9RGBlrieirX5TIFkS1U3QE6SnVK89FeV8= ; Message-ID: <20060210011336.72106.qmail@web60013.mail.yahoo.com> Received: from [216.252.84.55] by web60013.mail.yahoo.com via HTTP; Thu, 09 Feb 2006 20:13:36 EST Date: Thu, 9 Feb 2006 20:13:36 -0500 (EST) From: Peter To: Eric Ekong In-Reply-To: <20060209203706.GB80521@blackguy> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org, Eric Ekong Subject: Re: Gtk-WARNING **: cannot open display: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 01:13:37 -0000 --- Eric Ekong wrote: > check /etc/ssh/sshd_config > > there is a line that says > > grep Root /etc/ssh/sshd_config ~ > PermitRootLogin no > > change that > > grep Root /etc/ssh/sshd_config ~ > PermitRootLogin yes > * Peter [060209 15:31]: > > Date: Thu, 9 Feb 2006 15:31:33 -0500 (EST) > > From: Peter > > To: Eric Ekong , freebsd-questions@freebsd.org > > Subject: Re: Gtk-WARNING **: cannot open display: > > > > > > --- Eric Ekong wrote: > > > > > try ssh -X -C -l root localhost as the normal user of X > > > then run the program > > > > > > Eric > > > * Peter [060209 15:00]: > > > > Date: Thu, 9 Feb 2006 15:00:54 -0500 (EST) > > > > From: Peter > > > > To: freebsd-questions > > > > Subject: Gtk-WARNING **: cannot open display: > > > > > > > > Hello, I am running FreeBSD 5.4 with the Fluxbox window manager. > I > > > have > > > > installed a MySQL GUI but I cannot run it as root: > > > > > > > > (mysql-administrator-bin:814): Gtk-WARNING **: cannot open > display: > > > > > > > > I logged in locally as a non-privileged user (who can open the > > > program) > > > > and su'd to root. I then set my DISPLAY variable: > > > > > > > > # DISPLAY=LOCALHOST:0.0 > > > > > > > > Here are the programs (mysql-administrator calls > > > mysql-administrator-bin): > > > > > > > > -rwxr-xr-x 1 root wheel 546B Feb 8 03:10 > > > > /usr/X11R6/bin/mysql-administrator > > > > -rwxr-xr-x 1 root wheel 2.3M Feb 8 03:10 > > > > /usr/X11R6/bin/mysql-administrator-bin > > > > > > > > What should I do? > > > > I tried the X11 forwarding but my password for root is not being > accepted. As mentioned in an earlier post, I tried that on my own when I ran into trouble and I have not edited this file. The default is to allow root logins. I have another possibly related issue. I cannot use the login command for root either. I get the same effects: prompt for password but password does not work. I have a feeling this has to do with pam which I know nothing about. __________________________________________________________ Find your next car at http://autos.yahoo.ca