Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gksu problem

Status
Not open for further replies.

scienzia

Programmer
Feb 21, 2002
160
IT
I installed debian from scratch. Everything is fine, except that I can't run any appliation that needs root access with gksu.
Here is the error I have:

@:/tmp$ gksu xterm
/usr/X11R6/bin/xauth: (argv):1: bad display name ":0" in "list" command
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s


If I login as root, and try "gksu -u myuser xterm" I get the same error.

Thanks in advance
 
These are the files (I removed the comments):

/etc/X11/xdm/Xservers :

:0 local /usr/X11R6/bin/X vt7 -dpi 100 -nolisten tcp


/etc/kde3/kdm/Xservers :

:0 local@tty1 /usr/X11R6/bin/X -nolisten tcp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top