Fedora :: Sudo Loses X Display?
Jan 25, 2009
I'm running Fedora 9, and I've just started getting a problem (it was working the other day), where if I type
sudo su -
then any program which uses X gives an error about not being able to open the display.
For instance:
# gnome-terminal
No protocol specified
cannot open display: Run 'gnome-terminal --help' to see a full list of available command line options.
I've checked the value of $DISPLAY, and it's :0.0, (which is what it should be, and what my non-root user has as $DISPLAY).
I've also noticed, I can "ssh -Y" from my non-user account into root@localhost, and the display works!
View 6 Replies
ADVERTISEMENT
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
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
Jan 23, 2009
I'm trying to install Fedora 10. I'm booting from a CD, and the installation gets as far as those 3 progress bars in the very beginning. As soon as they all load, my monitor goes black and starts flashing a "DVI Input Out Of Range" warning. That's all.
I'm using a
nvidia geforce 8800 gtx
and the Planar PX3611W monitor.
View 3 Replies
View Related
Mar 1, 2009
I am setting up a fresh Fedora 10 install on an older computer for a roommate and have one odd little problem, everything else appears to be working just fine.
The network connection drops after about 2 minutes (somewhere between 90-120 seconds). This only happens in the installed Fedora 10; it does not happen at all when I boot a Kubuntu LiveCD.
Here's what I know:
The machine is a Dell Dimenision 4500, 2.0 GHz, 512Mb ram.
The ethernet card is 21x4x DEC-Tulip compatible 10/100 Ethernet.
Unplugging the ethernet cord and plugging it back in allows the network interface to come back up, grabs the right IP, but only holds it for another two minutes.
ifconfig and route show all the right info while the connection is good, but inet disappears once it goes down.
'ifdown eth0' and 'ifup eth0' do not bring it back up.
Is this a driver issue perhaps?
View 1 Replies
View Related
Apr 3, 2009
By way of background: I've been using Linux since kernel 0.97.something_or_the_other, but I've been using one of the other distros. This is my first crack at Redhat/Fedora.
I'm trying to install Fedora 10 on an old Compaq Proliant 3000, dual P-II 450, Compaq Smartarray 3200, plenty of drive space, 3C905 based NIC, original Compaq CD drive.
The install will boot from the CD just fine, I get the initial graphic menu to select whether to do an install, upgrade, etc.
I select option 1 to install and I get what looks like an ncurses based screen that asks me to select a language, another screen that asks for a keyboard, then a screen that asks me if I want to install from CD/DVD, NFS, local drive, etc.
If I select the CD install option, the next screen complains that it can't find a drive and asks me to either select a driver from a list of drivers or to insert a driver disk. Doesn't matter what driver I select, it always snaps immediately back to the screen that says it can't find the hardware to match the driver. Every time it does this, it's not spinning the CD to read the driver that I've selected.
IF I go for an NFS install, after it asks me the network parms I wind up at that same driver screen with the same results, no matter what I pick it throws me back to the can't find hardware/pick a driver screen. As far as I can tell, the NIC is never actually trying to wake up.
I know the hardware is functional because if I boot from from CD with my usual distro it identifies and starts all the hardware just fine, CD, NIC, RAID, etc.
I can see where it might work to have the necessary driver module for the CD on a floppy, but where do I get the module? I tried mounting the .iso images for the install set on another machine but I don't see anything obvious that looks like modules that I can cabbage onto.
View 1 Replies
View Related
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
View Related
Dec 28, 2009
My computer(DELL Latitude D830) halt itself on Fedora 12. When the problem comes,the LED flash and the whole machine loses respond to what I do.The only thing I can do is push down the power button.This problem mostly occure when I'm running VirtualBox or some programme that read or write disk heavily.I don't know how to debug this problem.Is there somewhere any logs which I could see what actually happened when my computer stops working ?
View 11 Replies
View Related
Mar 27, 2010
My system clock loses about 10 seconds every minute. The hwclock is fine. I've tried different kernel args (clocksource=acpi_pm, nohz=off, highres=off). None of these have any effect. I am running Fedora 11 with kernel 2.6.30-105.2.23.fc11.x86_64 on an AMD Istanbul node (Processor 2439 SE).
View 3 Replies
View Related
Oct 11, 2009
Where is the SUDO file at, and remind me how do I add myself as a SUDO'er?
View 3 Replies
View Related
May 29, 2010
I am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.
The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo
I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?
View 14 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
Oct 3, 2010
I have been using VMware Player for some time to host Fedora VMware images on Windows XP. I have been using Fedora 11 and 12 (both 32 and 64 bit) and recently started to use Fedora 13.
I use as a base the images provided by thoughtpolice. http://www.thoughtpolice.co.uk/
I usually install VMware tools and also keep the images updated (yum update) which sometimes changes the kernel.
I have recently had problems with the snapshots not having a network when I restore them. So far I don't have the problem with Fedora 11 and do have it with Fedora 12 (but used not to). I do have it with Fedora 13.
In each case the problem goes away when I uninstall the VMware tools and comes back when I install them again.
One of the symptoms is that SElinux complains about not being able to do something with /var/run/vmware-active-nics.
It looks to me that something is incorrect in the actions being taken when the snapshot is being restored. It does not happen every time and sometimes the network restores itself.
The network can be restored by rebooting the image.
View 12 Replies
View Related
Jun 29, 2010
I did not have any /etc/X11/xorg.conf, so I read on these forums that system-config-display would create one for me. I ran system-config-display and it created an xorg.conf. But now my display is all messed up!! So, I deleted the xorg.conf and nothing changed. Why on earth would the display still be messed up if I deleted the file that was causing it?? Does system-config-display change somethign else?
View 14 Replies
View Related
Dec 1, 2010
I have installed Fedora 14 Security Spin, and want to display all disks & partitions available in a GUI display. How can I achieve that?
View 1 Replies
View Related
Jun 10, 2010
explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?
Code:
sudo ifconfig eth0 down
sudo /etc/init.d/networking stop
View 3 Replies
View Related
Jan 2, 2011
I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:
Code:
ldd /usr/bin/passwd
and
[code]....
View 4 Replies
View Related
Jan 6, 2011
Kernel 2.6.21.5, Slackware 12.0
Code:
Code:
On the other hand
Code:
So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.
View 3 Replies
View Related
May 31, 2011
I install and update Opera using this method:
[URL]
Works great. I am notified of updates and everything.
Problem is that lately when I run an update to Opera the key is deleted from Software Sources. This happens on several systems (10.04 and 9.10 at least) and happens each time I update Opera.
I install the key again, of course, and the next update deletes the key.
View 3 Replies
View Related
Feb 11, 2011
I periodically lost sound with Debian 6.
Running on an IBM thinkpad laptop.
View 7 Replies
View Related
Apr 17, 2011
After writing a new prompt for Bash, I noticed that one character of my commands were being lost when it wrapped to the new line. Here is an image of the example (I typed 1234567890 over and over):
Here is my $PS1
PS1="
[[e[0;90m]d [e[0m]] [[e[0;90m]$(/bin/ls -1 | /usr/bin/wc -l | /bin/sed 's: ::g') files, $(/usr/bin/du -sh | cut -f1)[e[0m]
[[e[0;36m]#[e[0m]] [e[0;95m]u[e[0;90m]@[e[1;92m]h[e[0m]: [e[1;34m]w [e[1;30m]$[e[0m] "
What have I done wrong?
View 1 Replies
View Related
May 27, 2010
I lost transparent terminal windows in LL after you upgraded, you have fallen victim to the not-too-atypical "Preferences File Use Changed Krap". Essentially when you look at a preferences pane it appears that everything is ok, but actually, the way the preference file is being used changed in this version of Ubuntu and you are being punished for it. We need to get the new version of the program to fix the preference file for us, which is easy enough to do by just making the setting changes again.
So, in Terminal,
1) Go to Edit->Profile Preferences.
2) Pick the "Background" tab. You will most likely see that the "Transparent Background" radio is set, but the background is not transparent.
3) Click on one of the other radios (I did "background image") and the terminal window should become transparent.
4) Click on the Transparent radio again and dismiss the dialog.
View 1 Replies
View Related
Oct 6, 2010
I was happily using Shutter in 9.10 with no problems, but since upgrading to 10.04 there's been a problem with the default save path - every time shutter is restarted, it moves down one notch. If the original save path was /home/vacri/pictures/image-manip, the next time it is /home/vacri/pictures, then /home/vacri, all the way down to just /
Which, of course, it can't write to. Either way, it's not saving screenshots where I want them.
A friend running Mint that's also based on ubuntu 10.04 is having the same issue.
View 2 Replies
View Related
Oct 11, 2010
I just installed ubuntu 10.10 on my notebook, and I had a problem with compiz, it loses the windows borders, when i excecute
Code:
compiz --replace
i get this output
Code:
Starting gtk-window-decorator
compiz: symbol lookup error: /usr/lib/compiz/libdecoration.so: undefined symbol: decor_property_to_quads
View 9 Replies
View Related
May 3, 2011
Every time I load unity - either by rebooting, logging out/in, or just "unity --replace" all my self-placed launchers are gone (just chrome, terminal and a custom launcher for my email) and the LibreOffice ones are back.
I'm assuming this isn't a bug, as here and launchpad would have tonnes of reports of something so obvious if it were affecting everyone, but something local to me.
View 6 Replies
View Related
Oct 28, 2010
i have an ubuntu server box as my gateway and firewall. for days at a time itll run fine, then one or two days out of the week, it will drop connection often because it drops its ip addr. when renew an ip, itll work fine for about 5 minutes and drop again.ive tried different nics, different wire, my logs dont mention anything, my cron files dont have anything suspicious.
View 8 Replies
View Related
Mar 23, 2010
I have an NFS client that loses connectivity with an NFS volume about once a week. The NFS client has several other volumes mounted to the same NFS server but this is the only volume that appears to have problems. It is mounted with these options: intr,rw,rsize=8192,wsize=8192
Before I start messing with the timeout options, what else could I look at to troubleshoot this?
View 1 Replies
View Related
Jul 2, 2011
I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password
View 8 Replies
View Related
Feb 11, 2010
I'm trying out KDE4's activities, but one of the problems I keep having is the Plasma Toolboxes' (cashew) menu loses "Configure Plasma" and "Zoom Out".How do I get to "Configure Plasma" (i.e., Use a different activity on each desktop) when they are no longer on the Plasma Toolbox?How do Activities and Virtual Desktops work together? Do you use one or the other? Or, can each Virtual Desktop have multiple Activities?I'm having difficulties trying this because KDE4 seems to lose the "Configure Plasma" option.
View 3 Replies
View Related
Sep 26, 2010
I upgraded to 3.1.4 about a week ago and have since lost calender functionality on 64 bit ubuntu. Is anyone else having this issue or know the fix?
View 5 Replies
View Related