how to display sun solaris 8 display on a RedHat7.1 xwindow?

how to display sun solaris 8 display on a RedHat7.1 xwindow?

Post by hongxun le » Sun, 20 Jan 2002 04:20:48



hi,all,
i aborted the consideration of display sun xwindow on win2k windows.think
that,display it on RedHat 7.1 more reasonable.
so i must export the sun environment
varable:DISPLAY=10.100.143.30:0.0(RedHat machine IP),then execute
command:/usr/openwin/bin/xhost +10.100.143.30(RedHat machine IP).but,at
this,the sun server said:

Xlib:connection to "10.100.143.30:0.0" refused by server
Xlib:client is not authorized to connect to server
/usr/openwin/bin/xhost:unable to open display "10.100.143.30:0.0"

i don`t know which files i must config first for authorization,in order to
admit accessing.
pls tell me the method.

thanks a lot.
Atom.

 
 
 

how to display sun solaris 8 display on a RedHat7.1 xwindow?

Post by Jess » Sat, 19 Jan 2002 13:49:00


this was a few years back but what i remember having to do initially was
telnet to the host box and type xhost (as root) and also do a setenv for the
remote machine i think it was
setenv DISPLAY 192.168.0.1:0
 where the ip is the ip of the remote client. this was when i was using
solaris 2.5.1 but i highly doubt its changed since.


Quote:> hi,all,
> i aborted the consideration of display sun xwindow on win2k windows.think
> that,display it on RedHat 7.1 more reasonable.
> so i must export the sun environment
> varable:DISPLAY=10.100.143.30:0.0(RedHat machine IP),then execute
> command:/usr/openwin/bin/xhost +10.100.143.30(RedHat machine IP).but,at
> this,the sun server said:

> Xlib:connection to "10.100.143.30:0.0" refused by server
> Xlib:client is not authorized to connect to server
> /usr/openwin/bin/xhost:unable to open display "10.100.143.30:0.0"

> i don`t know which files i must config first for authorization,in order to
> admit accessing.
> pls tell me the method.

> thanks a lot.
> Atom.


 
 
 

how to display sun solaris 8 display on a RedHat7.1 xwindow?

Post by ToZ » Sat, 19 Jan 2002 14:20:44




> hi,all,
> i aborted the consideration of display sun xwindow on win2k
> windows.think that,display it on RedHat 7.1 more reasonable. so i must
> export the sun environment
> varable:DISPLAY=10.100.143.30:0.0(RedHat machine IP),then execute
> command:/usr/openwin/bin/xhost +10.100.143.30(RedHat machine IP).but,at
> this,the sun server said:

> Xlib:connection to "10.100.143.30:0.0" refused by server Xlib:client is
> not authorized to connect to server /usr/openwin/bin/xhost:unable to
> open display "10.100.143.30:0.0"

> i don`t know which files i must config first for authorization,in order
> to admit accessing.
> pls tell me the method.

> thanks a lot.
> Atom.

How about using XDMCP?
From Redhat, grab a root console and type in:

        X :1 -depth 16 -query <host>

[ ToZ ]

 
 
 

how to display sun solaris 8 display on a RedHat7.1 xwindow?

Post by Jess » Sat, 19 Jan 2002 15:54:29


that won't work. and the reason it won't work is because its his sun box
that's refusing the connection not his linux one. this will work on windows.
i used it for 2 years this way. i noticed there isn't an xhost command
anymore but in CDE there was a GUI front end for it (i don't use the GUI
anymore and haven't for a long time but after an initial install before i
remove the keyboard/monitor/mouse i set up the initial accounts via the gui
front end to useradd and poke around to see if anything's changed in cde or
openwin)

anyway the long and the short of it are he has to do two things
1. make solaris allow exported xsessions
2. tell it where to export it to

xhost appears to be gone but setenv isn't. i did this in a cshell




> > hi,all,
> > i aborted the consideration of display sun xwindow on win2k
> > windows.think that,display it on RedHat 7.1 more reasonable. so i must
> > export the sun environment
> > varable:DISPLAY=10.100.143.30:0.0(RedHat machine IP),then execute
> > command:/usr/openwin/bin/xhost +10.100.143.30(RedHat machine IP).but,at
> > this,the sun server said:

> > Xlib:connection to "10.100.143.30:0.0" refused by server Xlib:client is
> > not authorized to connect to server /usr/openwin/bin/xhost:unable to
> > open display "10.100.143.30:0.0"

> > i don`t know which files i must config first for authorization,in order
> > to admit accessing.
> > pls tell me the method.

> > thanks a lot.
> > Atom.

> How about using XDMCP?
> From Redhat, grab a root console and type in:

> X :1 -depth 16 -query <host>

> [ ToZ ]

 
 
 

how to display sun solaris 8 display on a RedHat7.1 xwindow?

Post by Alan Coopersmi » Sat, 19 Jan 2002 16:50:19



|hi,all,
|i aborted the consideration of display sun xwindow on win2k windows.think
|that,display it on RedHat 7.1 more reasonable.
|so i must export the sun environment
|varable:DISPLAY=10.100.143.30:0.0(RedHat machine IP),then execute
|command:/usr/openwin/bin/xhost +10.100.143.30(RedHat machine IP).but,at
|this,the sun server said:

You run the xhost command on the RedHat box to allow the Sun machine to
display on it (specify the address of the sun machine).  For more
details and more secure methods, see:
        http://www.xs4all.nl/~zweije/xauth.html

