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


ADVERTISEMENT

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

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

Fedora :: Coin Error In Glxglue_init(): Couldn't Open NULL Display

Jan 23, 2010

I wrote a simple code using Open Inventor(OpenGL) classes to print a Sphere in a .png file.I tested it on Windows and it worked well.But when I run it on Fedora 10, I got the following error with no output .png file:

Coin error in glxglue_init(): Couldn't open NULL display. Coin warning in SoOffscreenRenderer::renderFromBase(): Could not set up an offscreen OpenGL context.
Segmentation fault

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

Red Hat / Fedora :: Couldn't Initialize KVM - Couldn't Open Disk Image - Permission Denied

Nov 13, 2010

create a VM here with virsh. I've managed to create the XML file and got it to work properly, however running it is the problem. These are the errors I get error: Failed to start domain Cent-OS, internal error process exited while connecting to monitor: open /dev/kvm: No such file or directory ,Could not initialize KVM, will disable KVM support qemu: could not open disk image /media/55D123D9E79ABF54/VM/Cent-OS-5.5.img: Permission denied

I've tried setting SElinux to permissive mode.

Fedora 14 X64
hypervisor qemu
XML:

[code]...

View 2 Replies View Related

CentOS 5 :: New Installation - Cannot Open Display

Jun 28, 2011

I created a new virtual machine on my ESXi 4.1 host and had planned to install Centos 5.6 as the guest OS. The two ISOs required for the installation were stored on my local disk.

I powered on the VM, loaded the iso and managed to get the first installation screen until the test CD media screen. However after that, I was greeted with the following error message:

(could not upload a screen cap because of company's security reasons )
===============================================
Running anaconda, the CentOS system installer - please wait...
Probing for video card: VMware SVGA II Adapter
Attempting to start native X server

[Code].....

View 1 Replies View Related

CentOS 5 :: Can't Open Display After Fresh Install?

Feb 1, 2010

I had a fresh install of centos 5.4 x64 on my newly bought lenovo thinkstation D20, the installation went smoothly. after I finished adding users and reboot,I get pass the grub, starting the services, and then.. just blank screen, get nothing there and stuck, can't get into gnome, only option is to power off.the same happens if I install scientific linux, basically same with centos. I also can't boot the scientific linux live cd(the same thing happens, after starting the services, blank screen and stuck). however, I can boot Fedora live cd. but all I want is an EL5.

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

CentOS 5 :: Install Centos In HDD 2 And Now How To Open Files In Hdd 1

Nov 21, 2009

i had install my centos in HDD 2 and now how to open my files in hdd 1 (windows)

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

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

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

OpenSUSE :: Application Couldn't Display Language Other Than Chinese Properly?

Apr 3, 2010

I've choice English as "primary language" in language configuration in Yast, and have also installed Chinese as secondary language.In most programs Chinese displays normally, like Evolution, Firefox, Dolphin, but in VLC media player and some other applications, Chinese couldn't be displayed properly.

View 8 Replies View Related

CentOS 5 :: Can't Open Djvu Files?

Jan 15, 2011

I need to open a text file which is stored in (file.djvu) format. How could I open this file?

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

Fedora :: Files Couldn't Be Renamed Or Deleted, The File Manager Said That The Files Didn't Exist - Very Weird?

Jan 13, 2010

On a KDE4 environment after downloading some music from rapidshare with JDownloader the archives self-extracted with the symbol in some of the file names. Those files couldn't be renamed or deleted, the file manager said that the files didn't exist - very weird. The files should have had some swedish characters in their file names. Now I'm stuck with those files on my machine. Anyone knows how to get rid of them?

View 2 Replies View Related

CentOS 5 :: X Windows Applications "Can't Open Display" After Su

Aug 27, 2009

I have recently resurrected an old X Windows application and I am having a problem getting a CentOS 5.3 client to run the application from a CentOS 5.3 host.

If I am logged in as root to the client side and ssh -Y over to the host, then run xclock, everything works just fine.

However, if after I ssh -Y over to the host, I then su - userx on the host, and then run xclock, I always get the "Can't open display" error.

I have tried:

Running xhost + on the client. doing the "xauth add display MIT-COOKIE xxxxxxxxxxxx" on the client & host, both as the root user, and as the userx. I can't seem to get a definitive answer as to which user and which machine (client/host) this needs to be run as.

Also, when you "xauth list $DISPLAY" you get nothing, (because it is either localhost:0.0 as root, or :0.0 as the su - user) you have to "xauth list", and then you get a list of cookies, but since the "echo $DISPLAY" doesn't match any of them, it is not obvious which one to use. Also, they are ALL "host/unix:X.0", so I assume they are all socket based, and as such I would assume that the their cookies would not be usable for remote TCP connections?

I also saw information about using netstat -anp to look for 60** LISTENERS, I could not find any on the client or host sides.

Nothing seems to work.

I heard about a program sux that is on ubuntu, but I could not find it for CentOS. Is there an equivalent on CentOS?

I have searched the web and found lots of info in forums all over the net with what appears to be the correct way to do this, still nothing appears to work.

What is confusing is that if the TCP LISTENERS were not there, I should not be able to get it to work as root either, so it must be in the transition of the su - userx.

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







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