----- Forwarded message from Billy <[EMAIL PROTECTED]> -----

Date: Tue, 4 Jan 2000 11:34:25 +0300
From: Billy <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Xfree su pbl for x-progs
X-Mailer: Mutt 1.0us
In-Reply-To: <000201bf430d$ef857540$[EMAIL PROTECTED]>; from 
[EMAIL PROTECTED] on Fri, Dec 10, 1999 at 01:56:11PM +0100

        Hi all!
        I'v faced a strange pbl with X.
The plb is, whan i try to start some suided program i have message like this:
for example i do $su and try to run some prog wich must be run from root.

billy@dima 11:23:14 /$ su
Password: 
root@dima 11:23:20 /# printtool 
Xlib: connection to "unix:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Application initialization failed: couldn't connect to display "unix:0.0"
-------the error is above this line---------------------------------------
Couldn't load bindings.tcl
Start from control-panel or set environment variable
CONTROL_PANEL_LIB_DIR to the control-panel library dir.
(normally this is /usr/lib/rhs/control-panel)

Or suided mtvp for fullscreen mode shows this:

billy@dima 11:29:55 mpegs$ ls /usr/X11/bin/mtvp 
-rwsr-sr-x    1 root     root       732084 ���  7 13:32 /usr/X11/bin/mtvp

billy@dima 11:26:58 mpegs$ mtvp -df xxx.mpeg 
You must be root to set a fullscreen mode
mtvp: cannot use fullscreen
mtvp: You must be root (or mtvp must be set-uid root) to use fullscreen
mtvp: For set-uid root, become root and use the following commands:
mtvp: $ chown root mtvp; chmod +s mtvp
mtvp: Then restart the program and try again...
mtvp: Note: set-uid programs may create security holes
mtvp: and should not be used (unless necessary) on secured systems
mtvp: For details, read the README-Fullscreen file.

But it runs whan i start X as root and it run whan i used RedHat 6.1 and
startted it as normal user (the mtvp binary was suided)

I suppouse the pbl lies in X itself.
        Billy.
 

----- End forwarded message -----

Reply via email to