Orange Pi Manual
Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
www.xunlong.tv
27
executing vncserver directly. It will prompt you to enter the password
twice, when prompted whether can be read only to select the
N
.
c. Open
one
or
more
of
desktops
by
vncserver
or
vncserver:1(vncserver:2)… you can also transfer more parameters
through the full command as below:
vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565
(
Note:
If it prompted you that cannot find the file or other error when
installing, please run sudo apt-get update to update the software source and
try installing again.)
5) NAS and DLAN Configuration
a. NAS
:
There are many files could be reference from Internet, for example:
http://www.geekfan.net/5003
/, it detailed descriptions on the operation and
the mounted of U disk is very useful.
b. DLNA:
Mainly through the minidlna software to achieve the sharing of media
resources within the LAN, such as sharing video, music, etc.. The
installation steps are as follows:
i sudo apt-get minidlna
ii Execute the following command to modify the configuration file:
sudo nano /etc/minidlna.conf
Note: you can also use other text editor to modify.
iii Add the following:
media_dir=A,/nas, path: /DLNA/Music
media_dir=V,/nas, path: /DLNA/Video
media_dir=P,/nas, path: DLNA/Picture
db_dir=/nas, path: /DLNA/log
db_dir=/nas, path: /DLNA/db
ctrl +o and enter, ctrl +x to save and exit.
iv Established above folders respectively, noted that path consistency
and assigned to read and write permissions. In order for convenient, it could
be Chmod 755, such as sudo Chmod 755 /nas path /DLNA/Music
v Re-start minidlna to take effect the configuration: /etc/init.d/minidlna
restart.