On Tuesday 03 February 2004 21:10, Merlin Zener wrote: > > Hello good people, I'm trying this ***yet again***. . . > > You may remember I couldn't edit /etc/hosts before with kedit; > someone suggested I try gedit - that didn't work either because it > wasn't there. > > Well now, after finally managing to stay connected long enough to > download it and the dependencies it still won't work. > Here's what I got, just now: > > [EMAIL PROTECTED] merlin]# gedit /etc/hosts > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified > > > (gedit:3156): Gtk-WARNING **: cannot open display: :0.0 > [EMAIL PROTECTED] merlin]# > > I don't understand why this is so hard. > > First, I am running KDE as a desktop - I thought kedit was the KDE > editor? And gedit is the Gnome one? Do I have to be running Gnome > for gedit to work? [I don't see how it would make any difference - > I'm starting it from the text box anyhow...] > > And what's so special about this hosts file that I need to edit it > with a special program? Isn't it just plain text? Or is there some > other issue - do I have to shut down the network first before > editing that file? [I don't know - I'm clutching at straws here...] > If so, how do I do it? > > What I really need, is a clue... > I'm not sure what's gone before, Merlin, but here's my thoughts. Assuming you're using 9.2? Try kdesu That brings up konqueror with root priveleges, I believe. You should then be able to right-click /etc/hosts and edit it. HTH
Anne -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet?
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com