Advertising
- Anonymous
- Thursday, May 10th, 2007 at 1:09:22pm UTC
- # This will fetch all needed packages
- sudo apt-get -y install openssh-server vnc-common tightvncserver >> ~/log
- # This will ensure font compatibility in vnc (There are more elegant ways of doing this, but it works)
- echo '$fontPath "unix/:7100" # local font server' >> /etc/vnc.conf
- echo '# if the local font server has problems, we can fall back on these' >> /etc/vnc.conf
- echo '$fontPath .= "/usr/share/X11/fonts/misc,";' >> /etc/vnc.conf
- echo '$fontPath .= "/usr/share/X11/fonts/cyrillic,";' >> /etc/vnc.conf
- echo '$fontPath .= "/usr/share/X11/fonts/100dpi/:unscaled,";' >> /etc/vnc.conf
- echo '$fontPath .= "/usr/share/X11/fonts/75dpi/:unscaled,";' >> /etc/vnc.conf
- echo '$fontPath .= "/usr/share/X11/fonts/Type1,";' >> /etc/vnc.conf
- echo '$fontPath .= "/usr/share/X11/fonts/CID,";' >> /etc/vnc.conf
- echo '$fontPath .= "/usr/share/X11/fonts/100dpi,";' >> /etc/vnc.conf
- echo '$fontPath .= "/usr/share/X11/fonts/75dpi,";' >> /etc/vnc.conf
- echo '# paths to defoma fonts' >> /etc/vnc.conf
- echo '$fontPath .= "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,";' >> /etc/vnc.conf
- echo '$fontPath .= "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID";' >> /etc/vnc.conf
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.