You are not logged in.
Hi all,
I just installed GNOME after already having XFCE, but in GNOME, the x apps launched from terminal do not work. I receive this error:
No protocol specified
(terminal:8918): Gtk-WARNING **: cannot open display: :0I also tried export DISPLAY=:0.0, and that didn't work either. Any thoughts?
Last edited by sunnieside-up (2011-10-15 11:24:24)
Offline
xhost +local: Have you tried that?
http://www.backtrack-linux.org/forums/b … 0-0-a.html
I just did a google search, I'm not sure how to solve it but that might be of some help anyway.
Offline
doing that gives me an error:
xhost +local:
No protocol specified
xhost: unable to open display ":0"Last edited by sunnieside-up (2011-10-14 23:19:52)
Offline
Maybe https://bbs.archlinux.org/viewtopic.php?id=122848 will help.
Are you trying to run these apps as root?
Offline
I'm just trying to run them as a normal user, but sudo [application] doesn't work either.
Offline
[me@mycomputer ~]$ echo $DISPLAY
:1I've never deliberately changed this setting, so I assume it is the default for my Arch. Using single monitor, nvidia proprietary driver. Qingy and openbox.
Edit: Starting X on :1 rather than :0 appears to be a qingy feature, so if you're not using qingy it doesn't apply. Sorry.
Last edited by sonoran (2011-10-15 06:12:09)
Offline
Yeah, I tried that and it still didn't work. I also tried su -, then attempting to open an x app, but same results, it didn't work.
Offline
Oh I managed to solve the problem! I was exporting the XAUTHORITY variable to /home/(user)/.Xauthority for use with KDE before, but I guess that doesn't work with GNOME. So I removed it, and all is well!
Offline