On 02/20/2011 02:15 PM, Mag. Dr. Nikolaus Klepp wrote: > Am Sonntag, 20. Februar 2011 schrieb Paul Cartwright: > >> On 02/20/2011 01:58 PM, Mag. Dr. Nikolaus Klepp wrote: >> >>> oh, i overlooked that tart with ":1.0". try this: >>> >>> $ xhost + >>> $ su >>> # DISPLAY=:0 synaptic >>> >> # DISPLAY=:0 synaptic >> Invalid MIT-MAGIC-COOKIE-1 key >> (synaptic:10481): Gtk-WARNING **: cannot open display: :0 >> >> maybe I should reinstall synaptic.. >> > sorry, forget the last mail, you'r sitting in front of the box, so it's > easier: > > $ echo $DISPLAY > > this gives a thing like ":0" or something > > # DISPLAY=<that thing you got> synaptic > > # echo $DISPLAY :1.0 # DISPLAY=1.0 synaptic (synaptic:15881): Gtk-WARNING **: cannot open display: 1.0 but: $ sux - (enter root password) # synaptic DOES WORK. -- Paul Cartwright