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


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

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

OpenSUSE :: Consultation On Gdm - Error (Gnome-properties-Appearance: 18 047): Gtk-WARNING **: Can Not Open Display:

May 4, 2010

Gnome Forum have told me that changing the appearance of gdm I run: sudo -u gdm dbus-launch gnome-appearance-properties but I get this error: (Gnome-properties-Appearance: 18 047): Gtk-WARNING **: can not open display:

View 3 Replies View Related

OpenSUSE :: Root Trying To Open Flashplayer In KDE Getting Cannot Open Display

Feb 18, 2011

We have a digital signage appliance built on SUSE 11.3 with a LAMP server that uses the flashplayer application to play a .swf file from localhost. It is a AOpen GP7A mini pc that has the nVidia drivers loaded. We have lots of customers that have been running the exact same system for over 6 months (we image the drive for each sale).

For some reason, my last customer is seeing the following problem shown below, and this linux configuration is way over my head. Everything else is working (local LAMP server is working, communicating with our production servers to get information works, etc). I have verified that it is screen 0 that is running (at least it shows with Ctrl-Alt-F7). I thought that it may have occurred because of updating the software with zypper up. I had the customer rebuild from the image being careful not to upgrade the software. The result was the same. The pc is a newer version compared to my bench pc, but there are multiple other customers running that same version just fine. So I am not sure if it is

The command is issued by a php script that is run in a root cron job. As I said, it works great on all other customer pc's including my bench system. I also tried to execute the command on a ssh terminal as the root user with the same result. I also upgraded my bench pc and it still worked properly.

The command being executed is sudo env DISPLAY=:0 XAUTHORITY=/home/svision/.Xauthority flashplayer http://localhost/flash/sign.swf &

the result (when run in terminal) is: No protocol specified (flashplayer:15077): Gtk-WARNING **: cannot open display: :0

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

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

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

Debian :: Gtk-WARNING **: Cannot Open Display

Feb 7, 2011

Just finnished a fresh install of Squeeze. In a console, as root, when i type gedit i get: # gedit No protocol specified

(gedit:24284): Gtk-WARNING **: cannot open display: :0.0

View 3 Replies View Related

Ubuntu :: Gtk-WARNING **: Cannot Open Display: :0.0

Jan 13, 2010

When I become root and try to run gedit, I get the error:

No protocol specified

(gedit:219: Gtk-WARNING **: cannot open display: :0.0

This does not happen from my user profile....xhost + actually solves the issue....so I guess I just need to add the host root to the list of hosts allowed to access the x server...

I try xhost +root......but that does not work....

View 6 Replies View Related

Ubuntu :: GTK Warning - Cannot Open Display

Dec 27, 2010

I need to get gksu to run programs. The goal is to be logged in as user1 and run firefox or google-chrome with user2 's settings stored in their own home directory. I'm trying the following with no success:

Code:
user1@hostname:~$ su user2
Password:
user2@hostname:/home/user1$ google-chrome
No protocol specified
(google-chrome:17144): Gtk-WARNING **: cannot open display: :2.0

Code:
user2@hostname:/home/user1$ firefox
No protocol specified
No protocol specified
Error: cannot open display: :2.0

Code:
user2@hostname:/home/user1$ gedit
No protocol specified
(gedit:17162): Gtk-WARNING **: cannot open display: :2.0

View 1 Replies View Related

Debian :: Gtk-WARNING **: Cannot Open Display: :0.0

May 12, 2010

Im trying to access gparted, i get an error

Quote:

(gpartedbin:4918): Gtk-WARNING **: cannot open display:

I am connect via vnc if this helps.

View 7 Replies View Related

Ubuntu :: Gtk-warning - Cannot Open Display

Jan 30, 2011

I was running Ubuntu 10.10 Maverick with no big problems till last 3 days ago.

The update manager checked some updates to install and after installing them, I had no graphic desktop any more. Only the command line.

I tried to recover it by starting the X again.

Code:

But did not worked

So I've tried to install the nVidia driver again. I looked at nVidia Linux drivers site for how to do it and Ubuntu documentation and when I tried to

Code:

I just could not use gedit. It cannot open display. I googled for three days but could not solve it. I found some similar answers here at LQ but none was similar to my situation or worked even when I tried.

View 7 Replies View Related

Ubuntu Servers :: GTK Warning - Cannot Open Display

Apr 8, 2010

I am still learning the ropes on Ubuntu server. I am trying to set up samba, but when I use the "gedit" command, I get this error:
GTK-WARNING **: cannot open display
I had installed the gedit command by using apt-get and aptitude, but still no luck. I am using virtualbox to test Ubuntu Server 9.10.

View 3 Replies View Related

Fedora Installation :: Mini-wm:1462 - Gtk-WARNING **: Cannot Open Display: :1

Jan 26, 2009

I'm trying to install Fedora10 on my new desktop. It has Windows 7 beta on it and Vista. It starts up fine and I select install. For some reason my wired usb keyboard will not respond unless I press the caps lock button while it loads the begging. (I don't know if another button will work, ive only used the caps button since i can see the light come on) once it loads i skip the disk check and anaconda runs, i get the warning (mini-wm:1462): Gtk-WARNING **: cannot open display: :1 .

View 1 Replies View Related

SUSE :: Failing To Load The Gnome Session - GTK Warning - Cannot Open Display

Apr 27, 2010

I am using SLES 10 SP3(x86_64). I was trying to install gtk/wxwidget through yast.

After that i rebooted my system, now system is failing to load in GUI mode.

If i can give the log of last few lines are as follows

Then it asks for login, only shell is available for me. How to login to gui mode..

I tried using the command gnome-session it gives error (gnome-session: 4101): Gtk-Warning **: cannot open display:

Also i tried using init 5, but again it prompts the my servername.

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

Ubuntu Installation :: Upgrade To 10.10 Root Can't Open Display

Oct 12, 2010

I just upgraded from 10.04 to 10.10.After the upgrade I can't open any GUI programs running as root.

Or using gksu I just get the password prompt and then nothing happens.Same thing if running from the System->Administration menu.This is the same for all programs, not just Synaptic.Any idea of how I can debug this issue?

View 9 Replies View Related

Ubuntu :: E233 - Cannot Open Display - When Starting Gvim On Root Shell

Aug 30, 2009

However, "E233: cannot open display" error appears when starting gvim on ubuntu 8.04root shell.

E233: cannot open display Press ENTER or type command to continue # kdesudo gvim /etc/fstab kdesudo: cannot connect to X server.

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

OpenSUSE :: Warning: Running BOINC As Root User

Apr 19, 2010

I've installed BOINC for first time (from suse repos). I'm worried about running BOINC as root. How can this be avoided? I'd first like to exhaust all options with the official opensuse repo version of BOINC. If I am unsuccessful, then I'll try the version from Berkeley website.

View 13 Replies View Related

OpenSUSE Install :: 11.4 Startup Fails - WARNING: GdmDisplay: Display Lasted 1.088891 Seconds

Mar 11, 2011

Same problem with 11.4 x64 DVD version (gnome default). System ends with text before showing logon screen allso in failsafe

[code]...

View 6 Replies View Related

OpenSUSE Install :: Warning: Cannot Open ConsoleKit Session

Dec 28, 2010

I am currently running Suse 11.3. I continue to get the following error when logging into the KDE login manager with my user account

"Warning: Cannot open ConsoleKit session: Unable to open session. The name
org.freedesktop.ConsoleKit was not provided by any .service files."

After acknowledging the error, it resets back to the login manager screen. If I login with root, I get the same message, but it continues on and logins into the session

View 5 Replies View Related

General :: Error - Can't Open Display - For Xclock Or Gvim On Kubuntu Root Shell Konsole 1.6.6

Oct 8, 2009

I use kubuntu (8.04) which does not have a root account.

[sudo] password for ts:

However, starting xclock or gvim on root shell on konsole has the "Can't open display" error appears.

Error: Can't open display: localhost:0.0

Press ENTER or type command to continue

View 2 Replies View Related

Ubuntu Installation :: From A USB Flash Memory Stick - Warning "VFS: Cannot Open Root Device "sda6" Or Unknown-block(0,0)" And Kernel Panic On First Boot

Apr 24, 2011

I am trying to install Ubuntu 10.10 from a USB flash memory stick. It works fine until around 95%, where I get the following warning/error:

[Code]....

I click OK and the installer seems to finish nicely, except the terminal throws several errors along these lines (see photo):

[Code]....

I tried also with 10.04 LTS, the difference being that the install warning appears two or three times instead of once. Some results from googling (Ubuntu Forums, Ubiquity bug) suggest unchecking the initial update options. I am going to try this but I'm not sure if I'll be able to get the boot loader right (there seemed to be problems with this).

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







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