LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-13-2010, 06:15 PM   #1
abbotm
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, 06:19 PM   #2
Meson
Member
 
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, 06:43 PM   #3
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
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.
nano
vim or vi
emacs

You use them like this

nano /etc/yourserver/configfile.conf

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


Reply



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 03:05 PM
why gedit text editor doesn't work? fm_hyudin Linux - General 9 06-24-2008 11:36 AM
Why wont gedit work? crackheadjunky Linux - General 6 08-13-2006 11:05 AM
Xserver doesnt start and cant work with gedit! luisator Red Hat 3 03-28-2005 10:19 PM
gedit wont work doralsoral Linux - Software 3 02-02-2004 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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