From owner-freebsd-questions@FreeBSD.ORG Thu Feb 9 20:49:12 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 9ED7216A420 for ; Thu, 9 Feb 2006 20:49:12 +0000 (GMT) (envelope-from eric@unixtechs.org) Received: from ms-smtp-01-eri0.ohiordc.rr.com (ms-smtp-01-smtplb.ohiordc.rr.com [65.24.5.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3209343D8A for ; Thu, 9 Feb 2006 20:49:11 +0000 (GMT) (envelope-from eric@unixtechs.org) Received: from blackguy.unixtechs.org (cpe-65-29-127-219.twmi.res.rr.com [65.29.127.219]) by ms-smtp-01-eri0.ohiordc.rr.com (8.13.4/8.13.4) with ESMTP id k19KnAmt012418; Thu, 9 Feb 2006 15:49:10 -0500 (EST) Received: from eric by blackguy.unixtechs.org with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1F7Iiz-000L5V-Jj; Thu, 09 Feb 2006 15:49:09 -0500 Date: Thu, 9 Feb 2006 15:49:09 -0500 From: Eric Ekong To: Eric Ekong Message-ID: <20060209204909.GD80521@blackguy> References: <20060209201839.GO32776@blackguy> <20060209203133.64525.qmail@web60017.mail.yahoo.com> <20060209203706.GB80521@blackguy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060209203706.GB80521@blackguy> Organization: UNIXTECHS X-Operating-System: FreeBSD 5.5-PRERELEASE i386 3:24PM up 1 day, 41 mins, 2 users, load averages: 0.04, 0.04, 0.00 X-Editor: Vim http://www.vim.org/ X-Mailer: Mutt http://www.mutt.org/ X-Info: http://www.unixtechs.org/ User-Agent: Mutt/1.5.11 X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: Peter , freebsd-questions@freebsd.org Subject: Re: Gtk-WARNING **: cannot open display: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eric Ekong List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2006 20:49:12 -0000 forgot to say /etc/rc.d/sshd restart and then try again * Eric Ekong [060209 15:37]: > Date: Thu, 9 Feb 2006 15:37:06 -0500 > From: Eric Ekong > To: Peter > Cc: Eric Ekong , freebsd-questions@freebsd.org > X-Mailer: Mutt http://www.mutt.org/ > Subject: Re: Gtk-WARNING **: cannot open display: > > 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. > > > > > > > > > > > > > > __________________________________________________________ > > Find your next car at http://autos.yahoo.ca > > -- > ======================================================= > Eric I. Ekong eric@unixtechs.org > FreeBSD - The Power to Serve http://www.freebsd.org > K Desktop Environment on FreeBSD http://freebsd.kde.org > ======================================================= > > Laws of Serendipity: > > (1) In order to discover anything, you must be looking for > something. > (2) If you wish to make an improved product, you must already > be engaged in making an inferior one. > -- ======================================================= Eric I. Ekong eric@unixtechs.org FreeBSD - The Power to Serve http://www.freebsd.org K Desktop Environment on FreeBSD http://freebsd.kde.org ======================================================= Laws of Serendipity: (1) In order to discover anything, you must be looking for something. (2) If you wish to make an improved product, you must already be engaged in making an inferior one.