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


ADVERTISEMENT

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

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 :: Can't Open Sudo Gedit /etc/X11/xorg.conf - What's Wrong?

Jul 15, 2010

When I try to open sudo gedit /etc/X11/xorg.conf
by entering it in the "run tool" nothing appears...

what's wrong?

View 4 Replies View Related

CentOS 5 :: Can't Open Cpp Files In Gedit - Couldn't Display ?

Mar 23, 2011

I have just finished an install of Cent 5.5. I loaded up a trunk for a software application I want to compile on cent, but I cannot read the .cpp files. The issue seems to be with the file extension. If I change the extension to .txt, they open just fine. My .FOR, .FPP, and .DAT files display fine, but the .cpp and .h give me an error, "Couldn't display...". What is the problem here that won't let me open these files in gedit?

View 5 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

Software :: Scroll One Line Each Time Like Gedit Does When Scrolling In Gedit?

Oct 29, 2010

When scrolling down in nano with keyboard (holding "down" key), nano scrolls several lines at once each time. Is there any possibility to configure it so it will scroll one line each time like gedit does when scrolling in gedit?

View 3 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

Software :: Warning Message Or Error When Running Gedit

Dec 28, 2010

Why is it when I run gedit, there are always tonnes of error or warning messages? (Even though my gedit ran successfully)

To name a few:
1. GConf error: failed to contact configuration server; some possible causes are that you ned to enable TCP/IP networking for 0 RBit, or you have stale NFS lockes due to a system crash.
2. Failed to get connection to session: Did not receive a reply among others.

Just to mention again my gedit is running fine though. Is there any configuration that I missed out? or I can disable to avoid these nuisance?

View 1 Replies View Related

CentOS 5 :: Gedit Gives A Nasty Warning (assertion Failed)?

Mar 13, 2010

If you start gedit from the command line, then you can see this assertion error:

[bart@vectra ~]$ gedit &
(gedit:17187): GLib-CRITICAL **: g_string_append: assertion `val != NULL' failed
sys:1: Warning: g_string_append: assertion `val != NULL' failed

View 2 Replies View Related

General :: Why Doesn't 'sudo Gedit' Work In Vinagre

Oct 13, 2010

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.

View 2 Replies View Related

Software :: Display Chinese In Gedit ?

Jan 27, 2010

I have used Chinese simplified language as default language, at that time I can use gedit to open some chinese file, also at panel of gedit, there were Chinese like open blah blah.

After I closed it and open it again, strange things happened, there were no Chinese words at panel , and could not display Chinese.....

Later, i have tried to logout session and login with Gnome session and set the default language as Chinese. This time, file names , program names can be showed in Chinese perfectly, somehow for gedit, nothing has changed, and English panel, no Chinese can be displayed.

View 3 Replies View Related

Ubuntu :: NetBeans To Display The Font The Same Way GEdit Does?

May 9, 2010

Hello everyone,
I just installed Ubuntu 10.04 Desktop (32-bit) and everything has been working fine out of the box (even the wireless card!), but there appears to be something wrong with NetBeans 6.8, whichI installed through the Software Center.

I set the font to Monospace size 12 and you'll see on the screenshot that the letters in NetBeans are way smaller and thinner.

I did some googling and tried to use start NetBeans with -J-Dswing.aatext=true and -J-Dawt.useSystemAAFontSettings=on, but that did not change anything.

Is there anything I can do to force NetBeans to display the font the same way gEdit does?

View 3 Replies View Related

Ubuntu :: Automatically Display Gedit Files?

May 8, 2011

running 10.04 netbook lucid lynx and I have couple of simple plain gedit text files. Wheenver I open them I am always prompted "this is an executable file, with the the choice to Run in Terminal Display Cancel Run how do i get these simple text files (which are not executables unless file type got messed up) just to automatically display in gedit (they're set to open wtih gedt app).

View 7 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

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

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

Ubuntu :: Open Two Windows Of Gedit At The Same Time?

Dec 5, 2010

Is it possible to open two windows of gedit at the same time, as I want to compare the contents, line by line, of two pages of g-code for trouble shooting ?

View 4 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

Fedora :: Error Open Files With Gedit From Terminal

Dec 4, 2010

I get error when trying to open files with gedit from terminal, here the esteps:

Code:
1. Open Terminal
2. Show: [tgp@nobocanuser ~]$
3. type: su
4. password: ******
5. Show: [root@nobocanuser tgp]#
6. Type: gedit /etc/X11/xorg.conf (or another file to edit)
7. Show: (gedit:2687): EggSMClient-WARNING **: Failed to connect to the session
manager: None of the authentication protocols specified are supported
[Code]...

View 2 Replies View Related

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

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

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 View Related

OpenSUSE :: Gtk-WARNING **: Cannot Open Display: :0

May 29, 2011

For example, the gparted application menu item doesn't work; using it means that there is almost no filesystem support. The only way to get it to work is to open a terminal, run 'su -', and then open it from there.As another example, I tried creating a nautilus script to open files as root with a command like this:

Code:

for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gnomesu -c "gnome-open '$uri'"
done

When I try using it, it just fails. Typing out the command in the terminal gives this (tested on a text file):

Code:

No protocol specified
(gedit:13672): Gtk-WARNING **: cannot open display: :0

I'm pretty sure the problem is that it's granting privileges, but not using the full root environment, or something along those lines.

View 2 Replies View Related

Fedora :: Won't Open When Run Gedit Command Through Terminal To Edit Files

May 31, 2011

When I try and run gedit command through terminal to edit files it won't open them

Quote: (gedit:4113): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

View 6 Replies View Related

Ubuntu :: Make Gedit Save Tabs And Open Them When Restarting?

Jan 6, 2011

Textpad on Windows did a great job with this. How to make gedit save tabs when closing and reopen the files when restarting?

View 2 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

Ubuntu Servers :: Error When Loading "sudo Gedit Httpd.conf"?

May 24, 2011

I've installed apache2 and and when i access my URL from outside using www.proxy-ervice.de i just get a webpage with Index of /so i've run the command sudo gedit /etc/apache2/httpd.conf which give me the error: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file'/root/.local/share/recently-used.xbel.2EUJVV': No such file or directory(gedit:2509):Gtk-WARNING **: Attempting to set the permissions of`/root/.local/share/recently-used.xbel', but failed: No such file or directorymy httpd.conf is as follows,Userdir public_htmlOptions +IndexesOptions AllServerName localhost

<Directory "/home/gav/public_html/">
Order allow,deny
Allow from all

[code]....

View 1 Replies View Related







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