Aomighty Posted August 4, 2005 Report Share Posted August 4, 2005 Btw, I'm using Debian, though I don't think that would change anything here. If you want to move the topic that's fine by me. Every time I try to start Firefox, Thunderbird, or any app that i start from konsole (I apt-getted them), I get the following error: Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key (firefox-bin:2815): Gtk-WARNING **: cannot open display: Doing some googling, it appears that using xhost +username or xhost +hostname (I assume that's the hostname you gave during install, right?) should fix it. I have tried this (as root as well) with X both not running and running, and it didn't seem to fix it. If I run "startx" it works fine. Not sure why it wouldn't be running that anyway though... When I installed Debian, I installed it with a minimal install, only installing the bare necessities of what I needed at the time, hoping to avoid bloat. Just wondering if a package could be missing or something. Thanks all! [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
aRTee Posted August 4, 2005 Report Share Posted August 4, 2005 You can try, after logging on and on an xterm/konsole xhost + and then try again. Quote Link to comment Share on other sites More sharing options...
arctic Posted August 4, 2005 Report Share Posted August 4, 2005 hmmm... sounds as if you haven't the gtk2-libraries installed that are necessary for firefox. and check for user permissions. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 4, 2005 Report Share Posted August 4, 2005 (edited) Yeah, surely enough there are GTK2 libs missing... or maybe libstdc- something. If you have some debugger installed (strace or whatever) you can try running Firefox thru the debugger- it will give a better view about what's missing. Edited August 4, 2005 by scarecrow Quote Link to comment Share on other sites More sharing options...
Aomighty Posted August 5, 2005 Author Report Share Posted August 5, 2005 (edited) Thanks all. I've got it working by installing libstdc++6. However, I now have one other problem, which is with display managers. If I start xdm, it will always prompt me for a username and password, however, since I'm the only one using the computer, I want auto-login. So I resort to kdm. When I start kdm, even though I have it all configured to auto-login and all (as well as using dpkg-reconfigure to make sure it's starting kdm and not xdm), all it gives me is a little console prompt in a white box (a screenshot is included). If I type startkde it works like normal, but I have to keep the box open or KDE will close. What am I doing wrong with the kdm config? , or am I doing anything wrong at all? Just thought it might be related :). Edited August 5, 2005 by Aomighty Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.