Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2015 11:52:07 +0100
From:      Mike Clarke <jmc-freebsd2@milibyte.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Use "kdesu" in KDE
Message-ID:  <1652760.4Ji4a82evT@curlew.lan>
In-Reply-To: <20150413025836.14a7d43c@archlinux>
References:  <CAGk=YH45E5S7S-9P53eoKJbYce82iVD1950gDfNMvDqab1D4xA@mail.gmail.com> <1846362.0RNNXTKooT@curlew.lan> <20150413025836.14a7d43c@archlinux>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 13 Apr 2015 02:58:36 Ralf Mardorf wrote:

> I don't want to boot FreeBSD now. Are you sure that xhost isn't needed
> for kdesu on FreeBSD, if you run something as another user, excepted
> root?

Yes, it works fine using "/usr/local/lib/kde4/libexec/kdesu -u username -c 
xterm" where username can be any valid user, including root.

Incidentally another workaround for running X applications as any other user, 
including root,  without needing xhost or copying .Xauthority is to configure 
ssh to support X11 forwarding in ~/.ssh/config and run "ssh 
username@localhost".

-- 
Mike Clarke



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1652760.4Ji4a82evT>