PDA

View Full Version : "No protocol specified" error w/X11


dorkus
01-24-2003, 05:49 PM
hi all,
i just installed Apple X11 on my powerbook (new 12" model woohoo) and am having a problem, the xserver seems to be refusing any connections whatsoever. i've tried all manners of DISPLAY env var (none, localhost, physical IP) but no luck:

% xhost +
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display ":0.0"
% export DISPLAY=localhost:0.0
% xhost +
Xlib: connection to "localhost:0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display "localhost:0.0"
% export DISPLAY=172.16.2.143:0.0
% xhost +
Xlib: connection to "172.16.2.143:0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display "172.16.2.143:0.0"


this is from the xterm started by default when launching X11.

any ideas?

thanks,
dorkus

dorkus
01-24-2003, 06:37 PM
i'm a total moron. don't ask me what was wrong with my config you will all call me a retard and drive me off the site.

thanks anyway,
dorkus <-- living up to his name

fidlekid
01-30-2005, 01:37 PM
hey,

so.. what was the problem? im having the same error trying to set up a second session on screen :1.
would be really cool if you could help me out.

Alex

dorkus
01-30-2005, 06:57 PM
it turns out my problem was an incorrect $HOME path in my bash .profile. i had copied my profile from another server i use so the $HOME was wrong. i'm not sure why this results in incorrect protocol, but that was my issue... not sure if this is your problem though.