View previous topic :: View next topic |
Author |
Message |
onkelfusspilz Tux's lil' helper
Joined: 26 Aug 2002 Posts: 130 Location: Germany
|
Posted: Wed Aug 26, 2009 12:41 pm Post subject: Xnest: (EE) config/hal: NewInputDeviceRequest failed (2) |
|
|
If I run Xnest with for example
Code: | Xnest :5 -query 192.168.1.2 |
I get a Xnest screen flashing up with my login-screen as expected but then closes immediately. This repeats forever until I interrupt it with Ctrl+c.
While Xnest is contineously flashing, I get messages like this ok the shell:
Quote: | (EE) XKB: No components provided for device Virtual core keyboard
[config/dbus] couldn't register object path
(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2) |
I generally understand, that Xnest might try to register my keyboard as a "Virtual core keyboard" via dbus, but I can't figure out where to allow this. Can anyone give me a hint, please?
I use x11-base/xorg-server-1.6.3 on AMD64, don't know if this makes a difference here.
Thank you in advance! |
|
Back to top |
|
|
zixnub n00b
Joined: 27 Dec 2007 Posts: 67 Location: Brasschaat, Belgium
|
|
Back to top |
|
|
onkelfusspilz Tux's lil' helper
Joined: 26 Aug 2002 Posts: 130 Location: Germany
|
Posted: Wed Aug 26, 2009 9:58 pm Post subject: |
|
|
Hi zixnub,
ok I see "-ac" stands for disable access control. But it had not changed the behaviour of Xnest. It is hard to discribe, but Xnest connects to the display and I can watch the logonscreen of kdm from the remote machine for a tenth of a second, then the complete Xnest window comes down and reinitialises again.
The "-ac" was worth a try, thank you for the hint.
Oh and I should mention: If I use "X" isntead of "Xnest" all works perfectly fine. I use the same machine to connect to without any problems, I just want Xnest to use the remote connection without switching to the dedicated TTY.
Any additional ideas what I can try?
Thank you in advance! |
|
Back to top |
|
|
fbcyborg Advocate
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
Posted: Thu Sep 03, 2009 11:43 am Post subject: |
|
|
Hi!
I use Xnest or X to use graphical environments for virtualized machines.
It doesn't matter if I use XEN, User Mode Linux or VirtualBox; the result is the same: crashes and crashes.
My typical situation is a vitual operating system (i.e. Linux) started and fully working in a shell, without any X server, but with kde installed.
These are the steps I do:
"h#" stands for the host system shell
"g#" stands for the guest system shell
1) h# Xnest -ac :1
2) g# export DISPLAY="host_ip:1"
3) g# startkde
Once I start, for example, Konsole or Konqueror, Xnest suddenly crashes, reporting these messages:
Before crash:
Code: | $ Xnest -ac :1.0
(EE) config/hal: NewInputDeviceRequest failed
(EE) config/hal: NewInputDeviceRequest failed
[config/dbus] couldn't register object path
(EE) config/hal: NewInputDeviceRequest failed
(EE) config/hal: NewInputDeviceRequest failed
[config/dbus] couldn't register object path
(EE) config/hal: NewInputDeviceRequest failed
(EE) config/hal: NewInputDeviceRequest failed
[config/dbus] couldn't register object path
(EE) config/hal: NewInputDeviceRequest failed
(EE) config/hal: NewInputDeviceRequest failed
[config/dbus] couldn't register object path
(EE) config/hal: NewInputDeviceRequest failed
(EE) config/hal: NewInputDeviceRequest failed |
After crash:
Code: | X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 70 (X_PolyFillRectangle)
Resource id in failed request: 0x0
Serial number of failed request: 38927
Current serial number in output stream: 38927 |
I guess xorg is highly bugged, because I could do that steps without any problem, with 7.1 version.
Another issue, that is annoying me so much, is that I can't start Xnest as root, sometime.
It actually gives me the following error:
Code: | # Xnest -ac :1
No protocol specified
Fatal server error:
Unable to open display ":0.0". |
This has never happened before.
Finally, if I try to use X -ac :1 instead of Xnest, it opens another X window on ALT+F8, but once I start kde from the guest machine, my PC hangs and a reboot is required (fortunately I can use sysRq to reboot).
Any idea? _________________ [HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Thu Sep 03, 2009 11:59 am Post subject: |
|
|
Xnest is a lost cause. It never worked fine.
I suggest Xephyr. You need to compile xorg with USE=kdrive to get it. |
|
Back to top |
|
|
fbcyborg Advocate
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
Posted: Thu Sep 03, 2009 12:09 pm Post subject: |
|
|
i92guboj wrote: | Xnest is a lost cause. It never worked fine.
| That's not really true, because I used it in the past, without any problem. But my problem is not really here. i92guboj wrote: |
I suggest Xephyr. You need to compile xorg with USE=kdrive to get it. |
Thank you for the suggestion, maybe I'll try it as soon as possible, but my first need is to have X working without any crash.
X works well for the normal use (to use KDE, or Gnome on my host system), but crashes if I do the steps indicated in my
previous post.
I use Xnest only for test, and mainly because If I use X it suddenly crashes once I start kde.
Finally, using Xephir is not a solution for my necessities.
I need X working as two years ago, when I could open a window manager in another X session (accessible through ALT+F8/9 depending on the channel), without any sort of crash.
Thank you for your interest. _________________ [HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered |
|
Back to top |
|
|
onkelfusspilz Tux's lil' helper
Joined: 26 Aug 2002 Posts: 130 Location: Germany
|
Posted: Thu Sep 03, 2009 12:14 pm Post subject: |
|
|
Hi fbcyborg,
your first problem seems to match my experience. Since I have KDM running as login-manager on the remote-box, this could cause the same error as when you start konsole or konqueror. It still seems to me that the error really relies on the errors caused by some kind of input-device-query "(EE) config/hal: NewInputDeviceRequest failed", but I have still no solution for this yet.
The second one Quote: | Unable to open display ":0.0". | sounds to me like a xauthentication-error. Have you done something like as the "normal" user that owns the display before trying to run a X application as root?
And yes I can acknowledge that Xnest worked fine for me in the older version. Anyway, switching back doesn't seem as a solution for me. |
|
Back to top |
|
|
onkelfusspilz Tux's lil' helper
Joined: 26 Aug 2002 Posts: 130 Location: Germany
|
Posted: Thu Sep 03, 2009 12:17 pm Post subject: |
|
|
Hi i92guboj,
that sounds like over-simplifying it a little to me. Xnest worked for ages without any flaws until this problem emerged on the recent X upgrade.
I haven't tried Xephyr yet, I'll give it a shot.
Thank you,
Andreas |
|
Back to top |
|
|
fbcyborg Advocate
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
Posted: Thu Sep 03, 2009 12:24 pm Post subject: |
|
|
Hi!
I don't need kdm in this circumstance, because, when I start kde, I'm already logged in, through the bash terminal.
I really don't understand this kind of error "(EE) config/hal: NewInputDeviceRequest failed".
onkelfusspilz wrote: | sounds to me like a xauthentication-error. Have you done something like as the "normal" user that owns the display before trying to run a X application as root? | Yes, I tried to do it, but I've never had the necessity to do it in the past. For example, now, I am in the XEN root filesystem, and I have no problem to start Xnest as root. Anyway, it doesn't matter... onkelfusspilz wrote: |
And yes I can acknowledge that Xnest worked fine for me in the older version. Anyway, switching back doesn't seem as a solution for me. |
Me too... also because portage doesn't include oldest versions anymore.
EDIT: Xephyr seems to be really nice! _________________ [HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered |
|
Back to top |
|
|
onkelfusspilz Tux's lil' helper
Joined: 26 Aug 2002 Posts: 130 Location: Germany
|
Posted: Thu Sep 03, 2009 12:42 pm Post subject: |
|
|
Hi i92guboj,
I just recompiled xorg-server with use-flag +kdrive and tried Xephyr and it worked perfectly well! Just one thing: I needed to add the parameter "-kb" which disables the x-keyboard-extension. If I don't disable it, my keyboard-layout is screewed up completely within Xephyr.
Thank you very much!
Andreas |
|
Back to top |
|
|
fbcyborg Advocate
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
|
Back to top |
|
|
|