OpenSUSE :: Getting "cannot Connect To Xserver" With Sudo

Jan 16, 2009

when I open bash and enter the following:-

sudo kwrite /etc/fstab

I get the following error:

kwrite: cannot connect to X server

This happens for anything opened with sudo, does anyone perhaps know of what is wrong? This is a new installation of openSUSE 11.1

View 5 Replies


ADVERTISEMENT

Ubuntu :: Sudo Dpkg-reconfigure -phigh Xserver-xorg Not Working?

Jan 4, 2011

ive been having trouble with my nvidia driver, so i ran "sudo dpkg-reconfigure -phigh xserver-xorg" in tty(the problem is that it wasnt going to my login screen, as soon as i turned on it went to tty) after i ran that it goes to theubuntu loading screen and is frozen

View 1 Replies View Related

Slackware :: Fluxbox Not Starting - Error - Couldn't Connect To XServer

Sep 7, 2010

I've just recently install slackware 13.1 on IBM R40e laptop but every time i try to start fluxbox with
startfluxbox it just comes up:

However xdm works.

The specs of the computer:
IBM R40e 2684 L9G
2.4GHz Intel celeron processor
128MB ram
ATI radeon 330M 16MB integrated
30GB hard drive
DVD rom drive

I'm not sure if it's of any use but here's my xorg.conf file:

Code:

View 3 Replies View Related

General :: Xinit: Permission Denied (errno 13): Unable To Connect To Xserver

Jul 7, 2011

I am unable to start my xserver, using the startx command that I have been using for the past 5 years. It goes to the blue loading screen with the x for a cursor, hangs there for about a min or so then goes back to the command screen. I get an error:

Code:

giving up. xinit: Permission denied (errno 13): unable to connect to xserver waiting for xserver to shut down xinit: Server error.I have tried logging on as root and trying startx again. Same error.

View 2 Replies View Related

OpenSUSE Install :: Xserver Seems To Crash Spontaneously?

Oct 12, 2010

my OpenSuse 11.3 worked absolutely perfect - till now ! It suddenly started not to load KDE, but instead prompts the login screen. When i then log in, it just crashes after a minute or so. I tried to boot in IceWm and it appeared more stable to me, but when i opened a programm like firefox or gimp, this Environment crashed too.

View 4 Replies View Related

OpenSUSE Multimedia :: Xserver Resets After The Reboot?

Jul 15, 2011

I have a Geforce GTX 460 GPU and I recently switched from Ubuntu to Suse 11 and I have installed the latest Nvidia drivers (the same as I had on Ubuntu) In Ubuntu I had configured the xserver to display my desktop on my LCD monitor and my LED TV as clones and everything worked fine When I change the settings in Suse everything works fine until I restart the Xserver. All my settings disappear and everything is back to the standard settings again. It doesn't seem to make any difference whether I have root privileges or not, and I have tried saving to etc/X11/xorg.conf., etc/X11/xorg.conf.install, etc/X11/xorg.conf.backup but each time I reboot everything is back to the default settings again. In Ubuntu I just saved the new settings to etc/X11/xorg.conf. and restarted the Xserver and all was fine.

Here is a copy of what I saved to the X config file:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 270.41.06 (buildmeister@swio-display-x86-rhel47-07.nvidia.com) Mon Apr 18 15:15:00 PDT 2011
Section "ServerLayout"

[code].....

ERROR: Invalid display device DFP-2 specified on line 56 of configuration file '/root/.nvidia-settings-rc'(the currently enabled display devices are DFP-0 on linux-c0rf:0.0). and all the settings are defaulted

View 1 Replies View Related

Ubuntu :: Sudo Could Not Connect To Database?

Jan 16, 2010

I have a strange thing happening when I use the sudo command. I'm getting "Could not connect to database" every time I use the sudo command.I don't have the slightest clueThe sudo command works but it gives this phrase.

View 9 Replies View Related

