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

    Need help connecting again to external display

    Scheduled Pinned Locked Moved Support
    7 Posts 2 Posters 1.6k Views 1 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.
    • mihaelM Offline
      mihael
      last edited by

      I'm on Pro 5, rc channel. I used to be able to connect to wireless external display but now it sees the TV under settings but when I click to connect to it, it just waits for a while and says "connecting" but nothing happens. In the end it says something like it was not able to connect. Where can I look for errors? Where can I find a log file? Thanks for any help!

      1 Reply Last reply Reply Quote 1
      • IngoI Offline
        Ingo
        last edited by

        If you say "used to be able to connect", was that with 15.04?
        Because in 16.04 there is a bug that prevents connecting to a wireless external display.

        For now there is a workaround described in https://github.com/ubports/ubuntu-touch/issues/781#issuecomment-423732902

        mihaelM 1 Reply Last reply Reply Quote 1
        • mihaelM Offline
          mihael @Ingo
          last edited by

          @ingo Thanks for your help. I don't remember if that happened when I switched to 16.04 - it might as well be.

          I tried to add the suggested line to the suggested file and then restarted the phone but it didn't work...

          Any idea what can I do next?

          1 Reply Last reply Reply Quote 0
          • IngoI Offline
            Ingo
            last edited by

            Is the added line still there after reboot? If yes, I don't know what else to check 😞

            mihaelM 1 Reply Last reply Reply Quote 0
            • mihaelM Offline
              mihael @Ingo
              last edited by

              @ingo Yes, the line is still there... I tried to put the line in different sections in that file and in the end I put it at the end of the file, outside any section. I also tried manually to disavle apparmor with sudo /etc/init.d/apparmor teardown and then play with aethercastctl - no change. Am I missing something?

              The folder /run/aethercast/ is empty...

              1 Reply Last reply Reply Quote 0
              • mihaelM Offline
                mihael
                last edited by

                I made it work... According to https://bileto.ubuntu.com/#/ticket/2162, I changed the line from /{,var/}run/aethercast/dhclient*.leases lrw, to /run/aethercast/dhclient*.leases lrw, and then voila! Thank you @Ingo for pointing me into the right direction.

                1 Reply Last reply Reply Quote 2
                • IngoI Offline
                  Ingo
                  last edited by

                  That's strange...

                  The curly braces enclose optional parts, i.e. /{,var/}run/aethercast/dhclient*.leases lrw, means /var/run/aethercast/dhclient*.leases lrw, and /run/aethercast/dhclient*.leases lrw,

                  The curly braces ({}) make this rule apply to the path both with and without the content enclosed by the braces.
                  https://www.novell.com/documentation/apparmor/apparmor201_sp10_admin/data/bx5bmkc.html

                  P.S.: because I'm usually on the dev channel and update rather frequently, I wrote a script to re-apply the change after each update: https://gist.github.com/Ingo-FP-Angel/905c5655511435b0ded2eb354dab538b

                  1 Reply Last reply Reply Quote 3

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post