Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Anonymous
Thursday, May 10th, 2007 at 1:09:22pm UTC 

  1. # This will fetch all needed packages
  2. sudo apt-get -y install openssh-server vnc-common tightvncserver >> ~/log
  3.  
  4. # This will ensure font compatibility in vnc (There are more elegant ways of doing this, but it works)
  5. echo '$fontPath "unix/:7100" # local font server' >> /etc/vnc.conf
  6. echo '# if the local font server has problems, we can fall back on these' >> /etc/vnc.conf
  7. echo '$fontPath .= "/usr/share/X11/fonts/misc,";' >> /etc/vnc.conf
  8. echo '$fontPath .= "/usr/share/X11/fonts/cyrillic,";' >> /etc/vnc.conf
  9. echo '$fontPath .= "/usr/share/X11/fonts/100dpi/:unscaled,";' >> /etc/vnc.conf
  10. echo '$fontPath .= "/usr/share/X11/fonts/75dpi/:unscaled,";' >> /etc/vnc.conf
  11. echo '$fontPath .= "/usr/share/X11/fonts/Type1,";' >> /etc/vnc.conf
  12. echo '$fontPath .= "/usr/share/X11/fonts/CID,";' >> /etc/vnc.conf
  13. echo '$fontPath .= "/usr/share/X11/fonts/100dpi,";' >> /etc/vnc.conf
  14. echo '$fontPath .= "/usr/share/X11/fonts/75dpi,";' >> /etc/vnc.conf
  15. echo '# paths to defoma fonts' >> /etc/vnc.conf
  16. echo '$fontPath .= "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,";' >> /etc/vnc.conf
  17. 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.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right