Android phone screen as a raspberry pie
Others
2019-06-27 14:45:04
views: null
Android phone screen as a raspberry pie
A Command Line Mode
- First installed on the phone JuiceSSH and androidVNC . Then enter the Raspberry Pi terminal sudo APT-GET install tightvncserver installation VNCserver .
- Raspberry Pi and mobile Internet can have two modes.
- The first mode: USB network share the Raspberry Pi and the phone using a USB cable connected, turn on the phone. "
USB网络共享
." Raspberries come in the implementation ifconfig check the network connectivity. By the previous ifconfig
comparison, you can find more than one, because this one is different depending on the specific system. In Raspbian
multi a USB0 , while Ubuntu mate
in one more example: enx25451506436
. View more out of this one, to find its IP
address, such as: 192.168 . 42.155 , behind JuiceSSH landing Raspberry Pi through the IP.
- The second mode: Portable WLAN hotspot using a mobile phone directly to the Raspberry Pi open hotspot, connect to the hotspot raspberries come. Raspberries come in to perform again ifconfig to view the network connection. Such as viewing wlan0 at the
IP
address 192.168 . 42.63 .
- Open on the phone juiceSSH , click the lightning button, select the
SSH
connection, fill in the IP
address, click OK; it will enable us to create an account to log on to this IP, click New, and then fill out the information authentication information, the first nickname based on personal Feel free to fill preferences, the second fill in the login user name of raspberry Pi, the third fill in the login user password raspberry pie (if installed is the official recommendation Raspbian
, the default user name is PI , the default password is rasperry ; if it is other systems, such as ubuntu mate then fill in the user name and password you set), do not control the private key, click OK. The first time you connect, host authentication will pop up, choose to accept on the line, let it connect, the connection is successful moment to find it! At this point you can operate this raspberry sent. At this time, it is equivalent to entering the command line.
II. Desktop mode
- Enter the command line vncserver , if not already set
vnc
a password will prompt you to set a password, set up after the completion of the password prompt " Would you like to the Enter A View-only password ", enter n indicates no setting. At this point reminds us that have opened vncserver, and provides a table number, there is the desktop number 1
, then it means that the port will be connected to our 5901 , and if 2
it is 5902 , and so on.
- Open androidVNC , first as a nickname, fill in according to personal preference, the second is the previous step to set vnc password, and the third is just ssh connection IP address, the fourth port is just mentioned, that is
5901
, the first five is the user name, it seems can easily fill, not to fill in the username raspberry pie (Raspbian user named pi, Ubuntu mate username own set); the sixth has a color format, select 24- -bit Color (4 bpp) would be more clear; then check the Local Mouse pointer , other defaults, then click the top left corner of the connect button to connect, to see the success of raspberry Pi and operate on a desktop phone.
Origin www.cnblogs.com/Java-Script/p/11096080.html