Kino-(kino:5747): Gtk-WARNING **: cannot open display: :0
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Kino-(kino:5747): Gtk-WARNING **: cannot open display: :0
I've installed Kino 0.9.5. When I try to open it I get (kino:5747): Gtk-WARNING **: cannot open display: :0
I've Googled and searched this forum. I assume I need to set a config file somewhere that tells GTK which display to use(?)
Any ideas which?
Is there any special reason you choose 0.9.5? It has been released in January 2007 and there are newer versions. I have for example 1.3 running. I had not the time to test in on Slackware 12.1 yet but at least it starts OK
Sorry but I'm probably not much help here. I compiled kino and dependencies without problem and can start it without a problem too. Is there a chance that you are running a graphical login manager and try to start it from command line as user "root"?
Thanks for your replies. That was the problem, it's always the simplest things that seem to cause the most trouble.
I just installed 1.3 from source again and now it loads ok.
However, I now have the following message under the IEEE 1394 tab in Preferences
The IEEE 1394 Subsystem is not responding
The raw1394 module must be loaded and you must have read and write access to /dev/raw1394
I remember this from when I was using Debian/Ubuntu a while ago but the remedy for that refers to a file that isn't present in Slackware, or has a different name.
Also when I do modprobe raw1394 I get
WARNING: Error inserting ieee1394 (/lib/modules/2.6.24.5-smp/kernel/drivers/ieee1394/ieee1394.ko): Invalid module format
I'm on unknown ground here and may well be doing something wrong.
Any further help would be appreciated as I'm that much closer to being able to use Kino in Slackware.
Thanks Eric, I was wondering whether it was something like that. I upgraded from 12.0 to 12.1. I didn't experience any problems with the upgrade. I followed the procedure from the Slackware website and everything went ok.
Could the upgrade be the cause? If so, is there anything I can do about it? Here's what I get when I duplicate your output:
Thanks Eric, I was wondering whether it was something like that. I upgraded from 12.0 to 12.1. I didn't experience any problems with the upgrade. I followed the procedure from the Slackware website and everything went ok.
Could the upgrade be the cause? If so, is there anything I can do about it? Here's what I get when I duplicate your output:
Do you only get an error message or is dvgrab really not working properly? I'm not sure what happens if you have the "huge" kernel installed and try to modprobe an included module. So maybe you get an error but it's already working???
Cave: I haven't tested dvgrab on my new setup because work is eating all my time I hope to have some spare time tomorrow to test it.
If I were you and if the problem persisted I would just recompile the kernel (with the config file for Pat's "generic-smp" kernel) and create a new initrd.gz file if needed. This resolved any similar problems for me in the past.
I'm not sure if you can tell from this output if you are running the generic or huge kernel image, but doubt it. I would rather take a look in /boot and respectively your lilo.conf. If you have referenced "vmlinuz" as kernel, where is /boot/vmlinuz linked to?
I'm not sure if you can tell from this output if you are running the generic or huge kernel image, but doubt it. I would rather take a look in /boot and respectively your lilo.conf. If you have referenced "vmlinuz" as kernel, where is /boot/vmlinuz linked to?
The IEEE1394 module is compiled into the kernel in the huge-smp kernel, and compiled as a module in the generic-smp kernel. This is probably your problem. You should switch to the generic kernel. Please don't ask how, try searching -- it's been explained several thousand times in these forums. It is recommended that you use the generic-smp kernel instead of the huge-smp kernel in the official documentation that came with your Slackware installation/upgrade:
Quote:
Originally Posted by CHANGES_AND_HINTS.TXT
Use one of the provided generic kernels for daily use. Do not report
bugs until/unless you have reproduced them using one of the stock
generic kernels. You will need to create an initrd in order to boot
the generic kernels - see /boot/README.initrd for instructions.
Quote:
Originally Posted by CHANGES_AND_HINTS.TXT
As stated earlier, it is recommended that you use one of the generic kernels
rather than the huge kernels; the huge kernels are primarily intended as
"installer" and "emergency" kernels in case you forget to make an initrd.
For most systems, you should use the generic SMP kernel if it will run,
even if your system is not SMP-capable. Some newer hardware needs the
local APIC enabled in the SMP kernel, and theoretically there should not be
a performance penalty with using the SMP-capable kernel on a uniprocessor
machine, as the SMP kernel tests for this and makes necessary adjustments.
Furthermore, the kernel sources shipped with Slackware are configured for
SMP usage, so you won't have to modify those to build external modules
(such as NVidia or ATI proprietary drivers) if you use the SMP kernel.
If you decide to use one of the non-SMP kernels, you will need to follow the
instructions in /extra/linux-2.6.24.5-nosmp-sdk/README.TXT to modify your
kernel sources for non-SMP usage. Note that this only applies if you are
using the Slackware-provided non-SMP kernel - if you build a custom kernel,
the symlinks at /lib/modules/$(uname -r)/{build,source} will point to the
correct kernel source so long as you don't (re)move it.
If you decide to use one of the huge kernels anyway, you will encounter
errors like this:
kobject_add failed for uhci_hcd with -EEXIST, don't try to register
These occur because the respective drivers are compiled statically into the
huge kernels but udev tries to load them anyway. These errors should be safe
to ignore, but if you really don't want them to appear, you can blacklist the
modules that try to load in /etc/modprobe.d/blacklist. However, make sure you
remove them from the blacklist if you ever decide to use the (recommended)
generic kernels.
If you want to be complicated, you could blacklist the IEEE1394 module in /etc/modprobe.d/blacklist and then you should be able to successfully modprobe raw1394 -- but this isn't the best way to do it (the best way to avoid this and future kernel problems would be to switch to the generic-smp kernel).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.