Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2006 20:13:36 -0500 (EST)
From:      Peter <petermatulis@yahoo.ca>
To:        Eric Ekong <eric@unixtechs.org>
Cc:        freebsd-questions@freebsd.org, Eric Ekong <eric@unixtechs.org>
Subject:   Re: Gtk-WARNING **: cannot open display:
Message-ID:  <20060210011336.72106.qmail@web60013.mail.yahoo.com>
In-Reply-To: <20060209203706.GB80521@blackguy>

next in thread | previous in thread | raw e-mail | index | archive | help

--- Eric Ekong <eric@unixtechs.org> 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 <petermatulis@yahoo.ca> [060209 15:31]:
> > Date: Thu, 9 Feb 2006 15:31:33 -0500 (EST)
> > From: Peter <petermatulis@yahoo.ca>
> > To: Eric Ekong <eric@unixtechs.org>, freebsd-questions@freebsd.org
> > Subject: Re: Gtk-WARNING **: cannot open display:
> > 
> > 
> > --- Eric Ekong <eric@unixtechs.org> wrote:
> > 
> > > try ssh -X -C -l root localhost as the normal user of X
> > > then run the program
> > > 
> > > Eric
> > > * Peter <petermatulis@yahoo.ca> [060209 15:00]:
> > > > Date: Thu, 9 Feb 2006 15:00:54 -0500 (EST)
> > > > From: Peter <petermatulis@yahoo.ca>
> > > > To: freebsd-questions <freebsd-questions@freebsd.org>
> > > > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060210011336.72106.qmail>