ProFTP tip
To mount any file so that it is available to FTP, create a directory under /home /FTP-shared called, for instance, misc. Now mount the directory you want to share onto this directory with the following command:
sudo mount -o bind /yourfile/toshare /home/FTP-shared/misc
To unmount:
sudo umount /home/FTP-shared/misc
If you want to mount the file on boot add this to fstab:
/yourfile/toshare /home/FTP-shared/misc vfat bind 0 0
VNCViewer screen resolution
I didn’t have much to report with my upgrade fom 6.06 – 6.10 – 7.04 as everything worked ok. I have just inherited a new PC and so I have installed Ubuntu 7.04 from scratch, no problems so far. I decided to use my old PC as a server for web, mail and ftp and will be reporting on my experience with this project as I go along. In order to access the server I have installed VNCviewer and here was my first problem. The server had a maximum resolution of 800×600 and whatever I did by adding to the xorg.conf file I couldn’t improve it. I finally figured it out that because there was no monitor for x to autodetect it stuck to a default resolution. To stop the autodetect you have to enter a horizontal and vertical refresh range into the monitor section of /etx/X11/xorg.conf. Like this:
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 31-95
VertRefresh 50-60
EndSection
Then you can select any resolution you want.