XFCE \ VNC through Yast - no connection

I’ve been running into this issue for a while where when I setup “remote administration” through yast it is never able to connect. I can connect to a vnc session if I start one manually through vncserver.

To recreate

  • Fresh install
  • xfce desktop
  • default installation options
  • open Yast, go to remote administration
  • Enable remote administration without seat management, enable web, open ports (allow the installation of packages)
  • restart the computer
  • Doesn’t work

When trying to connect through a webpage on a different computer on the same network I get nothing. When looking at the /var/log/messages I get:

“sslv3 alert bad certificate” when encryption is enabled in the noVnc website settings &

“code 400, message Client must support ‘binary’ or ‘base64’ protocol”
“code 404, message File not found” when encryption is disabled.

Any insight as to why this functionality isn’t working would be great.

According to https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1757829.html this is fixed in newer version of websockify. I tested it by removing packages python-websockify-common, python3-websockify (version 0.8.0) and installing websockify 0.10.0 using pip3. With updated websockify I get VNC connection in browser.

You should open bug report for Leap 15.4 on https://bugzilla.opensuse.org, same user/password as here.

See also https://github.com/novnc/noVNC/issues/1276

That does solve the issue, I attempted to submit a bug. Hopefully I did so correctly.

Thank you for your time.

It is always good to post the URL to the bug report here. People that may have the same problem can then follow the discussion there or add more information.

Here is the URL for the bug I submitted:

https://bugzilla.suse.com/show_bug.cgi?id=1202153

Thank you,

Thanks, It looks as if a patch is on the road already. :slight_smile:

Except so much praised openSUSE community has zero chances to find/view the bug where fix is discussed or see the request which allegedly fixed it.

Can you please be a bit more verbous on pip3 commands mentioned? I don’t noch much about python
thanks Lino

If you kindly introduce an environment to get your people to try out a different desktop than the one from MS, you have to have a HeyJoe in the background who really knows his stuff. Since he can’t be everywhere at the same time like the Good Lord, a non_MS_OS dies exactly at the moment that VNC doesn’t work. The RaspberryPi_ans have understood this perfectly. In their Linux derivates, you can activate the VNC server with a mouse click - and it works !!

Sure,

I’m not an expert but I’ll try to explain what I did better,

the basic idea is that you want to uninstall websockify AND “break” the installations that depend on it. Then you install websockify “outside” of the package manager (zypper) using pip3 (which I think is installed by default). Then your system will run with the newer websockify.

So a step by step would look like this:

Open Yast
Go to software
remove & only remove (this throws up a warning about breaking things, say that’s ok, we’re reinstalling it outside of the package manager) these packages python-websockify-common, python3-websockify
in a terminal, type “pip3 install websockify”

That’s how I did it.

Took a fresh leap 15.4, both websockify packages were not installed, so there was nothing to uninstall. Then installed websockify via pip3. No success.

Thanks anyway.

Is there anywhere in the local group a distribution that comes with a VNC or RPP service that can be activated easily (like Raspi’s Debian Bullseye) without much fiddling and that is understood by WIN10 RDP or ThightVNC or RealVNC viewers?

Actually I consider openSUSE very stable and reliable, but following a hint I tried tightVNC server on a fresh Cinnamon Mint 21 installation this night. It worked right away, so it will stay that way for now … at least until someone may revive this thread with the message that the VNC service of an openSUSE installation can be activated again via yast2 - without further fiddling.
Best Lino