This forum has been archived. All content is frozen. Please use KDE Discuss instead.

issues with kde and vncserver

Tags: None
(comma "," separated)
danielsender
Registered Member
Posts
15
Karma
0

issues with kde and vncserver

Tue Jun 04, 2013 3:26 am
I'm having troubles running a vncserver with KDE. The thread was originally at:

viewtopic.php?f=22&t=111264&p=266034#p266034

but by suggestion of the moderator bcooksley I moved it here.

I'll appreciate any help.

Daniel
luebking
Karma
0

Re: issues with kde and vncserver

Wed Jun 05, 2013 8:41 pm
Ok, please first clarify the problem.
I guess it's not the initial crash in kded apparently caused by the Wacom module, but the inability to minimize/maximize (we'll exclude "close" for the moment, since that's more complex) windows through the titlebar, right?

a) check that you're running kwin at all (there's "metacity --replace" and that will get you, well, "metacity", not "kwin")
Code: Select all
ps ax | grep kwin


b) assuming you actually run kwin, what happens if you restart kwin?
Code: Select all
kwin --replace


c) Does this only apply to the windows inside the VNC client, the VNC client itself or all windows in the Desktop of the host (ie. the vnc client and all other windows on that desktop)

d) Which window decoration do you use and does changing it have any impact?
Code: Select all
kcmshell4 kwindecoration
danielsender
Registered Member
Posts
15
Karma
0

Re: issues with kde and vncserver

Fri Jun 07, 2013 4:09 am
a) if I enter 'metacity --replace', and type "ps aux | grep kwin" I get:

Code: Select all
daniel    2259  0.0  1.7 165468 36776 ?        S    11:32   0:16 kwin -session 10e0d06468000137050543100000023210000_1370534607_808165


b) then if type 'kwin --replace' then the terminal prints:

Code: Select all
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Xlib:  extension "XInputExtension" missing on display ":1".
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
kwin(10787): Compositing is not possible
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread


and again I cannot perform any action on ANY window,

c) when I enter 'kcmshell4 kwindecoration'
a window with pictures of the decorations appear, and in the terminal that I typed the command I get:

Code: Select all
Xlib:  extension "XInputExtension" missing on display ":1".
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
kcmshell(10850)/kwin KDecorationPlugins::canLoad: "****** The library
/usr/lib/kde4/kwin3_kde2.so has no API version ******"
kcmshell(10850)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION
macro in extern "C" to get this decoration loaded in future versions of kwin
kcmshell(10850)/kwin KDecorationPlugins::canLoad: "****** The library
/usr/lib/kde4/kwin3_keramik.so has no API version ******"
kcmshell(10850)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION
macro in extern "C" to get this decoration loaded in future versions of kwinkcmshell(10850)/kwin KDecorationPlugins::canLoad: "****** The library
/usr/lib/kde4/kwin3_modernsys.so has no API version ******"
kcmshell(10850)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION
macro in extern "C" to get this decoration loaded in future versions of kwin
kcmshell(10850)/kwin KDecorationPlugins::canLoad: "****** The library
/usr/lib/kde4/kwin3_quartz.so has no API version ******"
kcmshell(10850)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION
macro in extern "C" to get this decoration loaded in future versions of kwin
kcmshell(10850)/kwin KDecorationPlugins::canLoad: "****** The library
/usr/lib/kde4/kwin3_redmond.so has no API version ******"
kcmshell(10850)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION
macro in extern "C" to get this decoration loaded in future versions of kwin
kcmshell(10850)/kwin KDecorationPlugins::canLoad: "****** The library
/usr/lib/kde4/kwin3_web.so has no API version ******"
kcmshell(10850)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION
macro in extern "C" to get this decoration loaded in future versions of kwin
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
kcmshell(10850)/kwin KDecorationPlugins::canLoad: "****** The library
/usr/lib/kde4/kwin3_kde2.so has no API version ******"                           
kcmshell(10850)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION
macro in extern "C" to get this decoration loaded in future versions of kwin     
kcmshell(10850)/kwin KDecorationPlugins::canLoad: "****** The library
/usr/lib/kde4/kwin3_keramik.so has no API version ******"                       
kcmshell(10850)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION
macro in extern "C" to get this decoration loaded in future versions of kwin     
kcmshell(10850)/kwin KDecorationPlugins::canLoad: "****** The library
/usr/lib/kde4/kwin3_modernsys.so has no API version ******"                     
kcmshell(10850)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATIONmacro in extern "C" to get this decoration loaded in future versions of kwin
kcmshell(10850)/kwin KDecorationPlugins::canLoad: "****** The library
/usr/lib/kde4/kwin3_quartz.so has no API version ******"
kcmshell(10850)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION
macro in extern "C" to get this decoration loaded in future versions of kwin
kcmshell(10850)/kwin KDecorationPlugins::canLoad: "****** The library
/usr/lib/kde4/kwin3_redmond.so has no API version ******"
kcmshell(10850)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION
macro in extern "C" to get this decoration loaded in future versions of kwin
kcmshell(10850)/kwin KDecorationPlugins::canLoad: "****** The library
/usr/lib/kde4/kwin3_web.so has no API version ******"
kcmshell(10850)/kwin KDecorationPlugins::canLoad: ****** Please use the KWIN_DECORATION
macro in extern "C" to get this decoration loaded in future versions of kwin
Object::connect: No such signal QObject_QML_1::buttonsChanged()
Object::connect: No such signal QObject_QML_1::fontChanged()
Object::connect: No such signal QObject_QML_1::buttonsChanged()
Object::connect: No such signal QObject_QML_1::fontChanged()
Object::connect: No such signal QObject_QML_1::buttonsChanged()
Object::connect: No such signal QObject_QML_1::fontChanged()
Object::connect: No such signal QObject_QML_1::buttonsChanged()
Object::connect: No such signal QObject_QML_1::fontChanged()


