Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect using VNC on another machine on the network. #434

Closed
maxolasersquad opened this issue Nov 29, 2018 · 9 comments
Closed

Connect using VNC on another machine on the network. #434

maxolasersquad opened this issue Nov 29, 2018 · 9 comments

Comments

@maxolasersquad
Copy link

Is your feature request related to a problem? Please describe.
Nope.

Describe the solution you'd like
Ability to connect from another machine on the network.

Describe alternatives you've considered
Screen casting services like Chromecast can make viewing the UserLand better, but still no way to use external mouse and keyboard.

Additional context
Currently one can use a VNC application installed on the Android device to interact with the UserLand GUI. It would be beneficial to also be able to connect using VNC on another machine on the network

@corbinlc
Copy link
Member

You should be able to. We need to document this, but we use display :51 . Please try to connect from another machine on the same network using your phones IP address on that network and using display :51 (if you have to specify the port, display :51 is on port 5951). Please provide feedback as to whether this works or not.

@null1024
Copy link

null1024 commented Dec 1, 2018

Yeah, it works out of the box for me.
it should just be

  • connect to same network as target machine
  • get your phone's local IP address
  • connect with your VNC client with (your phone's ip address)::5951
  • enter the VNC password you set up, and that's it

there's also a direct connect method via the ADB utility with USB debugging enabled on your phone

  • install the debugging tool adb
  • plug your phone in
  • execute the commands:
  • adb devices
  • adb forward tcp:5000 tcp:5951

and from there, you can just connect to 127.0.0.1 from your VNC client

@corbinlc
Copy link
Member

corbinlc commented Dec 1, 2018

@null1024 thanks for the follow up. Let me leave this open for a bit. It will remind me to put this in the wiki we are going to start.

@maxolasersquad
Copy link
Author

It took me a bit to test this out. I can confirm that this works using the Remmina VNC client.

@corbinlc
Copy link
Member

@Poincare1
Copy link

Poincare1 commented Mar 31, 2019

Does not work as of 03/31/2019 with Debian install and latest Userland (v2.4.0). On a laptop or desktop connected to the same WIFI, trying to connect to the device ip and port 5951, nothing happens. VNCViewer just reports a timeout error, same for other attempted connections from VNC clients from devices on the same network. Connecting from the device itself works, but connecting from another device, on the same network, does not. Please advise.

@Simeon2001
Copy link

VNC not connecting

@mhofert
Copy link

mhofert commented Dec 18, 2019

I tried various things (also the adb trick), couldn't get any to work. I tried to connect with VNC Viewer app.

Please be specific in what you are doing (give clear one-by-one instructions with the actual commands you are using).

@speefak
Copy link

speefak commented May 5, 2020

It Works ;)

1 First check if VNC is available from LAN ( nmap -p 1-65535 ). Result :
=> PORT STATE SERVICE
=> 5951/tcp open unknown
2. Then connect via VNC client ( Vinagre or others ) to VNC session
=> connection ip syntax is : ::5951 ( twice colon ! )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants