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


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

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:


# sudo gedit /usr/bin/deadbeef

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


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

I already know: I can circumvent this by going:


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


View 6 Replies View Related

OpenSUSE :: Sudo And Graphic Apps Not Working - Can't Open Display: :0.0 From /etc/sudoers

Oct 18, 2010

After upgrading GNOME to 2.32 in my openSUSE 11.3 x86_64 running graphic applications with sudo is impossible. (that means it worked before upgrading GNOME)


etam@etam-laptop:~> sudo xeyes
root's password:
No protocol specified
Error: Can't open display: :0.0 From /etc/sudoers:


Some interesting facts:


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

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

Software :: Gedit Elastic Tabstops Plugin Doesn't Work

Nov 23, 2010

I followed the instructions here:


But the checkbox to enable it in gedit becomes grayed out once I click it and it doesn't enable. (note that I used "pip install ElasticTabstops" instead of "easy_install ElasticTabstops", because that's what Arch uses)

View 2 Replies View Related

OpenSUSE :: Set The Option 'Double Click To Open Files And Folders' But It Doesn't Seem To Work?

Feb 7, 2011

under 'System Settings < Keyboard & Mouse' I've already set the option 'Double click to open files and folders' but it doesn't seem to work with Dolphin.

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

General :: Sudo Command Doesn't Work

Oct 17, 2010

I want to install some software using sudo apt-get command,but it dosen't work.(my network works well) how to handle it? below is the output of terminal:

@ubuntu:~/Downloads$ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4
Reading package lists... Done
Building dependency tree


View 4 Replies View Related

General :: Ubuntu / Sudo Also Doesn't Work

Jun 30, 2011

I have ubuntu server 8.x which works Ok but the other day I changed the owner of some files "the directory /etc" from root me. Now a lot commands do not work like reboot and such. So I tried to put ownership back to root and I can't. I say I dont have proper privilege. Sudo also doesn't work. I conect to the server using ssh with putty. What could I do to fix the problem? Update to the new version? This server has been working really well for a few years. The reason I changed the owner of the directory to myself is so I could edit some config files from my windows machine using a FTP client like WinSCP.

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

Ubuntu :: Sudo Command Doesn't Work Anymore - No Valid Sudoers Sources Found

Jan 21, 2011

I was changing some file permissions with the chmod 777 command and i accidentally executed:


