Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

xhost +localhost doesn't work

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
selwyn
n00b
n00b
Posts: 9
Joined: Sun Oct 19, 2003 11:55 am

xhost +localhost doesn't work

  • Quote

Post by selwyn » Mon Oct 20, 2003 1:31 pm

I tried to use an graphical program out off a "su shell" , more precisely:

$xhost +localhost
$su
pass:****
#xxdiff /etc/make.conf /etc/._cfg0000_make.conf
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xxdiff: cannot connect to X server :0.0

This System hast been setup from the scratch a week ago, so it presumably never worked.
Where could I find logging about what is happening on the serverside?

/var/log/XFree86.0.log says only:
AUDIT: Mon Oct 20 15:38:07 2003: 1169 X: client 21 rejected from local host

I do not know where to read more and I don't want to tinker around with both eyes shout.

PS.:localhost is in /etc/hosts and I've tried the real hostname, 127.0.0.1 and it's real IP-Addr also. All of them with the same result.
Last edited by selwyn on Mon Oct 20, 2003 4:13 pm, edited 1 time in total.
Top
Cicero
Apprentice
Apprentice
Posts: 220
Joined: Mon Jul 21, 2003 3:52 pm

  • Quote

Post by Cicero » Mon Oct 20, 2003 1:38 pm

xhost +local:
Top
selwyn
n00b
n00b
Posts: 9
Joined: Sun Oct 19, 2003 11:55 am

  • Quote

Post by selwyn » Mon Oct 20, 2003 4:12 pm

$ xhost +local
xhost: bad hostname "local"

thanx anyway
Top
Cicero
Apprentice
Apprentice
Posts: 220
Joined: Mon Jul 21, 2003 3:52 pm

  • Quote

Post by Cicero » Mon Oct 20, 2003 4:44 pm

read my post again. there's a ":". That's important
Top
Ignignokt
n00b
n00b
User avatar
Posts: 59
Joined: Wed Jan 08, 2003 6:34 pm

  • Quote

Post by Ignignokt » Mon Oct 20, 2003 4:47 pm

Try to su with a '-'

ie:

Code: Select all

$su -
That will set up your environment correctly.
Top
selwyn
n00b
n00b
Posts: 9
Joined: Sun Oct 19, 2003 11:55 am

  • Quote

Post by selwyn » Mon Oct 20, 2003 5:09 pm

Thanks to both of you,
both solutions worked individually.

But I think I should read a bit how-to`s concerning x-servers.
Top
Uranus
Guru
Guru
Posts: 438
Joined: Tue May 07, 2002 5:49 pm
Location: Portugal, Braga
Contact:
Contact Uranus
Website

  • Quote

Post by Uranus » Mon Oct 20, 2003 5:11 pm

you can do "xhost +", but that'll also allow everyone, not just localhost
Top
Post Reply

7 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic