Problems with Apt-Get,
I am currently using xandros (trying to make the Linux learning curve as painless as possible!!), and i know that its a debian based distro so i thought id try apt-get from the console,
apt-get update (and this seemed to work)
then i did,
apt-get insatll synaptic (this too seemed to work)
but when i tried synaptic to run it, i get an error saying,
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
im assuming that the config is missing and the IP address for apt, ???
but if this is the case then how the bloody hell did the update and install synaptic ters work in the first place,
Anyone got any help out there????
When you tried to run synaptic, did you do it from an xterm in wich you su'ed to root?
Debian won't allow programs run by root to access the Xwindow system if X isn't being run by root(i.e.-if you open an xterm, type su, then try to run any x based app you will get an error like the one you mentioned.)
Yeah, i was just trying to run it from a console window and su 'ing, logged in as root proper and ran synaptic, worked graet
xauth merge ~user/.Xauthority (where user is replaced by login name)
NOTE: Security is iffy with all of this. Running X under root is usually bad idea. The two above solutions offer their own problems. Not sure about all the technical details - so a search is prolly better than listening to me babble on. Maybe someone can recommend some better options?
BTW, maybe you should just learn command line apt-get (which you can then sudo) if you're at all worried about security.
|All times are GMT -5. The time now is 10:24 AM.|