On Sat, 2004-02-07 at 08:48, riki wrote:
> Oh, I've got a followup question.
> 
> If I'm logged in as a regular user, I open up a terminal, su to root, 
> then try to launch emacs. I get the following error:
> 
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified.
> 
> Also, the path, when I su in, is not set properly. I suspect the other 
> environmental variables may be off as well.
> 
> What's the best way to fix this.
> 
> -Rich-
> 
> On Feb 7, 2004, at 12:42 AM, riki wrote:
> 
> > Ok, I've successfully installed gentoo, including setting up kde and 
> > gnome.
> >
> > However, I'm still having some problems, specifically:
> >
> > 1) I can't mount my cdroms or floppies without su-ing to root first. I 
> > thought I just needed to change the permission of the /mnt 
> > directories--but when I ran chmod, the changes didn't have any effect. 
> > I'm sure I'm just missing something simple here.
> >
> > 2) I've manually set the settings for my network card. Works great, 
> > but every time I reboot it loses track of the default gateway. Once I 
> > run "route add -net default gw xxx-xxx-xxx-xxx" it works fine--until I 
> > reboot again. How do I fix this?
> >
> > Hmm. Those are the two big issues. Sound's not working, but I know 
> > from past experience it can be a pain in the butt to set up properly. 
> > So I'll wait until I have a good afternoon free before tackling it.
> >
> > -Rich-
> >
> >
> > --
> > [EMAIL PROTECTED] mailing list
> >

For this use "su -" instead, it will set the environment up as though
root has logged in directly.  Also, before you su, issue "xhost
+localhost" to allow root apps access to your xserver.  This does of
course have some security implications...

-- 
Tom Wesley

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to