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)
Code:
etam@etam-laptop:~> sudo xeyes
root's password:
No protocol specified
Error: Can't open display: :0.0 From /etc/sudoers:
Code:
Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER DISPLAY"
Some interesting facts:
[code]....
View 2 Replies
ADVERTISEMENT
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
[code]....
(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
Jun 10, 2011
After install TexLive, sudo stop working. If I run sudo:
Quote:
sudo: can't open /etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting
Edit: Hal and dbus is not working either, if i startx I don't have network manager or automatic mount of pen and disks.
View 10 Replies
View Related
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
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
May 31, 2011
I have tried several things to attempt to fix my sudoers file however it is still coming up with errors. The error says
[code]...
the sudoers configuration file is set to the default as I have ran a dpkg on it, have also uninstalled and reinstalled it, and went over the configuration file ensuring it looked like the defaults I had seen online.
View 8 Replies
View Related
Jul 27, 2010
I try to boot up Ubuntu.It seems like everything goes on as normal (I can tell from sounds), but the screen becomes just a jumble of randomly colored lines (see photos; I couldn't get screenshots for obvious reasons).I also included some info about my computer (see pic), but I don't know anything about my graphics card, how do I find that?
P.S. I just installed a fresh version of 10.04 Lucid (dual-boot with WinXP), and as far as I remember, I haven't changed any settings or even installed any software yet!
View 2 Replies
View Related
Feb 12, 2010
What i am i doing wrong? i download these very good app's from yast
and at times i run into a problem when you click on the app and it looks like it wants to open,the application's icon is on the bottom panel and the icon is bouncing up and down where there cursor is and then eventually it disappears.Is it timing out?
View 1 Replies
View Related
Feb 23, 2011
I belive there is a problem with my graphics card, because when I start a VMware vm with accellerated graphics, i get this message: Code: Cannot open file "/home/joe/.vmware/dndlogs/ * dndlog.conf": No such file or directory. 3D graphics acceleration will be disabled. This computer does not have a 3D graphics system supported by VMware Workstation. My laptop model is the ASUS U52F-BBL9 btw.
View 1 Replies
View Related
Mar 25, 2010
I get this message if i try to use sudo/gksudo. What causes this, how can I solve it? It has been working for years. If i remember correcttly there was a sudo update few days ago, maybe it doesnt work since then, i havent used it in the last few days.
View 9 Replies
View Related
Dec 24, 2010
Whenever I try to run something as root using the sudo comand I get: Code: ramy is not in the sudoers file. This incident will be reported.
View 6 Replies
View Related
Jan 4, 2010
I have a problem, I changed the own of all the etc folder, it was a mistake, but I can't change it again, now, I cant use "sudo" because root is not the own. When I try to use "sudo" this is the error: sudo: /etc/sudoers is owned by uid 1000, should be 0. so, the own is my user instead of the root. How can I change it again?
View 6 Replies
View Related
May 31, 2011
When I try to use sudo, I get this error message.
Code:
sudo: /etc/sudoers is owned by uid 1000, should be 0
sudo: no valid sudoers sources found, quitting
View 6 Replies
View Related
Apr 12, 2011
This may be a stupid (?) question, but does any one know of a patch for sudo that allows the sudoers information to be pulled from mySQL?
I run multiple servers with multiple people working on them and would like a one-stop update of permissions.
Yes, I could use rsync or the like, but I'm just wondering if this has been done, or could be done.
(Sorry if this is the wrong forum, I'm kinda new around here, posting wise and this seemed to fit. Feel free to move it if it's not)
View 3 Replies
View Related
Jul 3, 2011
On My OpenSuse 11.3 box, all my 64-bit apps correctly select Western font for menu items, file selection etc.. But my 32-bit apps like Adobe reader and 32-bit version of Firefox display unreadable text for mouse right click, file save and select etc, as if they are trying to use an invalid font or character encoding.C how I configure 32-bit apps to use Western character set, and to find what it is actually looking for ?
View 9 Replies
View Related
Aug 16, 2010
since a recent upgrade to Mandriva 2010.1 I am not able to 'sudo' as administrator or when I use the 'root' password. I am the only user on this machine (Dell Inspiron 530S multi-booted with Window's Vista Home Premium, Ubuntu 10.4, and Mandriva 2010.1). I can get into the 'Manage Users' section of the control center by authenticating as 'root' but I can't access 'sudoers file' from command line.
View 4 Replies
View Related
Mar 14, 2010
I am going to school for IT Security and will be taking my first Linux class this semester. I have dabbled a little bit in Linux before this but never really had the time to get to involved so I put it off untill now. Now I am forced . Anywho...I just installed Fedora11 (dual booting with Vista home basic) and the first thing that I am trying to tackle is install VMware. I have access to a bunch of Window OS's because of school and would like to create a 'virtual' version of windows for things like iTunes. This way, i have to force myself to use Linux for everything and I can install it on the whole PC. Until then, I am going to dual boot. When I was trying to install VMware, I tried to do it from the Terminal using sudo sh then the file name which is a .bundle file, I typed in the password and it said that my account was not in the 'sudowers' profile or something like that. I read on-line that you can modify who can sudo and who can't in the ect/sudoers file but if has an 'X' at the top right and I can't open it. It says 'Could not display "/etc/Sudoers". I tried to use visudo in the terminal and it says that permission is denied.
View 2 Replies
View Related
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
Jan 21, 2011
I was changing some file permissions with the chmod 777 command and i accidentally executed:
Code:
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
Feb 15, 2011
I have previously set up sudo via adding my name to the wheel group and then giving full privileges to the wheel group in the sudoers file. Now I choose to learn to limit that. Had noticed the most frequent use I have of sudo is to run yum update. This got me thinking, could I remove the wheel group privileges and add the following line in sudoers to limit the privilege to simply running yum, and furthermore, make it so I could run yum without a password:
## Allow root to run any commands anywhere
rootALL=(ALL) ALL
Troy ALL= NOPASSWD: /usr/bin/yum
I think that would in fact work (if I understood one of the pages here, it will work). However, upon further thinking I realized that in such a case then anyone sitting at my computer could then use yum, without a password, to install or remove any file on my system � probably not a good idea. As a result I have to ask, can I tighten the privilege even further such that the only privilege so given was to run �yum update� and nothing else? (for example if they ran �yum install� it would fail). If you can do it, how?
Last, I was going to limit the privilege, time wise and try wise, by adding the following to the sudoers file:
# Defaults specification
Defaults:Troy timestamp_timeout=0, passwd_tries=3
Will that really work to limit the elevated privilege so I don't have elevated privileges lingering about, or is there a better way to do so?
View 3 Replies
View Related
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
Jan 19, 2010
There is problem with Adempiere(opensource framework based on Java Platform) framework on ubantu9.04,as the last character get blurred in every text field.Sometimes total word became unclear.I have tested this framework with other flavor of linux,it works fine. As this is not error there is no log and I am unable to find the entry point,to search about this problem.I tried changing the the themes,changing the java version,but it wont worked.
View 1 Replies
View Related
May 3, 2010
I just recently installed openSUSE 11.2 (KDE desktop). Like some others, I'm having trouble getting apps working with my iPod Touch. So far, I've tried two apps: amarok and gtkpod. Neither one seems to detect my iPod. When I connect the iPod to my computer, I get a popup indicating that some type of camera has been connected. Also, when I look at dmesg's output, I see stuff related to the iPod (Apple info) and no errors as far as I can tell. But I don't see any device file for it (either under /dev or /media).
View 7 Replies
View Related
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
Sep 25, 2010
I was trying to remotely log in to my desktop which uses 11.3 from my laptop via ssh. For some reason I get an empty field for the command echo $DISPLAY. and as a result an xclock command results in error: can't open display. I tried to set it to localhost:10.0 and I get: Error: Can't open display: localhost:10.0
I've tried :0.0 and I get: Invalid MIT-MAGIC-COOKIE-1 keyError: Can't open display: :0.0 ssh used to work about a week ago before I performed various security updates. I was wondering what' the solution to this. I checked the /etc/ssh/sshd_config file and ssh_config file both have X11 forwarding on. Can anyone with more experience out there give me any ideas?
View 9 Replies
View Related
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
Jun 25, 2010
FreeNX server is SUSE 11.2 /(i586)
Cliente is windows 7 (64)
NX> 148 Server capacity: not reached for user: usb
View 4 Replies
View Related
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
Dec 8, 2010
I've been a distro-hopper for a while and just installed FC14. I like it and it seems very stable on my older Presario laptop (2170us with 1-Gig Memory and 80-gig HDD).In other distros, I was able to open a Terminal, type "su" & <password> then type "gedit" and take care of things like the Workgroup name in Samba, adding a user to sudoers, etc.....but in FC14's Terminal, typing "su" & <password> and then "gedit" results in all kinds of error messages (that I can't recall right now). I did find after typing "su" & <password>, that if I then typed "sudo gedit", gedit opens just fine.I had tried to type "sudo gedit" (before trying "su") but was told I wasn't in sudoers.I suppose it's minor for someone like me who can eventually find a way around it...but why won't gedit open when I'm a superuser by just typing "gedit"?
View 3 Replies
View Related
Nov 25, 2010
I try thus Ubuntu Linux Server edition 10.10. I have installed it on a Virtual machine but don't know how to open GUI (Windows mode) in linux. What is the command for that or do i need setup anything more?
View 2 Replies
View Related