Click to See Complete Forum and Search --> : in X yet programs can't connect


vrek
08-07-2003, 01:32 PM
Hey,
I re-installed linux to clean it up. Once I got everything up and running I tried starting some programs that require X from a console. Unfortunitly I got it can't connect to 0:0. This is the same if you try to open from a real CLI(thats normal). If I try to start it from a menu (this happens in KDE and fluxbox.) and it works perfectly. What is wrong? As far as I know everything is set up right and the WM is started from XDM(not the best but more important things to set up at the moment).

Hayl
08-07-2003, 02:00 PM
as the same user that you are logged into X with?

vrek
08-07-2003, 02:11 PM
yes

Hayl
08-07-2003, 02:22 PM
try xhost +localhost

and then try loading an app from cli.

vrek
08-07-2003, 02:52 PM
thanks that worked. Will I have to do that every time I start X?