OpenSUSE Hardware :: Logging Out Of The Xserver Without Warning After Screen Saver Mode Or Lid Closed

Oct 8, 2010

One very specific issue regarding KDE in OpenSuse 11.3

- when I close the lid of my laptop or get into a screen saver mode, sometimes when the xserver comes back to life it basically goes back to the KDE login menu (log out) without any warning...

I have looked at the detailed settings and power performance management but nothing there.... I am in fact in "don't do anything" mode (power management) but this does not seem to do much.

View 6 Replies View Related

OpenSUSE Install :: Starting Xserver After Upgrade / Error Message That Current Kernel Can Not Be Loaded?

May 21, 2011

I was about to do upgrade from 11.3 to 11.4.I was following the guide I found in opensuse's website. I was to the point where I had to disable all 11.3 repositories and add the 11.4 at that point I forgot to change my nvidia repository ( I have a g210m graphic card).

thus after the upgrade the X could not start at all. I think this was because Yast could not find the nvidia driver.

Using text mode YaSt2 I added the nvidia driver but after restart I can not see and X running. I receive an error message that the current kernel can not be loaded!!!

I also checked in command line if there is something like Sax2.. but I couldnot find anything.

View 6 Replies View Related

Ubuntu Networking :: Sudo Iwlist Scan Works But Cannot Connect To Network Using Network Manager

Jun 14, 2010

