View previous topic :: View next topic |
Author |
Message |
ealfert Tux's lil' helper
Joined: 17 Jul 2002 Posts: 86 Location: Weston, FL, US
|
Posted: Wed Jul 24, 2002 1:36 pm Post subject: xdpyinfo (can't run command) |
|
|
I'm trying to get information about my currently running session.
Code: |
# /usr/X11R6/bin/xdpyinfo | grep dimensions: | awk '{print $2}'
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
/usr/X11R6/bin/xdpyinfo: unable to open display ":0.0".
|
i also tried
Code: |
# /usr/X11R6/bin/xdpyinfo -display <everything i could think of>
|
Any ideas (i did read the SHORT man page...not very helpful)? _________________ Edward Alfert
RootMode, LLC
http://www.rootmode.com/ |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Jul 24, 2002 1:54 pm Post subject: |
|
|
This means that the client does not have permissions to connect to the X server (running as a user, I guess). You can either:
xhost + localhost
from a user console. This will allow ALL local clients to connect.
If you are a bit paranoid, copy the .Xauthority file from the user to the root home directory and you'll be set (you can chmod og-r this file to prevent others from having read access to it after you copy it over). |
|
Back to top |
|
|
ealfert Tux's lil' helper
Joined: 17 Jul 2002 Posts: 86 Location: Weston, FL, US
|
Posted: Wed Jul 24, 2002 3:24 pm Post subject: |
|
|
thank you... it worked... i followed the non-paranoid option. _________________ Edward Alfert
RootMode, LLC
http://www.rootmode.com/ |
|
Back to top |
|
|
|