Software :: Gedit Uses In Root - Doesn't Open File

Oct 8, 2010

What is it gedit uses additional that causes so many problems in root account? When run Code: # gedit /some/file it either doesn't open file at all or opens it with lots of errors...

View 3 Replies


ADVERTISEMENT

Fedora :: Can't Open Text File With Gedit As Root

Jun 6, 2011

I can do it with mousepad. Below is what I get when trying to open with gedit

[Code]...

View 3 Replies View Related

OpenSUSE :: Open Gedit As Root?

Jun 6, 2011

Whenever i try sudo gedit I get: Cannot open display: Run 'gedit --help' to see a full list of available command line options. how I can open gedit as root.

View 9 Replies View Related

OpenSUSE :: Using Gedit As Root: Gtk-WARNING **: Cannot Open Display

Jan 23, 2011

I've been searching for a permanent solution for some time now, but the threads containing the same error message never seem to be about the same issue.I want to:I'm not trying anything fancy, all I want to do is open a write-protected file with gedit as root, like so:

Code:

# sudo gedit /usr/bin/deadbeef

..but every time I try, no matter the file, I get this error message:

Code:

(gedit: [process #] ): Gtk-WARNING **: cannot open display

I already know: I can circumvent this by going:

Code:

# xhost +local:root
# sudo su
# export DISPLAY=:0.0

[code].....

View 6 Replies View Related

OpenSUSE :: Sudo Gedit Doesn't Work - Cannot Open Display

Nov 7, 2010

I am trying to edit a postinfo.xsl in my root file dir, and with the command:

frank@linux-avnb:~> sudo gedit

(gedit:14150): Gtk-WARNING **: cannot open display: frank@linux-avnb:~>

I get the following. what am i doing wrong?

View 3 Replies View Related

Ubuntu :: Open The File In Gedit?

Jun 4, 2011

Ok, so I'm trying to do this: [URL]

The problem is, when I get to the part where I have to open the file in gedit, it says it can't open it, file not found, or something or other..So, when I manually browse to the directory '.local/share/..' there is no folder named 'applications,' only a text file. When I open it, it appears to be the home launcher file, but its in the wrong place and has the wrong name. What's going on? Shouldn't there be a folder there with my applications in it?

View 6 Replies View Related

Software :: Get Rid Of Unneeded Tab When I Open Gedit With Some File?

Jun 18, 2011

How do I get rid of this new tab when I open gedit with some file? Because that tab has "*" in it which means I need to reject save-confirmation every time I exit gedit.

View 1 Replies View Related

OpenSUSE :: Gedit With Sudo - (gedit:7137): Gtk-WARNING : Cannot Open Display

Feb 8, 2010

I set-up my Sudo it works but when I use Gedit I get the following message

Jean-Luc@localhost:~> sudo gedit /etc/fstab
(gedit:7137): Gtk-WARNING **: cannot open display:
samething with /etc/sudoers

If I use vi it's ok, I can modify and save. In Fedora it run ok, but with opensuse?

View 9 Replies View Related

General :: Gedit Command Not Opening Any File Even As Root?

Nov 13, 2010

i recently installed Fedora 14 and when i'm trying to open any file i'm getting this error

[root@blitz Documents]# gedit /home/blitz/Desktop/test
**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection-

[code]....

View 2 Replies View Related

Ubuntu :: Installing Explorer - Command Gedit User.reg (gedit:2573): Gtk-WARNING ** Cannot Open Display

Jan 12, 2010

I am trying to make wine work for explorer. I followed some instructions on this link [URL] To follow this link, I am supposed to

cd ~/ies4linux/ie6
cp user.reg ~/user.reg.old
gedit user.reg

1st and 2nd line went well 3rd line when I try to execute the command gedit user.reg (gedit:2573): Gtk-WARNING ** cannot open display I then /ies4linux/ie6# ls dosdevices(in blue) drive_c(in blue) system.reg(in white) userdef.reg(in green) user.reg

View 3 Replies View Related

Ubuntu :: Gedit Doesn't Recognize Txt File?

Aug 19, 2010

I typed in a text file (Feb.txt) at work using the basic Microsoft Notepad text editor and emailed it home. When I tried to open it from the email using the default gedit I got an error message - Could not open the file /tmp/Feb.txt gedit has not been able to detect the character encoding. check that you are not trying to open a binary file. Select a character encoding from the menu and try again.The character encoding is set to 'automatically detected'.

How come it can't detect the encoding? I had to manually set the encoding to Western(ISO 8599-15) to load it. I can't remember this happening in the past, and it was OK loading one I sent earlier (Jan.txt) which presumably had the same encoding, as it was written in the same way.

View 3 Replies View Related

General :: Use Gedit To Open File With Null Characters?

Feb 15, 2011

I know GEdit has a bug which prevents it from opening a file with null () characters in it. This is a huge inconvenience for me because I frequently have to open big log files with only a couple rogue 's in them.

Sometimes I just run a quick tr -d '' < file.log > file.log.correct and open the correct file. This is a big nuisance. I would like to have maybe an external tool in GEdit that would execute the above command. I tried writing an external tool action (GEdit plugin) using just:

#!/bin/bash
tr -d ''

Input is "current document", output action is "replace current document". But this isn't working. When I open the file, GEdit shows the familiar red warning; activating the external tool with the warning showing apparently has no effect (I think the script is being called but its input/output are not set).

View 1 Replies View Related

Ubuntu :: Use Gedit To Open And Edit A File Through Terminal?

May 9, 2010

getting this error when I try to use gedit to open and edit a file through terminal: (gedit:4423): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See [URL]... 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) GConf Error: Failed I'm using ubuntu 10.04.

View 5 Replies View Related

OpenSUSE :: Gedit Can't Open Gb18030 Encoding File Correctly

Apr 28, 2010

openSUSE 11.2 Simple Chinese is supported as second language. the primary language is English. But I can't open Chinese file using gedit. it only support English? how can I solve this issue? the Chinese file is GB18030 encoding.

View 5 Replies View Related

General :: Closing File While Leaving Instance Of Gedit Open

Apr 19, 2011

If a file is opened from the common prompt with something like:
gedit somefile &
Is there a way to close somefile while leaving the instance of gedit still open? My idea is that sometimes I will have more than one file open in gedit. I run a script daily that updates to a log file. The log file is then opened and viewed with gedit.

View 5 Replies View Related

General :: Cannot Open File In RW Mode - Filling Root File System With Log Files

Nov 3, 2010

I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.

View 6 Replies View Related

Ubuntu :: Vmlinuz - Can't Create - Delete And Open - Root Password Doesn't Work

Jul 2, 2011

i found an encrypted file called vmlinuz that i didn't create and can't delete and can't open because i dont have the password and the root password doesnt work either, what is it?

View 1 Replies View Related

Ubuntu :: When Open Any .pps File With OO.org (impress), It Starts A Slideshow And It Doesn't Let Edit The File?

Aug 24, 2010

When i open any .pps file with OO.org (impress), it starts a slideshow and it doesn't let me edit the file. If i click on "end slideshow", the program exits.i ran it in a terminal and there's no error messages.[EDITED]Well, i found the answer, just renaming it to ".ppt".

View 2 Replies View Related

Debian :: Properly Open A File As Root?

Mar 24, 2011

i will try to keep this post short and to the point. i am currently running debian with kde and i am trying to edit /etc/apt/sources.list. i know that this file needs to be opened as root for the changes to it to be saved, so what im doing (in konsole) is:

concreteabstract@debian:~$: su
Password:
root@debian: /home/concreteabstract# kwrite /etc/apt/sources.list

but that doesn't work, and the message i get is:

No protocol specified
kwrite: cannot connect to X server :0.0

View 5 Replies View Related

Fedora :: F14 - Can't Run Gedit As Root

Nov 3, 2010

Just did a fresh install of fedora 14 (laughlin). I want to run gedit as root ... that's my prefered way for creating and adjusting system config files. Now I'm very stuck ... can't even access yum.conf to set keepcache. I get:

Code: (gedit:2598): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported ** GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)

