tightvnc, root, and debian

From: Mauricio Tavares (raub_at_ufl.edu)
Date: 10/03/05

  • Next message: mess-mate: "compiling gcc"
    Date: Mon, 03 Oct 2005 09:47:43 -0400
    To: debian-user@lists.debian.org
    
    

         I am trying to access a debian 3.1 box through vnc and run x as
    root while there. But, I am not having much luck. Here's what I am
    doing: first I start vnc (using the tightvnc package):

    raub@lincoln:~$ uname -a
    Linux lincoln 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686 GNU/Linux
            raub@lincoln:~$ vncserver :2

    New 'X' desktop is lincoln:2

    Starting applications specified in /home/raub/.vnc/Xsession
    Log file is /home/raub/.vnc/lincoln:2.log

    raub@lincoln:~$ echo $DISPLAY
    :2.0
    raub@lincoln:~$

    Then, I vnc to the machine. I have no problems doing that. Then, I pop
    a terminal, check if I can pop a xclock (no problems here either).
    Finally, I su and the try once again xclock:

    raub@lincoln:~$ su
    lincoln:/home/raub# echo $DISPLAY
    :2.0
    lincoln:/home/raub# xclock
    Xlib: connection to ":2.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    Error: Can't open display: :2.0
    lincoln:/home/raub# exit
    raub@lincoln:~$

    In .vnc/lincoln:2.log,

    AUDIT: Mon Oct 3 08:05:03 2005: 15187 Xrealvnc: client 16 rejected from
    local host
       Auth name: MIT-MAGIC-COOKIE-1 ID: -1
    AUDIT: Mon Oct 3 08:05:35 2005: 15187 Xrealvnc: client 9 rejected from
    local host
       Auth name: MIT-MAGIC-COOKIE-1 ID: -1

    Why is it being rejected? Anything I need to do in my ~/.Xauthority?

    -- 
    Mauricio                                raub-kudria-com
    (if you need to email me, use this address =)
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: mess-mate: "compiling gcc"

    Relevant Pages

    • Re: VNC causes 90+% CPU load
      ... VNC the CPU usage stays at 90+% permanently! ... The FreeNX client, KNX is not as good as their own IMHO: ... I want to display the CURRENT desktop display back to ... the remote computer like I can with a VNC session. ...
      (alt.os.linux.suse)
    • Re: PsychTest
      ... I'm doing that with an IOGear USB KVM, two desktops, a laptop and a ... Again, look at VNC. ... you'll never go back to a single display! ...
      (sci.electronics.design)
    • Re: [SLE] VNC, Suse 9.3 & internal network
      ... VNC, ... administration via ssh. ... My server is named 'skyline'. ... kill the server and set the default display manager to kde or your preferred ...
      (SuSE)
    • Re: Configuring GNOME to automatically start screensaver after user logged in - Fedora Core 6
      ... I have considered VNC and have successfully configured it. ... only deals with virutal displays and I require the real X display. ... I'm trying to configure Vino (GNOME Remote Desktop) on a computer I ...
      (linux.redhat)
    • Re: X Windows on remote client?
      ... X and VNC work in rather different ways. ... An X server serves display ... the X server runs on the machine that has ... remote machines use a VNC client to attach to ...
      (comp.os.linux.x)