On Thu, 2003-11-20 at 03:09, [EMAIL PROTECTED] wrote:
> I'm trying to start a local app on the ltsp client but the app isn't
> allowed to connect to the X-server running on the client.
> Where can I set this up? In the log window I get these error messages:
> 
> AUDIT: Mon Jan 1 01:34:31 2001: 406 XF86_TOPRO: client 7 rejected from IP
> 127.0.0.1 port 1034
> 
> The date isn't correct but what's more of a weird thing is why access from
> itself isn't allowed :/
> 
> Funny thing is that of course the X server is running as root and then on
> the host user h1 is logged in. I think when I start a prog on the client
> via rsh it sends h1 user info to the client and the access to the display
> is rejected because the server is running as root and not as h1.

First, the workstation can't use h1 user information (remember that the
workstation's /etc/passwd file is the one in /opt/ltsp/i386/etc/passwd)
unless you set up local apps and all of the stuff localapps require.

If user h1 is signed in on the workstation, the workstation's X server
will be using server:/home/h1/.Xauthority for its Xauth database.  When
you start a local app, the app must be able to read this file, so you
must mount server:/home/h1 somewhere on the workstation and export
XAUTH=/somewhere/.Xauthority before starting the local app.

-- 
David Johnston <[EMAIL PROTECTED]>
Little Bald Consulting, LLC


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to