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

Re: xhost working differently under Debian?!



On Sat, 19 Mar 2005, Eric Lavarde wrote:

> under HP-UX and SuSE Linux flavors, I'm used to do the following
> - open two consoles
> - on one type 'xhost + localhost'

try   xhost +localhost

> - on the other 'su - someotheruser' and 'DISPLAY=:0 xclock' (or some
> more useful X command).

try DISPLAY=:0.0   ( localhost is optional for localhost:0.0
or  DISPLAY=remote:0.0

	0.1 or was it 1.0 if you have a dual-monitor rig
	or with xinerama, it wont matter

remote#  xhost +localhost  -- or --
remote#  xhost +other-pc

when using "your pc" to login into the "remote pc", use ssh 
and nothing silly like telnet/ftp

> I tried on one side:
> - xhost + localhost
> - xhost + localhost.localdomain
> - xhost + 127.0.0.1

i think no space after the "+"

xhost will also list what hosts it allows to connect to it from afar

c ya
alvin



Reply to: