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]
(etherape:1583): Gtk-WARNING **: cannot open display:
hi sirs, yesterday, i launched etherape to em0 nic, etherape -i em0, and got that message. before that there was no error. worse is that root can not launch any x applications except xterm, it get the same error messages. here is uname of my r51 thinkpad %uname -a FreeBSD siting.oaep.go.th 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 14 18:00:24 ICT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SITING i386 % and ifconfig %ifconfig -a fwe0: flags=108902BROADCAST,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 options=8VLAN_MTU inet6 fe80::6:1bff:fe02:b8fb%fwe0 prefixlen 64 scopeid 0x1 ether 02:06:1b:02:b8:fb ch 1 dma -1 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=bRXCSUM,TXCSUM,VLAN_MTU inet6 fe80::211:25ff:feb2:23be%em0 prefixlen 64 scopeid 0x2 inet 10.3.2.25 netmask 0xff00 broadcast 10.3.2.255 ether 00:11:25:b2:23:be media: Ethernet autoselect (100baseTX full-duplex) status: active ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::20e:9bff:fea3:d91a%ath0 prefixlen 64 scopeid 0x3 ether 00:0e:9b:a3:d9:1a media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps) status: associated ssid Reactor channel 6 bssid 00:15:e9:40:17:98 authmode OPEN privacy OFF txpowmax 34 protmode CTS burst bintval 100 plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff00 % and below is dmesg %dmesg Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE #0: Sun May 14 18:00:24 ICT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SITING Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.60GHz (1594.83-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6d6 Stepping = 6 Features=0xafe9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE Features2=0x180EST,TM2 real memory = 1064173568 (1014 MB) avail memory = 1032421376 (984 MB) kbd1 at kbdmux0 ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: IBM TP-1V on motherboard acpi_ec0: Embedded Controller: GPE 0x1c, ECDT port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 acpi_perf0: ACPI CPU Frequency Control on cpu0 acpi_throttle0: ACPI CPU Throttling on cpu0 acpi_lid0: Control Method Lid Switch on acpi0 acpi_button0: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pci0: base peripheral at device 0.1 (no driver attached) pci0: base peripheral at device 0.3 (no driver attached) agp0: Intel 82855GME (855GME GMCH) SVGA controller port 0x1800-0x1807 mem 0xe000-0xe7ff,0xd000-0xd007 irq 11 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M pci0: display at device 2.1 (no driver attached) uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0x1820-0x183f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0x1840-0x185f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0x1860-0x187f irq 11 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: Intel 82801DB/L/M (ICH4) USB 2.0 controller mem 0xd010-0xd01003ff irq 11 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: Intel 82801DB/L/M (ICH4) USB 2.0 controller on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2 pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0 pci2: ACPI PCI bus on pcib1 cbb0: TI4510 PCI-CardBus Bridge mem 0xb000-0xbfff irq 11 at device 0.0 on pci2 cardbus0: CardBus bus on cbb0 pccard0: 16-bit PCCard bus on cbb0 fwohci0: 1394 Open
Gtk-Warning **: Cannot open display
Oh dear! I thought I was getting somewhere, but progress is painfully slow until I can istall a browser and get it to work, so that I can look up solutions to the avalanche of 'challenges' that seem to befalling this newbie! 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. Any clues? ___ 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]
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]
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]