View: 2665|Reply: 1

How can i can i connect theese two ?

[Copy link]

3

threads

3

posts

21

credits

Novice

Rank: 1

credits
21
Published in 2017-2-19 01:33:14 | Show all floors |Read mode
How can i can i connect theese two ?
1 Orange Pi zero
2 A phone screen
or how can i connect pc with cables (tightvncserver doesnt works i tried too much)
picture of screen:

hizliresim.com/WgJPg8

0

threads

19

posts

1456

credits

Gold member

Rank: 6Rank: 6

credits
1456
Published in 2017-2-21 04:39:08 | Show all floors
Edited by kris777 at 2017-2-21 04:40

alternative for tightvncserver : x11vnc

apt-get install x11vnc
.....................
theuser@debian:~$ x11vnc -storepasswd
Enter VNC password: ....
Verify password:    ....
Write password to /home/theuser/.vnc/passwd?  [y]/n y
Password written to: /home/theuser/.vnc/passwd ... or ......... /root/.vnc/passwd
run the server script for example : vnc.sh
the contents of the script:
  1. #!/bin/bash
  2. x11vnc -display :0 -forever -shared -o /root/x11vnc.log -bg -rfbauth /root/.vnc/passwd
Copy code

executable file : chmod +x /root/vnc.sh
run server : /root/vnc.sh
x11vnc Autostart (Armbian)
entry in /etc/rc.local
  1. /bin/sh /root/vnc.sh &
  2. exit 0
Copy code

  1. #!/bin/bash
  2. sleep 15
  3. x11vnc -display :0 -forever -shared -o /root/x11vnc.log -bg -rfbauth /root/.vnc/passwd
Copy code

important entry to sleep 15 .... boot time to run Armbian
It works for me :-)


You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list