View 14 Replies View Related

Fedora :: Cannot Use Gedit As Root

Mar 19, 2011

I'm trying to use gedit as root to edit some config files, but everytime I try to open it, I get this mess. I had a similar issue with debian, and someone solved it by telling my to run gksu nautilus. I tried to run gksu gedit, but apparently that doesn't work on Fedora. I really like Fedora, and I want to stick with it, but if I can't edit these files, I'm going to have issues.

Code:
[kevin@senbonsakura ~]$ su
Password:
[root@senbonsakura kevin]# gedit

[Code]....

View 6 Replies View Related

Software :: Not Able To Open Gedit?

Jun 15, 2011

I'm not able to open gedit

It says: bash: gedit: command not found

I typed "adobe" in add/remove software and removed something from the list appeared. Does this have any link with "gedit"? If so, how do I restore it?

View 14 Replies View Related

Fedora :: Gedit Not Working For Root

Mar 12, 2011

When trying to use gedit in su mode get this:

Code:
(gedit:2340): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
**

[Code]....

tried removing and reinstalling but no change

any other options or a way to boot the graphic mode in root?

View 14 Replies View Related

Ubuntu :: Open Rar File And Doesn't Support Many Softwares?

Jul 11, 2011

I want to download a software and it is in .rar File. So I put this in the terminal: Code: sudo apt-get install unrar It installed fine but now how do I open the Rar File? Also is it true that Linux doesn't support many softwares?

