this post was submitted on 10 Aug 2023
1183 points (97.2% liked)
linuxmemes
21637 readers
344 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now. ย
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
OK, I just tried reinstalling KDE connect on my phone. I didn't have to do anything with USB Debugging. There should just be KDE Connect in app menu after you install it, there you should be able to pair a new device. However I don't know how well that may work under VM.
About the TeamViewer, I did use TeamViewer on Linux Mint without problems. Maybe again something to do with VM. RDP just seems to be Microsoft's remote desktop protocol unrelated to TeamViewer.
But I never properly tried Ubuntu. I didn't even manage to install it as the installer kept crashing :-/
i guess i ll have to dig in this further. i ll keep ur experience in mind.
Documenting results (mostly successful)
Trying to download KDE Connect in Ubuntu Software
The only unsuccessful part.
I was waiting for it to download but it wasn't moving. So I hit "Cancel" in hope to retry the download. However it shown as installed even though it wasn't. Trying to remove KDE connect resulted in following error: Direct image link
I tried to find a way to delete cache or config for Ubuntu Software (
snap-store
), but I only managed to delete all icons from it by deleting~/snap
...Installing via apt
As expected, the good old
sudo apt install kdeconnect
did its job perfectly.Direct image link
Pairing KDE connect
As expected, this did not work right away as by default the network adapter is attached to NAT in VirtualBox. As such I couldn't see any devices in KDE connect.
The solution was to change it to Bridged Adapter and select the desired network card. This way it would directly communicate with outside world using my laptop's network adapter.
The setting is located in: (Your VM) > Settings > Network
A new problem arose. Trying to pair my phone with VM instead sent pairing request to host as I have KDE Connect installed on it ~~and both Host and Guest are using same IP address.~~
That problem solved itself after pairing my phone with host computer.
~~KDE Connect dynamically assigns ports in range 1714-1764. I guess at first they were trying to both use the same port, thus host received the pairing request instead, but after pairing and connecting with host, guest had to use different port and now they were able to successfully connect.~~
Edit: Nope, they do get separate IPs. I don't know why this occurred then.
So I was able to connect both my phone and laptop:
Direct image link
TeamViewer
After downloading the TeamViewer .deb file I just double clicked it and then clicked on install in the installer window
Direct image link
Then I just normally launched TeamViewer from app menu and requested connection from my phone.
Ubuntu just asked to select display and allow remote interaction
Direct image link
And this is a screenshot from my phone:
Direct image link
man this is a dedicated effort! thank you so much.
I'll try to download Ubuntu 23.04 ISO overnight and try it tomorrow on VirtualBox (7.0).