Use this template to display the content of a file, while making a clear distinction with the programlisting template.

Remember that shell commands may be prefixed by:

  • name - the name (or path) of the file
  • text - text to display as file's content



/dev/wd0a   /     ffs      rw,log   1 1
/dev/wd0b   none      swap     sw       0 0
kernfs      /kern     kernfs   rw
ptyfs       /dev/pts  ptyfs    rw
procfs      /proc     procfs   rw
/dev/cd0a   /cdrom    cd9660   ro,noauto

is obtained with:

[[!template  id=filecontent name="/etc/fstab" text="""
/dev/wd0a   /     ffs      rw,log   1 1
/dev/wd0b   none      swap     sw       0 0
kernfs      /kern     kernfs   rw
ptyfs       /dev/pts  ptyfs    rw
procfs      /proc     procfs   rw
/dev/cd0a   /cdrom    cd9660   ro,noauto
Posted late Thursday night, February 4th, 2011

Welcome to NetBSD's Amazon EC2 page. You will find below all the resources that will help you understanding, building, starting and managing NetBSD instances under Amazon cloud platform.

Posted in the wee hours of Sunday night, February 7th, 2011

Tips and Tricks

Using NetBSD httpd: running phpPgAdmin

/usr/libexec/httpd -b -i -I 30080 -C .php /usr/pkg/libexec/cgi-bin/php -x index.php /usr/pkg/share/phppgadmin

To debug add "-f" flag.

Posted mid-morning Wednesday, February 9th, 2011

Here be dragons?

Posted at lunch time on Saturday, February 12th, 2011

NetBSD RDP/VNC survey

This page aims to provide a complete list of VNC/RDP implementations which can likely be ported to NetBSD. As a further goal, documentation will be added on how to install and configure the particular implementations.

Client implementations

Name License Protocol pkgsrc Linux FreeBSD port
Remmina ? VNC, RDP, NX3, XDMCP ? ? ?
EchoVNC GPL VNC, RDP, RAdmin1 no yes1 no
KRDC GPL RDP, VNC no yes no
RealVNC GPL VNC yes yes no
TightVNC GPL VNC yes ? ?
rdesktop GPL RDP 5 yes yes yes
FreeRDP2 GPL RDP 5 no yes yes
QtNX3 GPL NX no yes no

Server Implementations

Name License Protocol pkgsrc Linux FreeBSD port
x11vnc GPLv2 VNC yes yes yes
xrdp GPL RDP wip yes yes
FreeNX3 GPLv2 NX no yes yes

1 Unreliable source (i.e. only Wikipedia).

2 FreeRDP is a fork of rdesktop.

3 NX protocol may be ignored completely since there's not going to be available open-source implementation any time soon.


  2. FreeNX project homepage on Berlios
  3. EchoVNC
  4. FreeRDP
  5. RealVNC
  6. rdesktop
  7. QtNX release announcement
  8. libVNCServer/libVNCClient project homepage on Sourceforge
  9. X11VNC project homepage
  10. TightVNC
  11. Remmina, formerly Grdc.



  1. Bring other RDP and VNC software to pkgsrc.
  2. Check interoperability of servers and clients for NetBSD and other desktop systems (MS Windows, MacOS X).


  1. UltraVNC
  2. TigerVNC
  3. ITALC
  4. Check interoperability with stock MacOS X VNC server, it has extensions not handled by TightVNC and RealVNC at least. I have to run this to make it possible to connect to MacOS:
sudo /System/Library/CoreServices/RemoteManagement/ -verbose -activate -restart -agent -allowAccessFor -allUsers -privs -all -clientopts -setvnclegacy -vnclegacy yes -setvncpw -vncpw some-password

Setting password is essential here. Tested on Darwin 10.3.3 x86_64.


  1. Update xrdp in wip, bring xrdp to pkgsrc.


  1. Check trends in NX software (I heard free package isn't going to be supported anymore).


  1. Check pkgsrc/net/vinagre.
  2. KRDC
Posted Saturday evening, February 12th, 2011

Eric Haszlakiewicz

Posted late Thursday afternoon, February 24th, 2011