If I use the xfce4 manager, then everything works.

Thanks.

Daniel
luebking
Karma
0

Re: issues with kde and vncserver

Fri Jun 07, 2013 11:58 am
if I enter 'metacity --replace', and type "ps aux | grep kwin" I get:

That seems wrong - replacing the WM should kill any kwin - how many kwin processes are there after "kwin --replace&"?

Xlib: extension "XInputExtension" missing on display ":1"

I've a suspicion here, but it's important to know which window decoration is used (the output of the command is irrelevant, but which decoration is selected?)
Plese try whether your issues remain with the "oxygen" decoration (no "oxygen-air" etc.) - in doubt the "laptop" one. NOT Plastik or anything you can download from kde-look.org
danielsender
Registered Member
Posts
15
Karma
0

Re: issues with kde and vncserver

Fri Jun 07, 2013 3:33 pm
The host is running kwin, so I assume that the 'ps' is showing that one. I'm not familiar with these commands, but if I type 'metacity --replace' in the VNC instance it is not affecting what the host is doing, right?
luebking
Karma
0

Re: issues with kde and vncserver

Fri Jun 07, 2013 7:49 pm
Ok, just to get that straight:
Only the windows in the vnc instance are affected, whatever you do inside there, resp. just running vnc has no impact on the host behavior, right?

In that case, please also only operate inside the vnc instance (when checking for running processes) and esp. try to alter the decoration there.
If the host is unaffected (no problems there and running metacity in the host has no impact on the remote behavior either), there's no point on obtaining information about it.
danielsender
Registered Member
Posts
15
Karma
0

Re: issues with kde and vncserver

Sat Jun 08, 2013 4:24 am
Yes, it appears that whatever I do in the VNC instance does not affect the host instance. Are you asking to check the processes inside the VNC instance only? How do I do that with the 'ps' command? (or other)
luebking
Karma
0

Re: issues with kde and vncserver

Sat Jun 08, 2013 6:19 am
open a konsole there?
also please answer the question about the decoration - i suspect the absence of the input extension to be the cause here and the qml usage of it through the aurorae decos the issue.
rmorris
Registered Member
Posts
3
Karma
0

Re: issues with kde and vncserver

Wed Sep 18, 2013 9:52 pm
Hi,

Sorry if this has already been resolved, but I admit that I don't know the resolution ... :-(. I have exactly the same issue - connecting via VNC (Xvnc) seems to cause KDE to crash. If I use Mate or xfce4 it works fine.

What can I do to help debug this?

Thanks,
... Russell
luebking
Karma
0

Re: issues with kde and vncserver

Wed Sep 18, 2013 10:22 pm
Bug:
https://bugs.kde.org/show_bug.cgi?id=320459

Fix:
https://git.reviewboard.kde.org/r/112623/

Workaround:

add

------------- snip --------------------------------
[Windeco]
UseExtendedWindowBorders=false
------------- /snip -------------------------------

to .kde[4]/share/config/oxygenrc (create it, if it doesn't exist and re-use an exisiting [Windeco] group)
rmorris
Registered Member
Posts
3
Karma
0

Re: issues with kde and vncserver

Thu Sep 19, 2013 1:05 am
Thanks so much! Yes, this fixes the lack of window controls - much appreciated!

FYI, I still get a segmentation fault in kdeinit4 ... is this expected?

And do I need to remove the workaround later, when the fix is in place?

Thanks again,
... Russell
luebking
Karma
0

Re: issues with kde and vncserver

Thu Sep 19, 2013 11:50 pm
FYI, I still get a segmentation fault in kdeinit4 ... is this expected?

Yes, crashing is a core feature of ... whaaat? ;-)
No. If you encounter a reproducible crash (and a Dr. Konqui dialog) please report it (Dr. Konqui should guide you through this)

And do I need to remove the workaround later, when the fix is in place?

No, but you can.
Once VNC has sufficient input shaping support, this will allow you to resize windows with "invisible" borders - until then it has no effect.
rmorris
Registered Member
Posts
3
Karma
0

Re: issues with kde and vncserver

Fri Sep 20, 2013 1:53 am
luebking wrote:
FYI, I still get a segmentation fault in kdeinit4 ... is this expected?

Yes, crashing is a core feature of ... whaaat? ;-)
No. If you encounter a reproducible crash (and a Dr. Konqui dialog) please report it (Dr. Konqui should guide you through this)

It does happen every time - will report it, thanks!

And do I need to remove the workaround later, when the fix is in place?

No, but you can.
Once VNC has sufficient input shaping support, this will allow you to resize windows with "invisible" borders - until then it has no effect.

Makes sense - thanks again for the help!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar