Need help connecting again to external display
-
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!
-
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
-
@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?
-
Is the added line still there after reboot? If yes, I don't know what else to check
-
@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...
-
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. -
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.htmlP.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