Hi, I want to share some files on the LAN with a windows user, so I thought ftp would be easiest.
I downloaded vsftpd and system-config-vsftpd, so that I could set it up in an UI.
But how do I start it?
Getting this error.
linux-vu9d:/home/lasse # system-config-vsftpd
/usr/lib/python2.6/site-packages/gtk-2.0/gtk/init.py:72: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/share/system-config-vsftpd/main.py:69: GtkWarning: cannot open display:
gnome.init(“system-config-vsftpd”, “1.0”)
I know this may be a dumb question but can we confirm that X up and running on the machine?
The reason I ask is that I’ve run into this type of message before but usually only when either I’m at run level 3 (i.e., no X running) or when I’m ssh’ed into another machine and forgot to pass the -X flag to ssh when I connected. The -X tells ssh to forward X connections to my local machine.
Wuhu, I got it working now, the local test atleast
lasse@linux-vu9d:~> kdesu kwrite /etc/vsftpd.chroot_list
^C
lasse@linux-vu9d:~> ftp localhost
Trying ::1...
ftp: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
220 Welcome to the s3maphor3 FTP service
Name (localhost:lasse): ftpadmin
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
Ok the easiest way is to create a user lasse in a console as su: useradd -r lasse then passwd lasse
Now go to kicker > applications > system > file manager > file manager - super user mode
Brows to /srv/ftp and right click on folder and choose properties > permissions > advanced > add entry > named user and select lasse ftom the list