Re: [kde] Konsole unable to start xapps as root in Archlinux



On Friday 19 October 2007 00:59, Ryo Furue wrote:
Hi,

| On Thursday 18 October 2007 20:06, Kevin Krammer wrote:
| > On Thursday 18 October 2007, Nigel Henry wrote:

[. . .]

| > % xhost +local:root

[. . .]

| Bingo! Thanks Kevin, that works like magic.

Another method is, as root

# xauth merge ~username/.Xauthority
# DISPLAY=:0
# export DISPLAY

where "username" is the name of the ordinary user
that you were, before "su"-ing.

On a multi-user host, xhost allows other users to use
your screen, so xauth method is a bit better.

Ryo

Thanks for that other option Ryo. Do those commands provide a permanent
change, that hold up after a logout/login, or reboot?

I ran the xhost command as. xhost +local:root, but when I logged out, and back
in, I had to run the command again. I resolved that by running the command
in .kde's autostart. Was the "%" sign necessary at the start of the line?

Nigel.
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.



Relevant Pages

  • Re: Re[2]: [opensuse] xhost +localhost needed for some games
    ... and found that I need execute the following command before the start of X server: ... that is that ``xhost +localhost'' should be stay a nogo. ... and maybe read the manual page about xauth. ... anixx@anixx-desktop:~> echo $XAUTHORITY ...
    (SuSE)
  • =?koi8-r?Q?Re[4]=3A_[opensuse]_xhost_+localhost_needed_for_some_games?=
    ... and found that I need execute the following command before the start of X server: ... incorrectly installed the system. ... that is that ``xhost +localhost'' should be stay a nogo. ... and maybe read the manual page about xauth. ...
    (SuSE)
  • =?koi8-r?Q?Re[2]=3A_[opensuse]_xhost_+localhost_needed_for_some_games?=
    ... and found that I need execute the following command before the start of X server: ... The bugreport was closed and I was redirected to this mailing list because I allegedly incorrectly installed the system. ... that is that ``xhost +localhost'' should be stay a nogo. ... and maybe read the manual page about xauth. ...
    (SuSE)
  • Re: [opensuse] xhost +localhost needed for some games
    ... and found that I need execute the following command before the start of X server: ... This worked well and I filed a bugreport asking to include ... IMHO all programs should be able and should use the X authority ... and maybe read the manual page about xauth. ...
    (SuSE)
  • Re: [kde-linux] kppp and cron
    ... The xhost command needs to be executed from within the X session. ... Kevin Krammer, KDE developer, xdg-utils developer ... KDE user support, developer mentoring ...
    (KDE)