tightvnc, root, and debian
From: Mauricio Tavares (raub_at_ufl.edu)
Date: 10/03/05
- Previous message: Marcelo Chiapparini: "RE: 3dfx graphic card"
- Next in thread: Antony Gelberg: "Re: tightvnc, root, and debian"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Marcelo Chiapparini: "RE: 3dfx graphic card"
- Next in thread: Antony Gelberg: "Re: tightvnc, root, and debian"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|