Re: Gtk-Warning **: Cannot open display
John Nielsen wrote: On Tuesday 16 May 2006 17:07, Barnaby Scott wrote: Kevin Kinsey wrote: Barnaby Scott wrote: So, I installed Firefox from ports, having made sure everything was bang up to date. Evrything seemed to go perfectly well, but lo and behold, first attempt to use it and I get this: (firefox-bin:582): Gtk-Warning **: Cannot open display What the..? I have searched for this problem and found plenty of references similar error messages, but none of it seems to apply in my case. I am not trying to run Firefox as root, I am not doing it from a remote terminal, I am not standing in a bucket of water, I have the computer plugged in. I think these are Good Things(tm), 'though I have been able to operate a browser whilst standing in a bucket of water. Q: Are you running an X display at the time this message is given, or are you attempting to run Firefox from the console? Kevin Kinsey I have tried both. It is running from the console that gives the message quoted - if I am running an X display at the time it fails with no message at all. This is a Firefox oddity. It needs to be run as root one time after it is installed (or [sometimes] upgraded). Do this from an xterm: cd su cp .Xauthority /root firefox Assuming the browser window comes up, you can just close it. You should be able to run it as a regular user afterwards. JN Thanks for both bits of advice - one of them worked, though I'm not sure which! So now I can strat Firefox from an xterm, but 2 things still puzzle me though: 1) Forgive my stupidity, but why can I not start Firefox from the console? Or rather, what could I do to make it do so with a single command? 2) I thought Firefox wasn't going to start from the xterm, but really it just took ages - far longer than I am used to with my old OS (same machine). Is there something I am missing here too? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-Warning **: Cannot open display
From: Barnaby Scott [EMAIL PROTECTED] Subject: Re: Gtk-Warning **: Cannot open display Sent: 18 May '06 16:45 John Nielsen wrote: On Tuesday 16 May 2006 17:07, Barnaby Scott wrote: Kevin Kinsey wrote: Barnaby Scott wrote: So, I installed Firefox from ports, having made sure everything was bang up to date. Evrything seemed to go perfectly well, but lo and behold, first attempt to use it and I get this: (firefox-bin:582): Gtk-Warning **: Cannot open display What the..? Hi: You may want to check the following. 1. prompt$ xhost + (from the connecting client) 2. export DISPLAY=client-ip-address:0.0 Firefox should start if the above mentioned settings are in place. Hope this helps. thanks Saifi. TWINCLING Society, India http://www.twincling.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-Warning **: Cannot open display
From: Barnaby Scott [EMAIL PROTECTED] Subject: Re: Gtk-Warning **: Cannot open display Sent: 18 May '06 16:45 John Nielsen wrote: On Tuesday 16 May 2006 17:07, Barnaby Scott wrote: Kevin Kinsey wrote: Barnaby Scott wrote: So, I installed Firefox from ports, having made sure everything was bang up to date. Evrything seemed to go perfectly well, but lo and behold, first attempt to use it and I get this: (firefox-bin:582): Gtk-Warning **: Cannot open display What the..? Hi: You may want to check the following. 1. prompt$ xhost + (from the connecting client) 2. export DISPLAY=client-ip-address:0.0 Firefox should start if the above mentioned settings are in place. Hope this helps. thanks Saifi. TWINCLING Society, India http://www.twincling.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-Warning **: Cannot open display
Barnaby Scott wrote: So now I can strat Firefox from an xterm, but 2 things still puzzle me though: 1) Forgive my stupidity, but why can I not start Firefox from the console? Or rather, what could I do to make it do so with a single command? I'm perfectly willing to be wrong, flamed, and corrected, but my counter question (and it seems a good one to me): how do you expect to run a graphical program in a non-graphical environment? If you wish, you could add firefox to your ~/.xinitrc or (? .Xresources ?) file, and then firefox would be called when you called startx to invoke X Windows. 2) I thought Firefox wasn't going to start from the xterm, but really it just took ages - far longer than I am used to with my old OS (same machine). Is there something I am missing here too? I couldn't say. I've used firefox, and more often the entire Mozilla suite (which is now 'Seamonkey'). It probably starts slower and hangs more often than any other program I run on FreeBSD, (with the possible exception of the xrayswarm screen saver) but I can't say why or that I've even done much investigating. I did build a 'debug' version of Seamonkey last time, but I've not yet done anything with it. FWIW, it seems a tad less prone to some of the behavior I saw with Mozilla (which seems strange, perhaps). Of course, I use it heavily, so perhaps that characterization is flawed. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-Warning **: Cannot open display
On Thu, May 18, 2006 2:51 pm, Kevin Kinsey wrote: Barnaby Scott wrote: So now I can strat Firefox from an xterm, but 2 things still puzzle me though: 1) Forgive my stupidity, but why can I not start Firefox from the console? Or rather, what could I do to make it do so with a single command? I'm perfectly willing to be wrong, flamed, and corrected, but my counter question (and it seems a good one to me): how do you expect to run a graphical program in a non-graphical environment? I'm certainly not going to flame or correct you! I'm afraid it shows the profundity of my ignorance at this stage, but at least I have browser functionality without rebooting back into Windows now, so looking up solutions and sorting my own problems just got a whole lot easier. I guess my beginner's reasoning was something like this: if a program needs a gui to work, then maybe it has a mechanism to fire one up when needed, in the same way it will look for and use whatever libraries or resources it needs. Oh dear, looks like I have loads more reading to do. Thanks for your help If you wish, you could add firefox to your ~/.xinitrc or (? .Xresources ?) file, and then firefox would be called when you called startx to invoke X Windows. 2) I thought Firefox wasn't going to start from the xterm, but really it just took ages - far longer than I am used to with my old OS (same machine). Is there something I am missing here too? I couldn't say. I've used firefox, and more often the entire Mozilla suite (which is now 'Seamonkey'). It probably starts slower and hangs more often than any other program I run on FreeBSD, (with the possible exception of the xrayswarm screen saver) but I can't say why or that I've even done much investigating. I did build a 'debug' version of Seamonkey last time, but I've not yet done anything with it. FWIW, it seems a tad less prone to some of the behavior I saw with Mozilla (which seems strange, perhaps). Of course, I use it heavily, so perhaps that characterization is flawed. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-Warning **: Cannot open display
On Thu, 18 May 2006 16:59:33 +0100 (BST) Barnaby Scott [EMAIL PROTECTED] wrote: 1) Forgive my stupidity, but why can I not start Firefox from the console? Or rather, what could I do to make it do so with a single command? I'm perfectly willing to be wrong, flamed, and corrected, but my counter question (and it seems a good one to me): how do you expect to run a graphical program in a non-graphical environment? I'm certainly not going to flame or correct you! I'm afraid it shows the profundity of my ignorance at this stage, but at least I have browser functionality without rebooting back into Windows now, so looking up solutions and sorting my own problems just got a whole lot easier. I guess my beginner's reasoning was something like this: if a program needs a gui to work, then maybe it has a mechanism to fire one up when needed, in the same way it will look for and use whatever libraries or resources it needs. Oh dear, looks like I have loads more reading to do. Hi, Saifi's reply should get it all to work, and it comes in handy to understand why. Saifi wrote 1. prompt$ xhost + (from the connecting client) 2. export DISPLAY=client-ip-address:0.0 XWindows is a network service. You need a) to tell your client WHERE to send the 'graphics' ( that's point 2) in Saifi's mail. and b) Xorg has to allow you to connect to it (has to allow you to send *your* apps' graphs into its displays. When you start an X session, DISPLAY env var is set automatically: [EMAIL PROTECTED] [Fri May 19 11:06:49 2006] ~ $ env | grep DISPLAY DISPLAY=:0.0 I am not completelly sure how do clients inside the session get authorised - BUT anything that is NOT started from another host OR a different user than the one owning the display (Xorg ) you want to use will need to be authorised with xhost. I just tested this doing Ctrl-Alt-F1, logging as myself again, i typed aterm, then went back to X and there it was my new term. WHY you couldnt do that with firefox, i dont know. HIH. Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-Warning **: Cannot open display
On Tuesday 16 May 2006 17:07, Barnaby Scott wrote: Kevin Kinsey wrote: Barnaby Scott wrote: So, I installed Firefox from ports, having made sure everything was bang up to date. Evrything seemed to go perfectly well, but lo and behold, first attempt to use it and I get this: (firefox-bin:582): Gtk-Warning **: Cannot open display What the..? I have searched for this problem and found plenty of references similar error messages, but none of it seems to apply in my case. I am not trying to run Firefox as root, I am not doing it from a remote terminal, I am not standing in a bucket of water, I have the computer plugged in. I think these are Good Things(tm), 'though I have been able to operate a browser whilst standing in a bucket of water. Q: Are you running an X display at the time this message is given, or are you attempting to run Firefox from the console? Kevin Kinsey I have tried both. It is running from the console that gives the message quoted - if I am running an X display at the time it fails with no message at all. This is a Firefox oddity. It needs to be run as root one time after it is installed (or [sometimes] upgraded). Do this from an xterm: cd su cp .Xauthority /root firefox Assuming the browser window comes up, you can just close it. You should be able to run it as a regular user afterwards. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-Warning **: Cannot open display
Barnaby Scott wrote: So, I installed Firefox from ports, having made sure everything was bang up to date. Evrything seemed to go perfectly well, but lo and behold, first attempt to use it and I get this: (firefox-bin:582): Gtk-Warning **: Cannot open display What the..? I have searched for this problem and found plenty of references similar error messages, but none of it seems to apply in my case. I am not trying to run Firefox as root, I am not doing it from a remote terminal, I am not standing in a bucket of water, I have the computer plugged in. I think these are Good Things(tm), 'though I have been able to operate a browser whilst standing in a bucket of water. Q: Are you running an X display at the time this message is given, or are you attempting to run Firefox from the console? Kevin Kinsey -- I THINK MAN INVENTED THE CAR by instinct. -- Jack Handley, The New Mexican, 1988. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-Warning **: Cannot open display
Kevin Kinsey wrote: Barnaby Scott wrote: So, I installed Firefox from ports, having made sure everything was bang up to date. Evrything seemed to go perfectly well, but lo and behold, first attempt to use it and I get this: (firefox-bin:582): Gtk-Warning **: Cannot open display What the..? I have searched for this problem and found plenty of references similar error messages, but none of it seems to apply in my case. I am not trying to run Firefox as root, I am not doing it from a remote terminal, I am not standing in a bucket of water, I have the computer plugged in. I think these are Good Things(tm), 'though I have been able to operate a browser whilst standing in a bucket of water. Q: Are you running an X display at the time this message is given, or are you attempting to run Firefox from the console? Kevin Kinsey I have tried both. It is running from the console that gives the message quoted - if I am running an X display at the time it fails with no message at all. Barnaby ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-Warning **: Cannot open display
Barnaby Scott wrote: Kevin Kinsey wrote: Barnaby Scott wrote: (firefox-bin:582): Gtk-Warning **: Cannot open display Q: Are you running an X display at the time this message is given, or are you attempting to run Firefox from the console? I have tried both. It is running from the console that gives the message quoted - if I am running an X display at the time it fails with no message at all. Barnaby Try running firefox from an xterm during an X session. The message given is because it's being run from outside an X session, and is therefore irrelevant, most likely. KDK -- Reality is just a convenient measure of complexity. -- Alvy Ray Smith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-WARNING **: cannot open display:
Peter wrote: 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. Just to be clear, FreeBSD is shipped with root logins via SSH *DISABLED*. (most Linux distros i remember, OTOH, have it enabled). 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. - if you go to the console, can you log in as root? - is the shell program assigned to the root user a valid root? I have a feeling this has to do with pam which I know nothing about. why do you say that is PAM related? Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-WARNING **: cannot open display:
Hello! You can use gtk-su. On Thu, 9 Feb 2006 15:00:54 -0500 (EST) Peter [EMAIL PROTECTED] wrote: 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? __ Find your next car at http://autos.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-WARNING **: cannot open display:
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? __ Find your next car at http://autos.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- === 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]
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
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 [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]
Re: Gtk-WARNING **: cannot open display:
forgot to say /etc/rc.d/sshd restart and then try again * Eric Ekong [EMAIL PROTECTED] [060209 15:37]: Date: Thu, 9 Feb 2006 15:37:06 -0500 From: Eric Ekong [EMAIL PROTECTED] To: Peter [EMAIL PROTECTED] Cc: Eric Ekong [EMAIL PROTECTED], 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 [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. -- === 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]
Re: Gtk-WARNING **: cannot open display:
--- Eric Ekong [EMAIL PROTECTED] wrote: forgot to say /etc/rc.d/sshd restart and then try again * Eric Ekong [EMAIL PROTECTED] [060209 15:37]: Date: Thu, 9 Feb 2006 15:37:06 -0500 From: Eric Ekong [EMAIL PROTECTED] To: Peter [EMAIL PROTECTED] Cc: Eric Ekong [EMAIL PROTECTED], 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 [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. That was the first thing I looked at. The superuser is permitted to log in. I didn't edit this file. __ Find your next car at http://autos.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-WARNING **: cannot open display:
--- Eric Ekong [EMAIL PROTECTED] 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 [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. 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]