Ive read and read the forums and tried and tried other suggestions but none of them worked for me. I am trying to run gtkpod as root(nevermind why, I just need to) but I get the error: Gtk-WARNING **: cannot open display:

I also get this error if I try to run any GUI application as root from the terminal.

I had this problem before and the xhost + command fixed it, but that fix is no longer working. I used to be able to run GUI apps as root but I did something and ended up taking the "video" group away from root. I added it back in and its still not working. Can anyone help? Below are some commands I've tried with the results.

Ive also tried logging in as root into the Xwindow(KDE) and got the same errors.

I've been using some of your scripts and your slackbuild page as reference point to introduce myself in Slackware world.

I had been obtaining this problem also, and with your post it was totally solved, Thanks a lot (again :)). I have just one question, is it probably some type of intrusion that change this (not be able to run any xserver app as root) in my slack? I was wondering this because, I had my slackware functioning perfectly well, and just from one day to another I begun to get this problem. I just was a little worried by what produced this behaviour in my slack. (???)

Something else, I have slackware 12, not and old one, but the command sudo doesn't function if I don't "feed" the sudoers file; however, a lot of people cite use of sudoers in slackware without problem, I don't understand what I am missing (???). In particular, your sudo line didn't help me, I had to login as root, put the .Xauthority, and then logout again. Did it I well?

Thanks, bye.

caduqued

T3slider

05-05-2008 10:22 PM

`su -` will get you to login to a full root shell. Try that instead.

nitrofurano

01-03-2013 04:11 AM

but this solution is temporary... :S

Quote:

Originally Posted by Alien Bob
(Post 2395576)

You forgot to set the DISPLAY variable. It is empty and your app does not know where to display.

hi Eric,
this solution works fine when temporary, but it doesn't works after then next login - how can i have it working after a boot, just like i have not such problems after a fresh install? (i'm using Crunchbang-Debian distro, upgraded to Wheezy)
thanks!

Alien Bob

01-03-2013 04:15 AM

Quote:

Originally Posted by nitrofurano
(Post 4861870)

hi Eric,
this solution works fine when temporary, but it doesn't works after then next login - how can i have it working after a boot, just like i have not such problems after a fresh install? (i'm using Crunchbang-Debian distro, upgraded to Wheezy)
thanks!

First: this is a 5-year old thread and you should not dig it up from the grave, it is considered rude.
Second: this is a Slackware forum.

Please open your own new thread in a Debian forum here on LQ.

Eric

nitrofurano

01-04-2013 06:54 PM

Quote:

Originally Posted by Alien Bob
(Post 4861871)

First: this is a 5-year old thread and you should not dig it up from the grave, it is considered rude.
Second: this is a Slackware forum.

Please open your own new thread in a Debian forum here on LQ.

Eric

i really can't understand it: why is it considered rude, if the problem may still exist on most of people (like me), this thread was actually started (and there was no meaning for bloating this forum with this same question), and the answer provided here where not really useful yet? isn't this a valid reason for keeping this thread "alive"?

(thanks saying this honestly in this way, Eric: for understanding why "digging old threads from the grave" is that rude, i should understand why (and i really can't, sorry...), and not taking it as rude just because someone is saying, isn't it? so, do you think i should believe on what everybody says without a valid explanation, even those people that sells snake oil?)

btw, i'm not only a Debian user, i also use Puppy and TinyCore a lot, even Slax (based on Slackware), so i though this very concerning question is actually related to all GNU/Linux distros - and after searching from google/duckduckgo/etc..., i really can't find further started threads like this one! :)