Welcome, Guest
Username: Password: Remember me
25 Jul 2018
Glad to announce of release of INDI Library v1.7.4 on 2018-07-25. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...
  • Page:
  • 1
  • 2

TOPIC: Cannot launch KStars through VNC

Re:Cannot launch KStars through VNC 2 months 3 days ago #29448

From what I read, this problem might be related to qt5. Did you test with an unencrypted vnc session instead?

-Eric

Please Log in or Create an account to join the conversation.

HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access

Re:Cannot launch KStars through VNC 2 months 3 days ago #29452

I tried to disable encryption for the VNC communication and it does not change anything, I get the same error...

Please Log in or Create an account to join the conversation.

Re:Cannot launch KStars through VNC 2 months 2 days ago #29464

Having unencrypted vnc crashing a x11 ssh tunnel is a bit strange. There should not be any tunnel actually. Could you clarify your setup?

One other test you can do is disregard vnc, open a ssh session with option -X from your client to your odroid, launch kstars from there and compare the results.

-Eric

Please Log in or Create an account to join the conversation.

HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access

Re:Cannot launch KStars through VNC 2 months 2 days ago #29465

Thanks for your answer. The setup is really simple, this is what I described above. On the server side: Ordroid XU4, Ubuntu 16.04, a standard VNC server (TightVNC, TigerVNC or TurboVNC). On the client side: any standard client on Windows, Android, ... (tightVNC, VNC Viewer). In all cases and combinations I get the same error, with and without encryption. This error only shows up with KStars and not with any other program used on the Odroid through VNC (PHD2, CCDciel, Siril, ...) - and as I said KStars works perfectly well when launched from the connected display on :0
The VNC server is launched typically with the command "vncserver :1 -geometry 1600x900 -depth 24".
It seems something wrong happens when using KStars / Qt on the X11 display :1
I will try an ssh -X session from an other Linux platform to give it a test.
Thanks again.

Please Log in or Create an account to join the conversation.

Re:Cannot launch KStars through VNC 2 months 2 days ago #29466

What happens if you start the VNC server on :0 as well? That's how I use VNC on my Odroid XU4 running Ubuntu MATE 16.04 and have no problems whatsoever. FYI I use vino as VNC server with the RealVNC client over an unencrypted VNC connection.

Please Log in or Create an account to join the conversation.

Modded Canon EOS 700D with a WO ZS 71 ED on a SW HEQ5-Pro /
QHY9 CCD and filter wheel with an 8" RC on a SW EQ6-R

Re:Cannot launch KStars through VNC 2 months 2 days ago #29467

Yes, please disregard my comment about the encrypted vnc session, especially the follow-up I did which is nonsense. My original point was that in my setup, I'm able to use kstars through (unencrypted) vnc, hence my suggestion. But both ends are x86 architectures in my case.

What version of qt are you using on the odroid? From the relatively old QT-45388, it seems rolling back to qt5.4 could be an interesting test. Something related to the presence of the xrandr extension.

-Eric

Please Log in or Create an account to join the conversation.

HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access

Re:Cannot launch KStars through VNC 2 months 2 days ago #29469

TallFurryMan wrote: What version of qt are you using on the odroid? From the relatively old QT-45388, it seems rolling back to qt5.4 could be an interesting test. Something related to the presence of the xrandr extension.

This is Qt 5.5.1. This is a good suggestion, I'll try to install previous version of Qt to see what happens.

Please Log in or Create an account to join the conversation.

Re:Cannot launch KStars through VNC 2 months 2 days ago #29470

wvreeven wrote: What happens if you start the VNC server on :0 as well? That's how I use VNC on my Odroid XU4 running Ubuntu MATE 16.04 and have no problems whatsoever. FYI I use vino as VNC server with the RealVNC client over an unencrypted VNC connection.

Thanks for your answer. I am not sure to understand how I can start VNC on 0: since I have an HDMI screen connected to the Odroid XU4 (which locks the :0 display)? Do you mean replicating the same :0 display for the VNC session?
Thanks for the tip about Vinio, I will give it a try.

Please Log in or Create an account to join the conversation.

Re:Cannot launch KStars through VNC 2 months 2 days ago #29471

It is possible to start a VNC server on the same display :0 as where the HDMI screen is connected to at the same time. When you then move the mouse, for instance, in the VNC client then you’ll see it move on the HDMI screen as well.

Please Log in or Create an account to join the conversation.

Modded Canon EOS 700D with a WO ZS 71 ED on a SW HEQ5-Pro /
QHY9 CCD and filter wheel with an 8" RC on a SW EQ6-R

Cannot launch KStars through VNC 2 months 2 days ago #29472

  • stash
  • stash's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 97
  • Karma: 2
  • Thank you received: 24
Do you have a HDMI monitor attached when you VNC view to the server - if not try it and does it work.

if thats the problem then use of RANDR might help bugreports.qt.io/browse/QTBUG-45624 or use a dummy HDMI plug - need to set the default screen outside of the vnc server for X11.

There is a config file Xorg.conf which might need changing - need to google headless vnc or ask the other user what his file contains as his works :-)

On some Intel machines(x86) with certain graphics cards they dont seem to use xorg.conf

Please Log in or Create an account to join the conversation.

RPI3 Ubuntu 16.04 / AMD desktop Kstars under Ubuntu 16.04 Mounts :azeq6 ,SWAZGoTo

RPI3 Fedora testing out on AMD desktop Fedpra 28 - running kstars 2.9.4 , Indilib 1.7.4 ?????

Cannot launch KStars through VNC 2 months 2 days ago #29474

Thanks wvreeven and stach for your answers. I have an HDMI screen connected, and when I launch a VNC server session on it on display :0 rather than :1, it creates some kind of duplicated window manager on it... Then, when I access the Odroid from a VNC client on port 5900, which corresponds to the display :0, I get a black screen.

I saw the bug report Qt uses XRANDR extension without checking and this is what convinced me there is an issue with RANDR. I tried to add 'Option "RANDR" "Enable"' in the Xorg.conf file, but it did not solve the problem. Wvreeven, do you have some specific options in your /etc/X11/Xorg.conf file?

Thanks again!

Please Log in or Create an account to join the conversation.

Cannot launch KStars through VNC 2 months 2 days ago #29477

Strange that a second window manager is created. As I said, I use vino and make sure that
- the Odroid user get automatically logged in
- vino is a start up application for the Odroid user
- vino is configured NOT to use encryption

And then I can connect to the same instance as when an HDMI cable is connected. The xorg.conf file I use is
Section "Device"
Identifier      "ODROID"
Driver "armsoc"
Option "Debug"         "false"
Option "DPMS"          "false"
    Option      "NoFlip"    "false"
Option "NoHardwareMouse" "true"
    Option      "NoG2D"     "false"
EndSection

Section "ServerLayout"
Identifier      "Default Layout"
Option "BlankTime"     "0"
Option "StandbyTime"   "0"
Option "SuspendTime"   "0"
Option "OffTime"       "0"
EndSection

Section "DRI"
Mode            0666
EndSection

Section "Screen"
Identifier      "Default Screen"
Device "Mali-Fbdev"
DefaultDepth    24
        SubSection "Display"
            Virtual 1400 1050
        EndSubSection
EndSection

and I don't use xrandr.

Please Log in or Create an account to join the conversation.

Modded Canon EOS 700D with a WO ZS 71 ED on a SW HEQ5-Pro /
QHY9 CCD and filter wheel with an 8" RC on a SW EQ6-R
Last Edit: by wvreeven.
  • Page:
  • 1
  • 2
Time to create page: 0.169 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica