[K12OSN] Broadcast message
Petre Scheie
petre at maltzen.net
Tue Nov 2 14:02:23 UTC 2004
On the client, try opening a terminal and running
xhost +
and then try the xmessage command at the server. I'm not suggesting this as a
solution because of the security holes it presents; this is just a
troubleshooting step to try to isolate the problem.
Petre
Huck wrote:
>
>
> David Trask wrote:
>
>>
>>> One requirement is that the client workstation must be configured to
>>> accept such messages, which in my server-and-one-client K12LSTP ver
>>> 3.0.1 here in my
>>> cube, the clients are not. This can be fixed by adding
>>>
>>> xhost +192.168.0.254
>>>
>>> to every user's ~/.profile. This will allow such messages to be sent
>>>
>>> from the
>>
>>
>>
>>> server, but not from other clients which could be a nightmare, e.g.
>>> clever students with too much time on their hands.
>>>
>>> Hopefully this is a start.
>>>
>
>
> I put a .profile in /home/housad with the 'xhost +192.168.0.254'
> chown housad:housad .profile
>
> then did the following...and then got these Xlib errors...so wondering??
> how can we solve this? =)
>
> [root at ltsp root]# who
> housad ws248.ltsp:0 Nov 1 15:55 (ws248.ltsp)
> root pts/1 Nov 1 15:57 (10.1.3.128)
> root :0 Oct 15 15:58
> [root at ltsp root]# xmessage -center -timeout 30 -display ws248.ltsp:0.0
> could you logout please?
> Xlib: connection to "ws248.ltsp:0.0" refused by server
> Xlib: No protocol specified
>
> Error: Can't open display: ws248.ltsp:0.0
> [root at ltsp root]# xmessage -center -timeout 30 -display ws248.ltsp:0
> could you logout please?
> Xlib: connection to "ws248.ltsp:0.0" refused by server
> Xlib: No protocol specified
>
> Error: Can't open display: ws248.ltsp:0
>
> --Huck
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
More information about the K12OSN
mailing list