View Single Post

   
  #16 (permalink)  
Old 02-20-2008, 07:05 PM
Grant
 
Posts: n/a
Default Re: how fix undraggable X11 window?

On Mon, 25 Sep 2006 08:00:56 +0200, Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> wrote:

>Grant <g_r_a_n_t_@dodo.com.au> wrote:
>> We've drifted away from original topic

>
>Yes, but it would probably still be interesting to run your X applications
>at max graphics performance.


magpie is 'doze box, so all I need do is:

grant@sempro:~$ DISPLAY=magpie:0 xterm &

then launch graphics apps from that xterm? It works!

The error:
grant@sempro:~$ vmware &
[1] 3411
grant@sempro:~$ Xlib: connection to "magpie:0.0" refused by server
Xlib: No protocol specified

Xlib: connection to "magpie:0.0" refused by server
Xlib: No protocol specified


[1]+ Done vmware

happens with xhost status ('doze):
access control enabled, only authorized clients can connect
INET:magpie.mire.mine.nu
LOCAL:
INET:localhost
Press any key to continue . . .

The working way is with:
access control disabled, clients can connect from any host
INET:magpie.mire.mine.nu
LOCAL:
INET:localhost
Press any key to continue . . .

Another piece of the puzzle I don't need access control here, but
now I know the source of that last error message, being able to switch
it on and off, thanks: michael2, for what became:

# Xming Server Resource File
TRAYICON ",101"
menu putty {
pageant exec "f:\bin\PuTTY\pageant f:\bin\PuTTY\private"
separator
peetoo execd "f:\bin\PuTTY\putty -load peetoo"
sempro execd "f:\bin\PuTTY\putty -load sempro"
}
menu peetoo {
... this section not work yet
}
menu sempro {
... this section not work yet
}
menu localhost {
# Access control commands, these working
"ac status" execd "f:\bin\xapps\xhost.bat"
# where xhost.bat contains:
# @echo off
# xhost
# pause
"ac on" exec "f:\bin\xapps\xhost -"
"ac off" exec "f:\bin\xapps\xhost +"
xeyes exec "f:\bin\xapps\xeyes"
}
menu apps {
"PuTTY sessions" menu putty
"Remote@peetoo" menu peetoo
"Remote@sempro" menu sempro
"Local@magpie" menu localhost
separator
"&Reload Xmingrc" reload
}
menu aot {
"&Always on Top" alwaysontop
separator
}
RootMenu apps
DefaultSysMenu aot atstart
SilentExit
DEBUG "Done parsing the configuration file..."

Grant.
--
http://bugsplatter.mine.nu/
Reply With Quote