View 4 Replies View Related

Programming :: PHP - Browser Doesn't Open The File Only To Download

Apr 12, 2010

I'm currently on LinuxMint. I'd like to start PHP scripting, but the browser doesn't want to open the file, only to download. I've red the description on Ubuntu's site how to bring apache2 and PHP together, but it simply cannot find php module. How on earth can I force Linux to act as a normal OS?

View 3 Replies View Related

Ubuntu :: Certain Txt Files Won't Open In Gedit

Jun 13, 2010

I have a few .txt files that when opened in gedit give me an error "Could not open the file - gedit has not been able to detect the character encoding" HOWEVER, I can see some of the contents of the files (a few words) in the icon preview in nautilus. Also, I can open these documents in notepad (using wine) though I'd prefer to use gedit.

These might not all be txt files. I know one is directory of important phone numbers that was in some obscure format that could only be opened on a nokia phone.

View 1 Replies View Related

Fedora :: Can't Change Gedit Preferences When Logged In As Root (su)

Sep 22, 2009

Is there a way to fix this ? I need to be able to edit files with root privileges, not to mention that I don't want it to make any backups ( can be turned off ).

View 3 Replies View Related

Fedora :: Different Behaviour When Invoking Gedit From Root Terminal

Nov 27, 2009

Every time I invoke gedit from the root terminal I get:-

[AnOther@FSLServer ~]$ su
Password:
[root@FSLServer AnOther]# gedit

(gedit:6447): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

followed by 33 occurrences of:-

GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See [URL]. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)gedit opens fine but it seems really odd. My exposure to linux is not vast but this has never happened before Fedora12 It doesn't happen if I just use the terminal as an ordinary user.It also has nothing to do with the Bad & Ugly Gstreamer plugins as this happened from the moment the system was installed from the DVD and before the plugins were loaded even after removing them and rebooting I still get the ream of GConf errors if I start Gedit after su,

View 4 Replies View Related

Fedora :: Gedit Can't Change Font Size As Root?

Aug 27, 2010

I want to change gedit font size and color scheme as root but the font is locked out and when selecting a color scheme I get the following error: ** (gedit:2562): CRITICAL **: gedit_prefs_manager_set_string: assertion `gconf_client_key_is_writable ( gedit_prefs_manager->gconf_client, key, NULL)' failed How can I get around this?

View 2 Replies View Related

Fedora :: Can't Run GEdit And Other Tools From A Terminal By Logging In As Root?

Jul 20, 2011

Everyone is wondering why we can't run gEdit and other tools from a terminal by logging in as root(e.g"su-"), I understand that by making changes they are trying to force us as users of Linux to learn better habits that are more secure, but the issues are driving people nuts!

I for one really like being able to log as root and open gEdit to make drive changes without having to login as root, I would normally still have access to all my things like email etc. So changing Linux to force everyone to not use tools like gEdit as root is becoming more of an inconvenience than they realize, there must be a safe way to do this!

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved