Android phone screen as a raspberry pie

Android phone screen as a raspberry pie

A Command Line Mode

  1. First installed on the phone  JuiceSSH  and  androidVNC  . Then enter the Raspberry Pi terminal  sudo APT-GET install tightvncserver  installation  VNCserver  .
  2. Raspberry Pi and mobile Internet can have two modes.
    1. 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 ifconfigcomparison, you can find more than one, because this one is different depending on the specific system. In Raspbianmulti a  USB0  , while Ubuntu matein one more example: enx25451506436. View more out of this one, to find its IPaddress, such as:  192.168 . 42.155  , behind  JuiceSSH  landing Raspberry Pi through the IP.  
    2. 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 IPaddress  192.168 . 42.63  .
  3. Open on the phone  juiceSSH  , click the  lightning  button, select the SSHconnection, fill in the IPaddress, 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

  1. Enter the command line  vncserver  , if not already set vnca 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 2it is  5902  , and so on.
  2. 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.

Guess you like

Origin www.cnblogs.com/Java-Script/p/11096080.html