[vc_row][vc_column][vc_column_text]Spice consists of three parts: spice protocol, spice client and spice server. Spice protocol is used to communicate between the server and client; Spice client is the terminal used to render the service to the end user; Spice server provides the service in the background and resides on a server machine. In this post, we details the steps installing the spice client on pcDuino3s.
[/vc_column_text][vc_tour][vc_tab title=”Preparation ” tab_id=”1403327439-1-19″][vc_column_text]
1.1 Install git tool
As we will need to obtain the source files from github during installation, we need to install git tools.
$sudo apt-get install build-essential autoconf git-core $sudo apt-get install autoconf automake libtool
1.2 Install other tools
$sudo apt-get install libtool liblog4cpp5-dev libavcodec-dev libssl-dev xlibmesa-glu-dev libasound-dev libpng12-dev libfreetype6-dev libfontconfig1-dev libogg-dev libxrandr-dev libgcrypt-dev libsdl-dev libnss3-dev libpixman-1-dev libxfixes-dev libjpeg8-dev libsasl2-dev python-pyparsing
If we encounter errors during the installation, we may want to run “$sudo apt-get update” to update the sources, and then run the installation again.
[/vc_column_text][/vc_tab][vc_tab title=”Install Dependencies ” tab_id=”1403327439-2-76″][vc_column_text]
2.1 Install libcacard which is used by spice to use the smart card reader
$git clone git://people.freedesktop.org/~alon/libcacard $cd libcacard .$/autogen.sh $make $sudo make install $cd ..
2.2 Install the header files of spice protocol
$wget http://spice-space.org/download/releases/spice-protocol-0.12.6.tar.bz2 $tar xjvf spice-protocol-0.12.6.tar.bz2 $cd spice-protocol-0.12.6 $mkdir m4 $./configure $make $sudo make install $cd ..
2.3 Install celt: Spice needs a special version of celt which is an audio codec with low delay (0.5.1.3).
$wget http://downloads.us.xiph.org/releases/celt/celt-0.5.1.3.tar.gz $tar xvzf celt-0.5.1.3.tar.gz $cd celt-0.5.1.3/ $./configure $make $sudo make install $cd ..
[/vc_column_text][/vc_tab][vc_tab title=”Install Spice Client and connect to server” tab_id=”1403328480910-2-1″][vc_column_text]
$wget http://spice-space.org/download/releases/spice-0.12.4.tar.bz2 $tar xjvf spice-0.12.4.tar.bz2 $cd spice-0.12.4 .$/configure --enable-smartcard --enable-client $make $sudo make install
$./configure --enable-smartcard --enable-client $make install $$dconfig $spicec -h 192.168.1.xxx -p 5900
[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]
Leave a Reply
You must be logged in to post a comment.