--
________________________________________________________________________


  Working for, but definitely not speaking for, Sun Microsystems, Inc.

 
 
 

how to display sun solaris 8 display on a RedHat7.1 xwindow?

Post by Alberto da Silv » Sat, 19 Jan 2002 16:58:06



> hi,all,
> i aborted the consideration of display sun xwindow on win2k windows.think
> that,display it on RedHat 7.1 more reasonable.
> so i must export the sun environment
> varable:DISPLAY=10.100.143.30:0.0(RedHat machine IP),then execute
> command:/usr/openwin/bin/xhost +10.100.143.30(RedHat machine IP).but,at
> this,the sun server said:

> Xlib:connection to "10.100.143.30:0.0" refused by server
> Xlib:client is not authorized to connect to server
> /usr/openwin/bin/xhost:unable to open display "10.100.143.30:0.0"

> i don`t know which files i must config first for authorization,in order to
> admit accessing.
> pls tell me the method.

> thanks a lot.
> Atom.

on RedHat:
   xhost +sun_box

on Sun Box
   x_program -display redhat:0.0

or
   DISPLAY=redhat:0.0
   export DISPLAY
   x_program

 
 
 

how to display sun solaris 8 display on a RedHat7.1 xwindow?

Post by Jess » Sat, 19 Jan 2002 17:26:38


that's where i got xhost from. had forgotten. must not have been on solaris.
but i don't think i was using linux i am pretty sure i was using freebsd
because i never really liked linux. like i said though. its been a really
long time since i've had to do it.



> |hi,all,
> |i aborted the consideration of display sun xwindow on win2k windows.think
> |that,display it on RedHat 7.1 more reasonable.
> |so i must export the sun environment
> |varable:DISPLAY=10.100.143.30:0.0(RedHat machine IP),then execute
> |command:/usr/openwin/bin/xhost +10.100.143.30(RedHat machine IP).but,at
> |this,the sun server said:

> You run the xhost command on the RedHat box to allow the Sun machine to
> display on it (specify the address of the sun machine).  For more
> details and more secure methods, see:
> http://www.xs4all.nl/~zweije/xauth.html

> --
> ________________________________________________________________________


>   Working for, but definitely not speaking for, Sun Microsystems, Inc.

 
 
 

how to display sun solaris 8 display on a RedHat7.1 xwindow?

Post by Alan Coopersmi » Sun, 20 Jan 2002 00:48:52



|that's where i got xhost from. had forgotten. must not have been on solaris.

Why not on Solaris?  xhost is available on just about any system with
X Windows, including Solaris.  You just have to remember it controls
who can use your screen/read your keyboard, so you have to run it on
the system with the screen/keyboard.  (It wouldn't be very useful
security if any other computer in the world could simply say "I'm going
to take your keyboard input now, hopefully you'll type in some nice
secret information or passwords soon.")

--
________________________________________________________________________


  Working for, but definitely not speaking for, Sun Microsystems, Inc.

 
 
 

how to display sun solaris 8 display on a RedHat7.1 xwindow?

Post by Sunadmi » Sun, 20 Jan 2002 08:37:46


dude I know you got a lot posts about this but the quick real way to do this
is type
xhost + machinename


Quote:> hi,all,
> i aborted the consideration of display sun xwindow on win2k windows.think
> that,display it on RedHat 7.1 more reasonable.
> so i must export the sun environment
> varable:DISPLAY=10.100.143.30:0.0(RedHat machine IP),then execute
> command:/usr/openwin/bin/xhost +10.100.143.30(RedHat machine IP).but,at
> this,the sun server said:

> Xlib:connection to "10.100.143.30:0.0" refused by server
> Xlib:client is not authorized to connect to server
> /usr/openwin/bin/xhost:unable to open display "10.100.143.30:0.0"

> i don`t know which files i must config first for authorization,in order to
> admit accessing.
> pls tell me the method.

> thanks a lot.
> Atom.

 
 
 

how to display sun solaris 8 display on a RedHat7.1 xwindow?

Post by gru.. » Mon, 21 Jan 2002 10:03:57


type

xhost +

just for testing purposes - realize this is rather insecure, but good enough for
now.

On your RH box type

Xnest :10 -query w.x.y.z &

where the w.x.y.z is the ip of the sun..

 
 
 

1. how display XWindow on Win2000 Display?

hi,all,
1 because sun server T1 105 is a rack one,it has no monitor.so i want to
display the server`s xwindow on a Win2000 display,this make management easy
sometime.but can I? how to do?from where to download the packages?
2 the server installed solaris 8,when i input xhost +,it said:"xhost:not
found",is "xhost" a buildin command or a package?if i want to implement the
1st target,i`ll need this command.
thank u,excellent man!
atom.

2. lpd stopped existing - correction

3. Displaying images using Xwindows on IBM vs Sun

4. Thunderboard and Linux?

5. sun Xkernel works; WD8003/printer glitch, how display on sun via ppp?

6. displaying sun answerbooks on linux's x

7. Sun display flickering on SunBlade 2000 and Sun Ultra 60 Stations

8. help w/ ethernet and PB3400

9. Sun Solaris/Motif External Display Manager????

10. Trying to running a SUN/OS 4.1.3 X display on Solaris

11. Unable to obtain a 24 bit display on Sun Solaris sparc

12. How to change display resolution?on solaris-sun sparc

13. passing DISPLAY variable from Linux to sun v240 with solaris 9