UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    [REQUEST] VNC Server testing/assistance

    Scheduled Pinned Locked Moved App Development
    testingvncdebugging
    17 Posts 5 Posters 2.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • A Offline
        abmyii @wdehoog
        last edited by

        @wdehoog Glad it works on your device! Thank you for testing it.

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi @abmyii
          last edited by

          @abmyii Here's my results

          • Pinephone - crash at startup
          • Nexus 5 - Works until you do any kind of input (keyboard or mouse)
          • Meizu MX4 - Works
          • Xperia X - Works
          • Bq E5 HD - Connects but just shows the app drawer. It's in a year-old edge image though so that could be the reason.

          Wasn't able to rotate the screen though on TightVNC (WIndows 10) and Remmina (Ubuntu).

          A 1 Reply Last reply Reply Quote 1
          • A Offline
            abmyii @kugiigi
            last edited by

            @kugiigi said in [REQUEST] VNC Server testing/assistance:

            @abmyii Here's my results

            • Pinephone - crash at startup
            • Nexus 5 - Works until you do any kind of input (keyboard or mouse)
            • Meizu MX4 - Works
            • Xperia X - Works
            • Bq E5 HD - Connects but just shows the app drawer. It's in a year-old edge image though so that could be the reason.

            Super useful, thank you very much! The Pinephone crash is expected since there is no Mir server. It's just the pesky Nexus 5 issue that I can't seem to isolate...
            Considering it worked on all the others I guess it's just a Nexus 5-sepecific issue.

            Wasn't able to rotate the screen though on TightVNC (WIndows 10) and Remmina (Ubuntu).

            @abmyii said in [REQUEST] VNC Server testing/assistance:

            @kugiigi Ctrl+Shift+Up and Ctrl+Shift+Down should do it!

            Whoops, I just realised it's Ctrl+Super+Up and Ctrl+Super+Down.

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              kugiigi @abmyii
              last edited by

              @abmyii Oh okay, that worked although at first it was crashing and when it worked, I still get crashes when rotating from time to time. This is on Remmina on Ubuntu so perhaps specific only to this.

              A 1 Reply Last reply Reply Quote 1
              • A Offline
                abmyii @kugiigi
                last edited by

                @kugiigi said in [REQUEST] VNC Server testing/assistance:

                @abmyii Oh okay, that worked although at first it was crashing and when it worked, I still get crashes when rotating from time to time. This is on Remmina on Ubuntu so perhaps specific only to this.

                Yeah, known issue - I haven't had a chance to look into it properly yet. It usually takes ~4/5 rotations in quick succession for it to crash on mine.

                K 1 Reply Last reply Reply Quote 1
                • K Offline
                  kugiigi @abmyii
                  last edited by

                  @abmyii Yeah, I think it's fine. It's still usable anyway and not a big deal.
                  One suggestion though is to put a simple UI for the app because showing a continuous loading screens can be confusing to uses. Perhaps a toggle to turn on and off the server so that the app won't crash completely when the server crashes. This will be more effort though 😛

                  A 1 Reply Last reply Reply Quote 1
                  • A Offline
                    abmyii @kugiigi
                    last edited by

                    @kugiigi TBH my dad suggested to add it to the UT Tweak Tool but Rodney said it should be a CLI tool built into the system. Will have to clarify with him today how to move forward.

                    K 1 Reply Last reply Reply Quote 0
                    • K Offline
                      kugiigi @abmyii
                      last edited by

                      @abmyii The proper way is indeed to integrate it to the system but it's fine to have it as a separate app for now or to put it in UTTT since your father is the maintainer anyway 🙂 Many things in UTTT graduates or should graduate and implemented in the system anyway

                      1 Reply Last reply Reply Quote 1
                      • jezekJ Offline
                        jezek
                        last edited by jezek

                        Works on FP2 (2020-W50) + Vinagre Remote Desktop Viewer on Ubuntu-MATE 20.10.

                        The touch gestures on notebook's touch screen are transferred too and can be used to control the phone.

                        Screenshot-MirVNCServer.resized[50%].jpg

                        Very good job, thank you.

                        jEzEk

                        A 1 Reply Last reply Reply Quote 1
                        • A Offline
                          abmyii @jezek
                          last edited by

                          @jezek Great, glad it works well!

                          1 Reply Last reply Reply Quote 0
                          • Z Offline
                            zhangrelay @abmyii
                            last edited by

                            @abmyii OnePlus A3010 ok. Amazing, thanks.
                            Screenshot from 2021-02-18 19-50-55.png

                            A 1 Reply Last reply Reply Quote 1
                            • A Offline
                              abmyii @zhangrelay
                              last edited by

                              @zhangrelay Glad it works fine on your device!

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                abmyii
                                last edited by

                                For input to work on Nexus 5 (hammerhead), a udev rule has to be added using the following instructions:

                                • Make the rootfs rw using the Ubuntu Touch Tweak Tool (UTTT)
                                • Run this command on the device/over SSH:
                                echo 'ACTION=="add", KERNEL=="uinput", OWNER="system", GROUP="bluetooth", MODE="0660"' | sudo tee /lib/udev/rules.d/70-android_additional.rules
                                
                                • Reboot device

                                This fix has to be applied only once. It will become redundant after OTA-17 is released, as there is an open PR to fix it (https://github.com/ubports/android_device_lge_hammerhead/pull/30).

                                1 Reply Last reply Reply Quote 1
                                • First post
                                  Last post