[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: su/sudo cannot X



theo wrote:
> Hi,
> 
> 
> Lei Kong wrote:
>>> $xhost +
>>> $ sudo -s
>>> #kedit 
>>> kedit: cannot connect to X server
> You may want to try
> sudo -H kedit
> or reconsider using X applications as root.
> 
> You can also try
> sudo -H bash
> or
> sudo -H xterm
> if you want a root shell able to use X apps.



Or you can try "sux"




# apt-cache show sux
Package: sux
Priority: optional
Section: admin
Installed-Size: 64
Maintainer: Millis Miller <millis@faztek.org>
Architecture: all
Version: 1.0.1-3
Recommends: xbase-clients
Filename: pool/main/s/sux/sux_1.0.1-3_all.deb
Size: 8560
MD5sum: 868e114a14297b521a55a329c45c7d3b
Description: wrapper around su which will transfer your X credentials
 Sux is a wrapper around the standard su command which will transfer
 your X credentials to the target user.
 .
 http://sourceforge.net/projects/sux/
 ( from http://fgouget.free.fr/sux/ )
Tag: admin::login, interface::commandline, security::authentication,
use::login, x11::application

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: