Re: Simple little basic config questions

From: Haines Brown (brownh_at_hartford-hwp.com)
Date: 10/30/03

  • Next message: Bob Hentges: "dpkg problems after the server broke down; /var folder gone"
    To: debian-user@lists.debian.org
    Date: Thu, 30 Oct 2003 06:30:14 -0500 (EST)
    
    

    > No, I think if you had actually started X as root then you certainly
    > would have an appropriate $DISPLAY. The issue is not really rootness,
    > it's that $DISPLAY is set in the environment of the X session which is
    > run as the user who started X, and .Xauthority is in the home directory
    > of the user who started X, and it's quite easy to lose all that when
    > changing users. 'sux' is not a workaround, it's a valid solution.

    I notice that .Xauthority in /root has zero size. If it is going to
    authenticate root for the x server, I should think there would be
    something in it.

    When you say "changing users," do you refer to logging in as user and
    then running "su - root"? I assume virtually everyone does this
    regularly and successfully, and so I assume my inability to do it is a
    sign that I need to do a fix.

    For years I didn't "loose all that", but could "su - root" as I
    needed. I still don't know whether my system's busted or if it is me
    ;-) That is, is "loosing all that" a natural occurance or a flaw in my
    setup?

    I presume every debian user who is both user and administrator of his
    machine (probably the majority) will occasionally want to su to become
    root (I assume everyone does that regularly). Certainly they all don't
    have Sux installed.

    I appreciate that one does not want to run as root, but I do it when
    installing a new system or retreat to it when user's account ceases to
    function.

    Haines

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Bob Hentges: "dpkg problems after the server broke down; /var folder gone"

    Relevant Pages

    • Re: [SLE] crontab script has X server problem
      ... I have the export $DISPLAY:1.0 in the script. ... > the crontab is executed and anyone else in logged in. ... X restricts the display of applications to users ... other than root is logged in, then root can't use the display unless ...
      (SuSE)
    • Re: root user, graphical programs
      ... To install Matlab, ... matlab install program as root. ... I still get Can't open display. ...
      (freebsd-questions)
    • Re: X windows not working for root user
      ... > I have installed a new debian KDE distribution. ... > I then open a shell and use 'su' to change to root. ... inter face user has access to the display. ...
      (comp.os.linux.development.apps)
    • <2003-08-15> Alle Macht dem User
      ... Was ist so besonders an Root? ... Programme ohne Rootrechte können keine systemweiten Schäden anrichten. ... User mit dem Befehl "xauth extract schluessel $DISPLAY" in einer Datei ...
      (de.comp.os.unix.linux.infos)
    • <2003-08-15> Alle Macht dem User
      ... Was ist so besonders an Root? ... Programme ohne Rootrechte können keine systemweiten Schäden anrichten. ... User mit dem Befehl "xauth extract schluessel $DISPLAY" in einer Datei ...
      (de.comp.os.unix.linux.infos)