SUMMARY: xhost and locked screen

From: Bruce Bowler (bbowler@bigelow.org)
Date: Tue Aug 25 1998 - 07:04:50 CDT


Yesterday, I wrote...

> I have 2 machines, called A and B. Both are Sparc 5's running Solaris
> 2.5.1. A is a "public" machine that has some software on it that needs
> an X display to run. On occasion, it would be advantageous to run this
> software as a cron job. Since it's public, I can't stay logged in.
> Enter machine B, my "private" machine into which I am always logged in.
> I say to myself, the solution is simple, I'll just xhost +A and set
> DISPLAY on A to B:0.0. Works like a champ until I lock the screen
> (using Utilites/Lock Screen) on B (which I do when I go home at night or
> out for lunch), at which point the process on A gets a message that says
>
> Xlib: connection to "B:0.0" refused by server
> Xlib: Client is not authorized to connect to Server
>
> Is there something else I can tell B that says A can connect even when
> the screen is locked?

Thanks to David Foster for pointing me to Xvfb, the X Virtual Frame
Buffer which essentially turns headless computers into X stations (as
long as you don't need to see what's happening :-). It can be found at
http://tmap.pmel.noaa.gov/home/ferret/FAQ/#xvfb

Bruce



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:46 CDT