LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gedit 7158 (https://www.linuxquestions.org/questions/linux-newbie-8/gedit-7158-a-755434/)

realchamp 09-15-2009 03:06 PM

gedit 7158
 
Hello all!

I recently installed Linux Ubuntu Server 9.04 32bit.

I've being trying to setup a FTP server.

I installed the vsftpd.

I want to open the .conf file so I can make a FTP user, so I can connect to a specified folder where my game server is installed.

When I try to open the folder with:
Code:

sudo gedit /etc/vsftpd.conf
I get:

(gedit:7158): Gtk-WARNING **: cannot open display:


..
Best regards,
realchamp.

altup 09-15-2009 03:25 PM

did you try

nano vsftpd.conf
or
vi vsftpd.conf

chrism01 09-15-2009 06:05 PM

I believe gedit is a GUI style editor, but you probably aren't running XWin. Try one of the other suggestions above and/or vim.
You may find the 'vi' cmd is symlinked to actually run vim (Vi Improved).

realchamp 09-16-2009 10:43 AM

Hello. It works thanks!


All times are GMT -5. The time now is 12:33 AM.