sudo chmod 777 /*/*/*/*

and now i can't get root access to anything. If I try executing a sudo command i get:

sudo: /etc/sudoers is mode 0777, should be 0440
sudo: no valid sudoers sources found, quitting

View 9 Replies View Related

Slackware :: Doesn't Start..xsession.errors Claim It Can't Open Display?

Jan 8, 2010

with slackware 13.0 for one user xfce4 hangs and doesn't start..xsession.errors claim it can't open display. It works fine for other users. Also if I access the machine in question as the same user but remotely using remote X (X-terminal on my LAN) it works fine.Sometimes if I wait and count to 30 it comes up but a lot of the features don't work.During the last week have posted this question on the compuserve linux forum and also in the xfce site forum with no solutions.seems there must be something in that user's directory which is hanging it up. I keep the same /home/users directory on a separate partition so when I upgrade for new versions of slackware the /home/users remain the same - I symlink home to that partition so upgrades are somewhat seemless.

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

Ubuntu :: 11.04 Display Doesn't Work?

May 22, 2011

Not sure how to explain it.. if I line up my screen perfectly with the light it absorbs just about enough light to make out the outline of the login screen.. seems like the pixels are setting the right colors but the light in the screen isn't turning on if that is possible. If I enter the GRUB menu and load 2.6.35-28-generic it works fine.. the latest doesn't though... so the question.

1) How do I fix this for the latest version?

- or -

2) How do I auto-load the 2.6.35-28-generic version permanently?

View 9 Replies View Related

Fedora :: Display Rotation Doesn't Work?

Jul 13, 2009

I have fedora 10 and I rotated my display upside down using Display settings (I don't know if it is the same thing as system-config-display, I had an icon called Display settings on my panel). It didn't work, my screen became black and now I can't change it back. Can I somehow change it back using terminal only? There's no rotation set in my xorg.conf file, I tried to set different rotation in xorg.conf, but it had no effect.

View 2 Replies View Related

Fedora Security :: Cannot Open /var/db/sudo After Sudo Package Upgrade?

Sep 16, 2010

A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.

View 1 Replies View Related

Ubuntu :: No Sound - Display On The Front Of The Computer Doesn’t Work

Jan 4, 2010

I have installed Ubuntu on my MSI Mega PC but have no sound, also the display on the front of the computer doens't work. Unsure if there are drivers for this but here goes:


View 5 Replies View Related

Ubuntu :: Typed "sudo Apt-get Install Zlib" But It Doesn't Work?

Jul 10, 2010

I have to install zlib for running ./configure.I typed "sudo apt-get install zlib" but it doesn't work...Quote:configure: error: zlib library not found or incompatible, please specify the correct path with --with-zlib=DIR... stopping

View 8 Replies View Related

General :: "sudo Su - Someuser -c Xterm" Doesn't Work

Oct 2, 2009

I have a user A that need to log into a linux box, change to user B, and then fire up a GUI.

I've tried this:


[userA@server ~]$ sudo su - userB -c "xterm"
X connection to localhost:10.0 broken (explicit kill or server shutdown).

Running "echo $DISPLAY" shows the same value for user A as for user B when I first run "sudo su - userB". I thought that if the $DISPLAY variable is set correctly this would work, but apparently it doesn't. Does anyone else here know how to get this working?

EDIT: I forgot to mention that I'm SSH-ing into the server, and have x-forwading enabled.

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

OpenSUSE :: Opensuse 11.4/gnome - Most Gui Apps Not Working With Gtk Error - Cannot Open Display: ::1:1.0

Jun 22, 2011

I recently installed opensuse 11.4 on a remote server. It has GNOME installed as a desktop. The problem I am experiencing is that when logged in through VNC, most of the GUI apps are not functioning, especially ones that require root privs. Example: The Add/Create users context does not function. After you supply root pw, nothing happens. If you launch it from a terminal, you see this:

jjmuw@g01:~> xdg-su -c /sbin/yast2 users
Xlib: extension "RANDR" missing on display "::1:1.0".
No protocol specified
No protocol specified


(y2base:4872): Gtk-WARNING **: cannot open display: ::1:1.0

Followed by a hang. This is also affecting things like the Xen configuration contexts (creating/managing VMs).

View 5 Replies View Related

Ubuntu Installation :: "Error Booting Operating System" - Sudo Grub; Root (hd0.0)...) Doesn't Work

Mar 1, 2011

I installed 10.04 (clean install) on a 250G drive (partitioned to 107G for the system files). It was working fine, until I wanted to install Window$ for the use of Adobe stuff. I popped the Windows XP disc in, it loaded its files, then I tried to choose a partition for installation. There was an error saying that I can't do that, and needed to delete a partition blah blah. I thought it was too much trouble, so I quit and just wanted to use my 10.04. Booted, and it says "Error booting operating system" I WAS SHOCKED.

I tried to install grub (but don't need that right? I DO NOT want to dual boot now), but the usual method ( the sudo grub; root (hd0.0)...) doesn't work ,because something like "stage1" is missing. I tried many methods by still the same error. The reason I do not want a clean install is that I did many fixes on my 10.04 so that it would work with my EeePC 1001pxd, and I do not want to go through that again. I will be checking my email frequently on other computers if I have a chance.

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

Installation :: Ubuntu Software Center Doesn't Open / Get It To Work?

Feb 18, 2011

When I try to open Ubuntu software center, it appears on the process bar for about 10 seconds before it disappears. I can't get it to start.

I have tried alt+f2 and typing 'software-center', didn't help. I tried reinstalling ubuntu software center in Synoptic package manager, but I got this error message: "E: /var/cache/apt/archives/software-center_3.0.7_all.deb: subprocess new pre-removal script returned error exit status 1"

This started to happen after I reinstalled Ubuntu 10.10. After I did that, I got the 'modprobe: FATAL: Could not load /lib/modules/2.6.8.custem/modules.deb, no such
file or directory.' error. Could these two problems be related in any way?

View 9 Replies View Related

Copyrights 2005-15, All rights reserved