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

-- 
=======================================================
Eric I. Ekong                        [EMAIL PROTECTED]
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.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to