Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-13-2010, 07:15 PM   #1
LQ Newbie
Registered: Oct 2010
Location: Redmond, WA
Distribution: ubuntu
Posts: 1

Rep: Reputation: 0
Cool Why doesn't 'sudo gedit' work in Vinagre?

Hello, I've lurking here for a week or so, learning all kinds of good stuff. I've set up a low cost box with Ubuntu Lucid Lynx at home behind a router, and managed to get remote access running. My goal is to be able to host a small website and work on it remotely, so I isntalled ftp (vsftpd). When I tried to edit the vsftpd.conf file in Vinagre from work, I could only open it read-only, no surprise. When I tried 'sudo gedit' or 'sudo gedit /etc/vsftpd.conf' from terminal in Vinagre, I received the prompt for the password to elevate privileges (again, expected); however, after I hit Enter, nothing happens. I've tried a bunch of different things, but I can't get it to work. I can stop & start my ftp service with 'sudo service vsftpd stop/start' and it seems to work fine. Any thoughts? Thx!
Old 10-13-2010, 07:19 PM   #2
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
You can try gksudo, or just "su" first. But really, do you need VNC for editing a file? You can just SSH in and use vi(m) or ssh -X and forward gedit.
Old 10-13-2010, 07:43 PM   #3
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 879

Rep: Reputation: 113Reputation: 113
I can't really help you with your question because I've never log into a box using the x server. I've always done everything via SSH which is the suggested way to manage a remote server.

But if you are using ubuntu desktop version I don't think ssh is running. You will need to enable it. If you have the server version then ssh should be working. If you decide to manage the server via ssh you can use command line editors. There are lots of them. Vim in ubuntu is funky and from what I know you have to install the full version to get all the functions of it. Nano is a great and user friendly text editor.

Here are some command line editors you can look into.
vim or vi

You use them like this

nano /etc/yourserver/configfile.conf

You may need to sudo or su to edit system files.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Vinagre - where are bookmarks stored? taylorkh Linux - Software 4 07-07-2010 04:05 PM
why gedit text editor doesn't work? fm_hyudin Linux - General 9 06-24-2008 12:36 PM
Why wont gedit work? crackheadjunky Linux - General 6 08-13-2006 12:05 PM
Xserver doesnt start and cant work with gedit! luisator Red Hat 3 03-28-2005 11:19 PM
gedit wont work doralsoral Linux - Software 3 02-02-2004 08:08 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration