--- LMSpam at neuropop dot com wrote:
> not specifically an RB question...
>
> I'd like to launch my app remotely from a secure
> shell, but when I type
> ./myApp I get "Gtk-WARNING **: cannot open display"
>
> I don't need remote access to the GUI, I'd just
> like to be able to
> launch it. Any way around this?
I'm guessing it's an X11 (XWindows) permission
problem. Try logging in to your Linux console
directly (so that you "own" the :0 display), and then
do
xhost +name
where "name" is the username you log in as via your
remote secure shell, or else the host name of the
remote system you're logging in from when you log in
remotely. Use the "info xhost" command for more
detailed info.
This is from memory and from some quick testing on OS
X--I don't have access to my Linux box right now. But
this should get you started on how to give yourself
permission to start apps. You might try the xhost
command from your secure remote login, but I don't
think it will work, because the computer screen
belongs to whoever is actually sitting at the
keyboard, not to remote users.
You might need xhost +inet:name or xhost +nis:name or
xhost + krb:name, by the way--I'm not sure about the
prefixes because I don't do the remote login, I just
use xhost +local: (which is all I need).
Good luck.
Mark
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|