I have used ubuntu in the past but had a lot of hardware issues with it and unfortunately moved back to windows (( BUT i have tried Ubuntu again and all seems to work great except wifi My wifi connection is sort of working because when i run SUDO IWLIST SCAN it does pull up all available networks. But in the network manager icon on the panel i left click but i see no networks and can't connect to anything. I WOULD LOVE TO keep Ubuntu and use it permanently but I must get wifi working or else this won't be possible.

View 4 Replies View Related

Ubuntu :: Sudo Ifconfig Eth0 Down Vs Sudo /etc/init.d/networking Stop

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

Software :: Pam_start Error 26 \ Use Sudo Su And Add An Account To A Group What's Allowed To Use Sudo?

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

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

OpenSUSE Install :: No XServer After Fresh 11.2 Install

Apr 18, 2010

after the install with kde selected i get a command line however typing startx tells me no startx installed, startkde says "$DISPLAY is not set or cannot connect to the X server."

hwinfo --gfxcard says
Hardware Class: graphics card
Model: "Trident Microsystems 9910"
Vendor: pci 0x1023 "Trident Microsystems Inc."
Device: pci 0x9910 "9910"
SubVendor: pci 0x1179 "Toshiba America Info Systems"
SubDevice: pci 0x0001
Revision: 0x63

laptop is a tecra 8200 and the graphics card is actually "Trident Microsystems CyberBlade XP" not sure of that is the problem or what to do about the whole thing

View 9 Replies View Related

General :: Sudo Cd /root Gives Sudo - Cd - Command Not Found

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

OpenSUSE :: Kdesu Not Using The Sudo?

Feb 5, 2011

I'm on KDE 4.4.4 and kdesu doesn't use sudo -- at least it's still asking for a password when I have the appropriate NOPASSWD line in /etc/sudoers (checked with command line). I'm following instructions here, Default kdesu to use sudo and not su | Free Techie Blog

View 2 Replies View Related

Ubuntu :: Make Sudo Act More Like The Debian Sudo?

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

OpenSUSE :: Sudo: (whatever): Command Not Found?

Jan 17, 2009

I try to run a command located in /sbin or /usr/sbin using sudo, like "sudo ifconfig" or "sudo tail -f /var/log/messages", it comes back with "command not found". If I perform a "sudo -i" and drop to a root shell that way, the commands work fine. My sudoers file is as follows:

Code:
Defaults always_set_home
Defaults env_reset

[code].....

View 9 Replies View Related

OpenSUSE :: Can't Execute Some Command With Sudo?

Nov 29, 2010

I would like to have an user that can execute al command with sudo.I configured sudo with yast2 and in the sudoers file actually there is a line with:USER ALL = (ALL) ALLWhere user is my username.But I can't use some command like ifconfig becouse it say that it can't find the command. I think that this is becouse of path, but shouldn't i get root path using sudo?

View 3 Replies View Related

OpenSUSE :: How To Change Sudo Password

Jun 6, 2011

Is there a way to change the sudo password after installation has taken place? I know you can change the user password via that box in 'About me' but that still leaves behind the old sudo password.

View 1 Replies View Related

OpenSUSE Install :: Any Way To Disable SU And Only Use Sudo

Aug 12, 2010

I am wondering what the easiest way for me to disable su and perform all root stuff using sudo, the way Ubuntu works. I am using a shared system, openSUSE 11.3, and notice that the only item that gets logged in su is who su'd. I need more information and sudo + command gets logged to /var/log/messages so I can see who did what and when. How can I get openSUSE 11.3 to work similiar to Ubuntu when it comes to running elevated commands or editing files that a normal user doesn't have rights to?

View 9 Replies View Related

OpenSUSE Multimedia :: PS3 Media Server Connect / Unable To Connect To The PS3?

May 4, 2010

I'm trying to setup PS3 media server on my new OpenSuse 11.2 and I'm being unable to connect to the PS3. The multimedia server seems to being working ok, only it has not appear on XMB.

I've been searching on PS3 Media Server forums and try a couple of solutions regarding /etc/hosts and adding full qualified domain name of server to it, but it doesn't seems to work.

View 9 Replies View Related

OpenSUSE :: Wireshark - Unable To Start In Sudo

Sep 14, 2010

Install wireshark and added it to visudo. But wireshark refused to start in konsole

Code:

# sudo wireshark

(wireshark:7493): Gtk-WARNING **: cannot open display:

However, wireshark will start without problem when in root.

View 6 Replies View Related

OpenSUSE :: Setup The Sudo Insults Command?

Jun 13, 2011

How do you setup the sudo command so that it will insult the user if they enter the wrong password? I know it sounds kind of random, but I found that it was an option while looking up something else. I tried adding "Defaults insults" using visudo, and commenting out "Defaults targetpw" and "ALL ALL=(ALL) ALL", and adding my username as "blank888 ALL=(ALL) ALL" but I still can't get it to work right.

View 9 Replies View Related

OpenSUSE Install :: Change Password Just For Sudo?

Apr 6, 2010

I'm using Debian and openSUSE 11.2 and the sudo-ing is a bit different in Debian. It actually makes more sense to enter your own password like in Debian to achieve sudo status than have to use the root password for sudo status. If I for example would like to give someone on my system sudo rights, I can't give them the root password. Thats just like giving them root access. Or is there a way to change that behavior, or just change sudo password, in openSUSE? Or maybe any other best practice for giving users sudo rights?

View 6 Replies View Related

OpenSUSE Network :: Add Windows AD Group SUDO Rights OS 11.2

Mar 30, 2010

I have joined the domain (server 2003) and can log in consistently now. Now I would like to give all the windows users in on specific group (domain power users) SUDO rights on the machines in question. I have found one way to add users on a pr. user basis, but adding 30 users will take some time.

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

Fedora :: Where SUDO File At / Add Myself As A SUDO'er?

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

General :: What's The Difference Between Sudo Su - And Sudo -i

Jun 19, 2011

It is my understanding that they do the same: they ask for my password (if I am allowed in /etc/sudoers), and give me a login shell as root.

Is there any difference between them?

sudo su -
sudo -i

Also, what's the difference between

sudo su
sudo -s

I think that they both ask for my password, and give me a shell with my old environment variables.

View 1 Replies View Related

Server :: Sudo - Command Can't Run By Sudo

Jun 18, 2010

I am having trouble running commands by using sudo. I configured visudo file with localuser ALL=(ALL) ALL but I can't run any command, it tells me command not found.

View 8 Replies View Related







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