#i can't connect to vnc server that non root account started Ubuntu

22 messages · Page 1 of 1 (latest)

mossy steppe
#

I added a user, it's not root or sudo, i start a vnc server, i use vnc viewer and i can't seem to connect, it works fine for root user.

pure zinc
#

We needmore information than that, which you should have provided instead of us asking.
Knowing stuff like this helps:

  • Is Ubuntu in proot / qemu on the device or in the cloud / on a different device (or server)?
  • Did you properly set up port-forwarding the router (most cellular ISPs don't allow it)?
  • Did you let it through the firewall?
    Other questions exist that would be helpful to know.
trim veldt
#

try to bind termux tmp directory or use -tcp argument in your vncserver

mossy steppe
#

Everything works on root, i had it set up but i want to run some things that won't run if it's root user, so i made another account and it won't connect on vnc view

#

But in root it works just fine

trim veldt
mossy steppe
trim veldt
mossy steppe
#

Ok

#

Wait

#

This time instead of 10 it was 2

trim veldt
#

in a line

mossy steppe
#

I forget that part i did it again

#

Still not working

restive vessel
#

why two ports?

restive vessel
# mossy steppe

you could check the logs and send us here

cat ~/.vnc/localhost\:1.log
mossy steppe
#

At the bottom it says unrecognized option -tcp, above that is av very long log

restive vessel
#

vncserver :0 is enough

pure zinc
#

Possible that it found some "lock files" that is causing it to keep changing