You are not logged in.

#1 2013-11-18 14:05:55

smekkleysa
Member
Registered: 2013-11-18
Posts: 15

[SOLVED] Vnc session crashes as soon as I press a keyboard key.

Hello, everyone.

This is my first post!

I'm using load "vnc" option in xorg so that I can connect to physical display remotely, but as soon as I press a keyboard key, it crashes and physical session gets logout also.
With a mouse there are no problems at all, I can even use software keyboard.
For clients software, I tried tigervnc, tightvnc, and an android app called Jump but the same result..

I am not thinking of using x0vncserver or x11vnc because they are not fast enough to watch films.

It is extremely similar to the bug below, but I doubt it shares the same cause because both my xorg and tigervnc are newer.
https://bugs.archlinux.org/task/36209

I'd like to know if anybody else is having the same problem as me.

I'm using...
xorg-server-1.14.4-1
tigervnc-1.3.0-3
slim-1.3.6-2
xfce4 4.10

My xorg conf for vnc

Section "Module"
  Load "vnc"
EndSection

Section "Screen"
  Identifier "Screen0"
  Option "SecurityTypes" "VncAuth"
  Option "UserPasswdVerifier" "VncAuth"
  Option "PasswordFile" "/root/.vnc/passwd"
EndSection

Last edited by smekkleysa (2013-11-19 13:12:30)

Offline

#2 2013-11-18 15:18:55

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] Vnc session crashes as soon as I press a keyboard key.

The cause is a missing symbol, key_is_down. Fedora had a patch, but it caused other issues so they removed it. Either they're now also shipping a broken libvnc.so module, or they patched xorg-server to export that symbol. I'm checking their xorg-server patches right now.

Edit: Indeed Fedora patches their X: http://pkgs.fedoraproject.org/cgit/xorg … ef50fde635 <- if you want to use the libvnc.so module, you'll need to recompile xorg-server with that patch.

Last edited by Gusar (2013-11-18 15:41:05)

Offline

#3 2013-11-19 13:11:08

smekkleysa
Member
Registered: 2013-11-18
Posts: 15

Re: [SOLVED] Vnc session crashes as soon as I press a keyboard key.

Thank you!
I applied the patch you told me, and it's finally working.

I couldn't find the information anywhere. I really cannot thank you enough.

Offline

Board footer

Powered by FluxBB