Posted on 2004-11-08
I get the following message when I attempt to start an X session from a kde konsole session under either a user or root account: "Cannot connect to X server 0:0"
I have read that typing "xhost local:" or "xhost +" would resolve this, however whenever I execute either of those commands (as root OR as a normal user), I see "xhost: unable to open display 0:0"
This apparently results in some console apps like "vi" to take very long to invoke, apparently because of a problem with XDM or whatever.
This is with a harddisk install of knoppix 3.4 (a debian flavor of linux). Funny thing is that I can start (with no problems) X apps with the "run dialog" hitting alt-F2, or from menu. And I dont get the errors when I type vi from a fullscreen console session. Furthermore this problem does not happen when knoppix is run as a bootable CD (LiveCD), only after being installed to harddrive.