Xwindow display ?

Xwindow display ?

Post by Christian Gosseli » Tue, 19 May 1998 04:00:00

I am working by telnet on a SunOs from home and I want my Linux box to
be the display of the Sun.
So I set up the DISPLAY variable on the Sun to my ip adresse
( c-shell) setenv DISPLAY my_ip_add:0.0
and everything is all right when I verify with the env command.

The problem is when I launch an X-window app (let's say sdr) I get this
error msg: "
% Xlib: connection to "" refused by server
Xlib: Client is not authorized to connect to Server
Sdr: couldn't connect to display ""

where is the problem ?


Xwindow display ?

Post by MELOCCARO Den » Tue, 19 May 1998 04:00:00

You should type xhost +The_IP_of_the_Sun to enable the Sun X server to
connect to your display.

    Denis MELOCCARO                            ENST de Bretagne
                                        Technopole Brest-Iroise        
    tel. : 02 98 00 17 43                        29280 PLOUZANE


Xwindow display ?

Post by Pat Thoyt » Tue, 19 May 1998 04:00:00

> You should type xhost +The_IP_of_the_Sun to enable the Sun X server to
> connect to your display.

Yes because then I could run
% xwd -root -silent -display your.host:0.0 | xwud
and see what you're doing.

Read the Xsecurity manual page and maybe look for xhost on the web.
Basically you can type xhost +my.home.host and only people with access
to the Sun server can see your display. Or you can use xauth or xdm.

eg: (using xauth)
% xauth extract - $DISPLAY | rsh sun '/usr/openwin/bin/xauth merge -'
% rsh sun "/usr/openwin/bin/xterm -display `hostname`:0.0"

or  (using xdm)
% X :0 -query sun > ~/xerrors 2>&1 &

Pat.Thoyts     reply to me at BBSRC dot ac dot uk or rot13 Reply To:
PGP key at http://www.geocities.com/Yosemite/Rapids/1661/resume.html
  RFC1063 can stuff it until it supports some anti-spam measures.


1. XWindows Display

try "startx -- -bpp X" where X is 8, 16, 24, or 32..Regards

|Ashwin Bihari                              University of Massachusetts Lowell|

|URL: http://www.cs.uml.edu/~abihari                                          |
| NOTE: The E-mail address on top has been mangled to stop Spam Bots..please  |
|       use the address in this box for replying.                             |

2. yet another virtual host plea for help

3. RH 6.2 XWindows display size

4. Two monitors

5. Xwindows display

6. Help: Connection Problem

7. XWindows Display

8. Greatly needing help with SLIP, if anyone's willing to help...

9. XWindows displaying improperly

10. Xwindows Display from a Remote Machine

11. XWindows display

12. XWindows-Display too big

13. Xwindows: display problem