This is an experimental alpha project which is no longer under active development.
This installation guide needs to be tested again for accuracy.
OS X:
- Install XQuartz.
LIBRARY_PATH=/opt/X11/lib:$LIBRARY_PATH CPPFLAGS="-I/opt/X11/include" LDFLAGS="-L/opt/X11/lib" cabal install X11
brew install gtk+
brew tap homebrew/versions
cd vnc-client
stack build
Ubuntu:
- Install X11.
sudo apt-get install libghc6-zlib-dev
sudo apt-get install libgtk2.0-dev
sudo apt-get install libgtksourceview2.0-dev
cd vnc-client
stack build
~ $ stack exec -- vnc-client --help
Usage: stack exec -- vnc-client [OPTION...] host
-? --help print usage instructions
-v --verbose verbose mode for more information output
-g --gui configure client via graphical UI
-n --no-auth connect without authentication (default: VNC password authentication)
-p PORT --port=PORT port number (default: 5900)
-t TOP --top=TOP top position (default: 0)
-l LEFT --left=LEFT left position (default: 0)
-w WIDTH --width=WIDTH width (default: entire framebuffer)
-h HEIGHT --height=HEIGHT height (default: entire framebuffer)
Source code documentation can be generated from the literate source files with:
lhs2TeX doc.lhs > doc.tex
pdflatex doc.tex
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.