On 2 jun, 02:34, Matthew Bevan <[EMAIL PROTECTED]> wrote:
> There's your trouble.  X11 is locked-down by default and will not
> allow other users access to your display device.  (Try setting the
> DISPLAY variable and running xeyes or somesuch - it should show you
> an error.  The error is being buried by Python.)
>
> Investigate the xauth command - I had the same problem when tunneling
> X11 windows over SSH - the remote server wasn't allowed to attach to
> my local display without some twiddling.

Solved it!
-------------------------------------------
$ sudo su - [user_non_x-windows]
$ cat >> ~/.profile << 'EOF'

# X-Windows display
export DISPLAY=":0"
EOF

$ source ~/.profile
$ sudo -H -u [user_x-windows] xauth extract - $DISPLAY |
xauth merge -

$ xeyes
-------------------------------------------

It run Firefox, but now I'll have to investigate how run another x-
browser as Konqueror.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to