Sample Header Ad - 728x90

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

Latest Questions

7 votes
3 answers
24014 views
How to Play Sound from Termux when using Linux?
I have a problem with audio streaming that I can not listen audio from Pulseaudio when using VNC with a Linux Desktop Environment. However it works if I export the audio to XSDL. But the problem is that after I exit the application the sound does not work in the background. I know that Pulseaudio on...
I have a problem with audio streaming that I can not listen audio from Pulseaudio when using VNC with a Linux Desktop Environment. However it works if I export the audio to XSDL. But the problem is that after I exit the application the sound does not work in the background. I know that Pulseaudio only supports Xorg servers, so how to stream audio to VNC or any other application on Android and to run it in the background. I know that there is an application Simple Protocol Player that listens to pulseaudio sound from Xorg Server, but it does not work for me and I do not know the reason.
Maher_2000 (113 rep)
Dec 24, 2018, 08:08 AM • Last activity: Jun 17, 2025, 10:40 PM
1 votes
1 answers
3311 views
Blank screen when accessing Kali Linux
I'm trying to access Linux Deploy, Kali Linux via a VNC Client on my Android phone. I could access it, but I get a blank screen. How to fix it?
I'm trying to access Linux Deploy, Kali Linux via a VNC Client on my Android phone. I could access it, but I get a blank screen. How to fix it?
DrWongKC (121 rep)
Jan 26, 2017, 02:45 PM • Last activity: Dec 14, 2024, 10:00 AM
8 votes
4 answers
2889 views
Control Android device from PC
I have built an Android app which is locked in landscape orientation. I want to have a live view of my mobile on my PC to make a demonstration of my app. The problem is that the screen doesn't show properly. I have tested some apps like Droid VNC Server and Airdroid but the problem is that my app's...
I have built an Android app which is locked in landscape orientation. I want to have a live view of my mobile on my PC to make a demonstration of my app. The problem is that the screen doesn't show properly. I have tested some apps like Droid VNC Server and Airdroid but the problem is that my app's screen is rotated 90 degrees and it seems that these apps were showing my landscape app in portrait mode. Is there any solution?
user2065529 (81 rep)
May 12, 2013, 09:34 AM • Last activity: Nov 11, 2024, 06:28 AM
1 votes
1 answers
1878 views
Route pulseaudio to phone speakers in Termux without proot or rooting+chroot?
**Question:** How do I get the pulseaudio command `play` from the Termux app to emit sound over the phone speakers (without rooting the phone or using a proot installation in Termux)? **Specifics:** I have a *Samsung Galaxy S21-U* running *Android 14* and *Termux `0.118.1`* (retrieved from *F-Droid*...
**Question:** How do I get the pulseaudio command play from the Termux app to emit sound over the phone speakers (without rooting the phone or using a proot installation in Termux)? **Specifics:** I have a *Samsung Galaxy S21-U* running *Android 14* and *Termux 0.118.1* (retrieved from *F-Droid* on 2024.08.22) with *TigerVNC 1.10.1-41*. TigerVNC and associated required packages retrieved via *apt* in termux, and I followed [these steps](https://wiki.termux.com/wiki/Graphical_Environment) to bring up an *[xfce4](https://www.xfce.org/) desktop environment*. I cannot find working instructions, but I did find the following: 1. The following solutions successfully played MP3 files over USB-C speakers: - [The command play-audio from this answer](https://android.stackexchange.com/a/242118/246519) (mpg123 and play produce no output, but see below); - [These instructions on reddit for the mpv command](https://old.reddit.com/r/termux/comments/men125/can_termux_play_audio/) ; - I cannot get output over the phone speakers from either of the above. 2. [The VNC subset of this answer](https://android.stackexchange.com/a/205629/246519) does not work for me - A virtual pulseaudio sink auto_null.monitor exists. - The commands play and mpg123 seem to attach to this sink. - With the above inputs attached, the sink auto_null.monitor switches state from SUSPENDED to RUNNING. - With audio playing, the xfce4 volume control panel shows the volume fluctuating. - No sound is emitted over *either* the phone or USB-C speakers. ### Related questions and forum threads [This reddit thread](https://old.reddit.com/r/termux/comments/19edqx4/sound_in_x11/) contains some links. - There is a [comment](https://old.reddit.com/r/termux/comments/19edqx4/sound_in_x11/kjc4p4k/) which others say *does not* work. For me, specifically, the error from those commands is User-configured server at 127.0.0.1, refusing to start/autospawn. I gather this is connected to the existing configuration set to achieve **** and **** above, but am not sure about the safe/correct steps to redress it. - There is a [link to LinuxDroidMaster's Termux-Desktops github](https://github.com/LinuxDroidMaster/Termux-Desktops) . The approach I'm using is consistant with what they call a [termux native desktop](https://github.com/LinuxDroidMaster/Termux-Desktops/blob/main/Documentation/native/termux_native.md) . I couldn't find mention of sound beyond a passing pkg install pulseaudio line, but let me know if there's more there. - There is a [link to these instructions](https://docs.andronix.app/troubleshoot/sound) , which seem to assume the *proot* installation approach has been followed. It seems to download a .sh file, but its content appears to be binary and I do not know how to extract it into a human-readable form to understand what it is doing. [This reddit user is strugging with a chroot termux setup](https://old.reddit.com/r/termux/comments/bpa8jz/pulseaudio_streaming_client/) - Their [posted solution](https://old.reddit.com/r/termux/comments/bpa8jz/pulseaudio_streaming_client/eo06cs4/) may contain important clues even though I am not using a chroot setup. I get the same User-configured server at 127.0.0.1, refusing to start/autospawn error when I enter their commands, but presumably I need to go back and undo something in the setup for failed solutions **** and **]** to tidy things up. [Another reddit thread](https://old.reddit.com/r/termux/comments/1e5hk90/termux_play_sound_on_handy_speaker_while_running/) - [The only reply](https://old.reddit.com/r/termux/comments/1e5hk90/termux_play_sound_on_handy_speaker_while_running/ldmqsld/) suggests using termux-media-player play from the termux-api package. This produces no sound for me, from either the phon or USBC speaker, when run from either the termux terminal or the xfce4 VNC session. Pursuing the User-configured server at 127.0.0.1, refusing to start/autospawn error, - I ran apt remove pulseaudio --purge, noted the packages this would remove in the console output of said command, and then reinstalled all these packages along with pulseaudio. - This cleared user edits to configuration files in ~/../usr/etc/pulse/. I browsed for other suspicious *rc* and *profile* file names that might contain leftover configuration and found none. - I opened a fresh shell to clean out any export VARNAM=FOO cruft. - pulseaudio --start runs. - I typed pulseaudio -k and export PULSE_SERVER=127.0.0.1 - Now pulseaudio --start prints the (presumably desired) refusing to start/autospawn error. - I returned to termux and ran pactl load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1 - At this point, */u/allanrps* reported > *You should now be able to return to the chroot environment and play audio. The clients will connect to the pulse server running in termux and you will have sound!* > But, no sound is heard (although pulseaudio controls register audio being sent). _____________________ ### Edit 1 on 2024.08.23: Is Termux 0.118.1 *supposed* to be able to output audio on its own? Are these hypotheses true?: - Even when given permissions to play audio, the Termux app does not have access to the phone's speakers (unless perhaps on rooted devices with chroot?). It can only natively export sound over USB-C audio devices? - Most of the tutorials for the VNC desktop environments use pulseaudio, and the instructions above *are not* for routing pulseaudio output to external USB-C speakers. - The commands play-audio and mpv do something else to access USB-C speakers via termux (bypassing pulseaudio), which is why they work? - There is probably a way to get apps talking to pulseaudio in the xfce4 session to play to USB-C speakers as well, but exact methods are not documented? - In principle there is no reason a pulseaudio server with access to the phone speakers could not be incorporated into the termux app. Indeed, I imagine there may be forks or newer versions that do this. But, it is not (AFAICT) implemented in the F-Droid version? Or it is there and I can't get it to work? - For playback through phone speakers using termux on a non-rooted device, one needs a third Android app to serve a network pulseaudio sink, and connect termux to this as if it were a remote machine. I need to ensure that the pulseaudio client settings in termux are set correctly to match the pulseaudio server app started on Android. I will attempt this with **PulseAudio Rtp Receiver** version 1.0.6? That said, even some of the older content I'm finding on the internet suggests that Termux can route pulseaudio output to the phone speakers on its own. I just can't find any tutorials that work. The information from forum posts are usually from people half-way through attempting a proot or chroot installation of a more expansive Linux distribution under Termux. I want to interface play in Termux with the host Android Linux as lightly a possible.
MRule (131 rep)
Aug 22, 2024, 04:51 PM • Last activity: Aug 24, 2024, 11:36 AM
1 votes
0 answers
56 views
Are there technical limitations that prevent forwarding calls between devices over wifi?
I'm wondering if there are any restrictions placed on apps that would prevent audio forwarding for calls. This is what I imagine: - You have two Android phones, phone A and phone B - Phone A has a sim card and is left in your host country connected to WiFi - Phone B does not have a sim card, and is...
I'm wondering if there are any restrictions placed on apps that would prevent audio forwarding for calls. This is what I imagine: - You have two Android phones, phone A and phone B - Phone A has a sim card and is left in your host country connected to WiFi - Phone B does not have a sim card, and is with you when you travel to another country, but will have WiFi - When phone A receives a phone call, phone B will ring and you would be able to answer the call. Keep in mind this would happen over WiFi - You would also be able to make calls from phone B, and it would be routed via WiFi to phone A What I've noticed when looking for apps is: - text forwarding and receiving is plentiful, tons of apps do this but not for calls - VNC apps such as TeamViewer or AnyDesk do not forward audio from phone B to phone A - There is a hardware solution for this, but it's subscription based ( https://www.glocalme.com/product/simbox/ ) There's been some interest in this topic, but no answers: - https://xdaforums.com/t/call-forwarding-to-no-sim-phone-help-pls.3448976/ - https://android.stackexchange.com/questions/202099/controlling-phone-and-making-calls-remotely This leads me to believe that this is not possible, but why?
Dave Chen (113 rep)
Jul 29, 2024, 04:28 PM
2 votes
2 answers
1793 views
Why does SockStat app show Google Play Services making VNC connections?
I did have fun with the SockStat app on my device and saw that Google Play Services **is making VNC connections from my device to a Google server through 74.125.71.188:5228**. [![Google Play Services sending packets via the VNC protocol.][1]][2] The question here is: why? Sounds to me like a backdoo...
I did have fun with the SockStat app on my device and saw that Google Play Services **is making VNC connections from my device to a Google server through 74.125.71.188:5228**. Google Play Services sending packets via the VNC protocol. The question here is: why? Sounds to me like a backdoor allowing Google to see whatever I do, that's really scary...
SkyzohKey (121 rep)
Dec 2, 2016, 07:33 AM • Last activity: Apr 15, 2024, 02:38 PM
5 votes
1 answers
3896 views
Optimize TeamViewer for android bandwidth consumption
I am using TeamViewer for Android to remotely control my computer and it works great, but I recently noticed it uses up a LOT of bandwidth, even in Optimize Speed mode. I have a limited 3G plan and I would like to reduce TeamViewer's bandwidth consumption as much as possible, at the expense of image...
I am using TeamViewer for Android to remotely control my computer and it works great, but I recently noticed it uses up a LOT of bandwidth, even in Optimize Speed mode. I have a limited 3G plan and I would like to reduce TeamViewer's bandwidth consumption as much as possible, at the expense of image quality. For example, I would have no problem with going to grayscale, or 256-color mode, but this option is not available on the android client, as far as I can tell. Is there any way to optimize the bandwidth consumption of TeamViewer for Android, beyond choosing the Optimize Speed quality setting? If not, is there any other remote desktop client for android that you can recommend which does a better job that TeamViewer in this category? Thanks
Bogdan Stan
Mar 5, 2013, 02:43 PM • Last activity: Aug 3, 2023, 07:03 PM
0 votes
1 answers
899 views
VNC viewers not working
I have a Samsung Galaxy A10s with Android 11 One UI 3. Recently there was a problem: VNC viewers do not work. I enter, for example, localhost:1 (I want to connect to the Termux VNC server), I connect, and the connection window hangs indefinitely, and then a timeout appears. And so with any VNC viewe...
I have a Samsung Galaxy A10s with Android 11 One UI 3. Recently there was a problem: VNC viewers do not work. I enter, for example, localhost:1 (I want to connect to the Termux VNC server), I connect, and the connection window hangs indefinitely, and then a timeout appears. And so with any VNC viewers (I tried AVNC, bVNC, VNC Viewer). Help me please! > Translated by Google Translate from Russian
Pushistik (61 rep)
Mar 11, 2023, 08:49 PM • Last activity: Mar 17, 2023, 07:36 AM
1 votes
2 answers
7424 views
VNC viewer shows only black screen, but sends events to droidVNC
I am using a VNC server on my Android device (droidVNC it is called.) I have tried using multiple VNC viewers and each one has the same results: - the viewer window is a black screen (sometimes a blue screen.) - clicking on the viewer correctly sends the events to the phone (I can see the screen cha...
I am using a VNC server on my Android device (droidVNC it is called.) I have tried using multiple VNC viewers and each one has the same results: - the viewer window is a black screen (sometimes a blue screen.) - clicking on the viewer correctly sends the events to the phone (I can see the screen change, etc.) but it is just blind clicking and pretty unusable. I think that since this is the same problem on multiple different viewers (TightVNC Viewr, RealVNC Viewer) that it is a problem with droidVNC server. Do you think the problem is actually with the VNC Viewer? Has anybody experienced something like this before, and are there any tips you can give to make the droidVNC server run faster/better?
lampShaded (119 rep)
Aug 11, 2011, 02:00 PM • Last activity: Oct 13, 2022, 04:08 AM
1 votes
0 answers
847 views
VNC over USB tether?
Edit: I want to connect to a vnc server on a PC from an Android client via usb tethering. I'm trying to use my phone as a way of interacting with a headless linux box. I can't get VNC or connectbot to work with usb tethering - they just time out. Work as expected when I connect the phone through wif...
Edit: I want to connect to a vnc server on a PC from an Android client via usb tethering. I'm trying to use my phone as a way of interacting with a headless linux box. I can't get VNC or connectbot to work with usb tethering - they just time out. Work as expected when I connect the phone through wifi. Is there something I need to do to make this work? Open some ports or something? I could get primitive ftp working through a USB tether. Anyway I'm in need of suggestions of where to start looking - or if it is at all possible. Wifi and bluetooth don't suit my use-case Cheers
Jack Fix (11 rep)
Oct 8, 2022, 08:39 AM • Last activity: Oct 8, 2022, 01:20 PM
1 votes
0 answers
295 views
Can I use my TV as a display for a tty while using my Android screen as a virtual keyboard?
I use Termux on a rooted device to run Alpine Linux in a chroot, but since the screen is small it is hard to type with a virtual keyboard + get a good view. I want to use my Android's screen for the keyboard while using my TV's screen as a display for a terminal. The TV in question supports VNC and...
I use Termux on a rooted device to run Alpine Linux in a chroot, but since the screen is small it is hard to type with a virtual keyboard + get a good view. I want to use my Android's screen for the keyboard while using my TV's screen as a display for a terminal. The TV in question supports VNC and Miracast.
SeetheMoar (158 rep)
Apr 7, 2022, 08:24 AM
1 votes
1 answers
1943 views
For RealVNC viewer for android is it possible to have the cursor go to where you touch?
I'am using RealVNC viewer android to control my computer but I would like to make a left click where I touch with my finger. Dragging the cursor around is tiring when you have to make a lot of clicks...
I'am using RealVNC viewer android to control my computer but I would like to make a left click where I touch with my finger. Dragging the cursor around is tiring when you have to make a lot of clicks...
Luis Almeida (13 rep)
Mar 23, 2022, 01:35 PM • Last activity: Mar 23, 2022, 05:14 PM
0 votes
1 answers
2062 views
How to access VNC server running in an android phone in another computer?
I have installed Ubuntu in my Android phone and I can access its GUI in my phone by connecting a VNC viewer to `localhost:1`. The VNC server is running inside Android. Is it possible to access this in a computer connected to the wifi hotspot of the phone? I connected to computer to the phone's hotsp...
I have installed Ubuntu in my Android phone and I can access its GUI in my phone by connecting a VNC viewer to localhost:1. The VNC server is running inside Android. Is it possible to access this in a computer connected to the wifi hotspot of the phone? I connected to computer to the phone's hotspot and tried to access locahost:1 in Real VNC Viewer, but it says "The connection was refused by the remote computer". Please note that I am **not** trying to access vnc server running in another computer in my phone but the opposite.
Archisman Panigrahi (103 rep)
Jun 23, 2019, 07:05 AM • Last activity: Jun 24, 2019, 04:11 AM
1 votes
0 answers
46 views
Unable to connect to Raspberry Pi3 by hostname from Android VNC Viewer
1. I installed **VNC Viewer** on my **Ubuntu** from here . Then, I could connect to my **Raspberry PI** by both hostname and IP address. 2. However, I can't do the same from my **Samsung Note 8** I can't connect by hostname - I'm getting something like "Cannot resolve hostname". If I use the IP addr...
1. I installed **VNC Viewer** on my **Ubuntu** from here. Then, I could connect to my **Raspberry PI** by both hostname and IP address. 2. However, I can't do the same from my **Samsung Note 8** I can't connect by hostname - I'm getting something like "Cannot resolve hostname". If I use the IP address then I don't have any problem. **Ubuntu** PC, **Samsung Note 8** and **Raspberry PI3** are all connected to the same WIFI network. Can someone explain what is wrong here?
Anatolii (111 rep)
Jul 9, 2018, 03:23 PM • Last activity: Jul 9, 2018, 08:52 PM
8 votes
3 answers
4867 views
How to setup screen sharing for business meetings?
I'm wondering if it would be possible to use android-based tablets (or ipads) in business meetings. The idea would be to have each person in the meeting, with its individual tablet, see what a "meeting-leader" is seeing on his own tablet, navigating through the web or using apps. I see some solution...
I'm wondering if it would be possible to use android-based tablets (or ipads) in business meetings. The idea would be to have each person in the meeting, with its individual tablet, see what a "meeting-leader" is seeing on his own tablet, navigating through the web or using apps. I see some solutions that seem to be mostly directed into remote-control, but what I want is just to screencast in realtime to multiple receivers, privately. The ability to let some other person take control would also be nice, but not mandatory. How could I set this up?
luisfaceira (81 rep)
Nov 15, 2010, 11:12 PM • Last activity: Jul 6, 2018, 09:02 AM
0 votes
0 answers
2261 views
Graphics/vnc/ssh connect failed failed
Installed Kali Linux rolling through deploy on coolpad cool1. Debugging mode on. Rooted. Busbox checked. And terminal also fails to start. More info and config in the screenshots given below [![graphics:VNC failed][1]][1] [![vnc 1][2]][2] [![vnc 2][3]][3] [![config 1][4]][4] [![config 2][5]][5] [1]:...
Installed Kali Linux rolling through deploy on coolpad cool1. Debugging mode on. Rooted. Busbox checked. And terminal also fails to start. More info and config in the screenshots given below graphics:VNC failed vnc 1 vnc 2 config 1 config 2
user478169 (1 rep)
Apr 12, 2018, 02:17 PM • Last activity: Apr 13, 2018, 10:31 AM
37 votes
5 answers
35086 views
I want to remotely control my Android device from my PC without rooting it. Is this possible?
Looking for something to remote control my Droid without having to root. To be clear, I am looking for full control over the computer (view on monitor, use mouse and keyboard for input).
Looking for something to remote control my Droid without having to root. To be clear, I am looking for full control over the computer (view on monitor, use mouse and keyboard for input).
Matt (19401 rep)
Oct 5, 2010, 04:54 PM • Last activity: Feb 5, 2018, 08:27 AM
10 votes
4 answers
2449 views
Remote login into the phone from a PC
> **Possible Duplicate:** > [Any VNC solutions for an unrooted device?](https://android.stackexchange.com/questions/1931/any-vnc-solutions-for-an-unrooted-device) Is it possible to remotely control an Android phone from a PC. Is there a program similar to VNC **server** that runs on the phone, with...
> **Possible Duplicate:** > [Any VNC solutions for an unrooted device?](https://android.stackexchange.com/questions/1931/any-vnc-solutions-for-an-unrooted-device) Is it possible to remotely control an Android phone from a PC. Is there a program similar to VNC **server** that runs on the phone, with the client displaying phone's UI on the PC? When I'm at my desk, it would be much easier to manage the phone (read/type SMS, install apps etc.) from the PC instead of poking the tiny touchscreen. Searching brings many solutions in the other direction (VNC server on PC, VNC client on phone).
dbkk (203 rep)
Dec 31, 2010, 07:01 PM • Last activity: Sep 2, 2017, 12:52 PM
1 votes
0 answers
332 views
Disable root auto login in GNURoot Debian
I don't want to work with root account in GNURoot Debian. I know to change the user from root to user1 by: > su - user1 However, I still want to disable root auto login; besides, I want to use build-in vncviewer or an extra vncviewer to connect the GNURoot Debian with normal user user1 NOT root, I h...
I don't want to work with root account in GNURoot Debian. I know to change the user from root to user1 by: > su - user1 However, I still want to disable root auto login; besides, I want to use build-in vncviewer or an extra vncviewer to connect the GNURoot Debian with normal user user1 NOT root, I have no idea to how to config this?
Ming Su (11 rep)
Feb 24, 2017, 06:50 AM
0 votes
1 answers
189 views
Cracked Screen CM13 Rooted VNC
I cracked the screen on my LG G3 running CM13. It's rooted but I can't get to a adb root shell because ADB root is not enabled by default. I want to clean up some stuff and VNC is my best bet. I installed VNC Droid Server but I can't click on Start to get it started. Instructions [here][1] require r...
I cracked the screen on my LG G3 running CM13. It's rooted but I can't get to a adb root shell because ADB root is not enabled by default. I want to clean up some stuff and VNC is my best bet. I installed VNC Droid Server but I can't click on Start to get it started. Instructions here require root over adb to start the vncserver manually. **Does anybody know how I can get a VNC server started on Android 6.0 without the ability to touch the screen?**
Ken J (111 rep)
Oct 17, 2016, 01:43 PM • Last activity: Oct 17, 2016, 02:10 PM
Showing page 1 of 20 total questions