Question on X with Linux 7.1 and Solaris 2.6

Question on X with Linux 7.1 and Solaris 2.6

Post by Demandre » Thu, 26 Jul 2001 06:09:10



At work I have 3 Sun boxes 2 E450's and 1 E250 that we are running Oracle
Database's on.  I have recently opted to work in Linux 7.1 instead of my w2k
environment since I primarily am logged into Unix 90% of the day.   The
problem I'm having is I can't display x apps and windows on my Linux
workstation.  I set the xhosts + (I know it's a security whole but I'm just
testing right now) on my Linux box and then I connect with rsh, rlogin,
telnet to the Solaris box.  Once connected I set the DISPLAY=Linux box
IP:0.0; export DISPLAY.  I also have tried just IP:0 instead of IP:0.0.
Well when I try to run admintool or any other xwindow app I get this error :
"Can't open display: [IP ADDRESS:0.0] .

Now can anyone tell me what is wrong with this???  I'm really trying to be
able to have my Solaris xwindows work from my Linux box.  It would
definitely help me in administrating these boxes.

 
 
 

Question on X with Linux 7.1 and Solaris 2.6

Post by Dave Uhrin » Thu, 26 Jul 2001 07:42:20



> At work I have 3 Sun boxes 2 E450's and 1 E250 that we are running Oracle
> Database's on.  I have recently opted to work in Linux 7.1 instead of my
> w2k
> environment since I primarily am logged into Unix 90% of the day.   The
> problem I'm having is I can't display x apps and windows on my Linux
> workstation.  I set the xhosts + (I know it's a security whole but I'm
> just testing right now) on my Linux box and then I connect with rsh,
> rlogin,
> telnet to the Solaris box.  Once connected I set the DISPLAY=Linux box
> IP:0.0; export DISPLAY.  I also have tried just IP:0 instead of IP:0.0.
> Well when I try to run admintool or any other xwindow app I get this error
> : "Can't open display: [IP ADDRESS:0.0] .

> Now can anyone tell me what is wrong with this???  I'm really trying to be
> able to have my Solaris xwindows work from my Linux box.  It would
> definitely help me in administrating these boxes.

linux & sun are the host names, just the host part of the FQDN.

linux % xhost +sun
linux % telnet sun (or better, ssh sun)
sun % export DISPLAY=linux:0
sun % xclock &

It is possible also to use ssh to export the display, but I have been
successful with this only on occasion using 2 Red Hat boxes.

 
 
 

Question on X with Linux 7.1 and Solaris 2.6

Post by S C Rigl » Thu, 26 Jul 2001 08:24:52


Is it possible that you might have ipchains or iptables rules which
could be causing the connection to fail?

-S


>Now can anyone tell me what is wrong with this???  I'm really trying to be
>able to have my Solaris xwindows work from my Linux box.  It would
>definitely help me in administrating these boxes.

 
 
 

Question on X with Linux 7.1 and Solaris 2.6

Post by Stefan Tomli » Thu, 26 Jul 2001 09:13:36



> linux % xhost +sun
> linux % telnet sun (or better, ssh sun)
> sun % export DISPLAY=linux:0
> sun % xclock &

What's the difference? xhost + does the same job in this case.

regards
Stefan

 
 
 

Question on X with Linux 7.1 and Solaris 2.6

Post by Stefan Tomli » Thu, 26 Jul 2001 09:12:02



> Now can anyone tell me what is wrong with this???  I'm really trying to be
> able to have my Solaris xwindows work from my Linux box.  It would
> definitely help me in administrating these boxes.

Hi

I'm not sure how security is defined by redhat.com, but a lot of distros
disable network access to X by starting it with this option ....

man Xserver:
<snip>
       -nolisten trans-type
               Disable  a  transport  type.   For example, TCP/IP
               connections can be disabled with -nolisten tcp
</snip>

cheers
Stefan

 
 
 

Question on X with Linux 7.1 and Solaris 2.6

Post by Dean Thompso » Thu, 26 Jul 2001 10:35:37


Hi!,

Quote:> At work I have 3 Sun boxes 2 E450's and 1 E250 that we are running Oracle
> Database's on.  I have recently opted to work in Linux 7.1 instead of my
> w2k environment since I primarily am logged into Unix 90% of the day.   The
> problem I'm having is I can't display x apps and windows on my Linux
> workstation.  I set the xhosts + (I know it's a security whole but I'm just
> testing right now) on my Linux box and then I connect with rsh, rlogin,
> telnet to the Solaris box.  Once connected I set the DISPLAY=Linux box
> IP:0.0; export DISPLAY.  I also have tried just IP:0 instead of IP:0.0.
> Well when I try to run admintool or any other xwindow app I get this error
> : "Can't open display: [IP ADDRESS:0.0] .

> Now can anyone tell me what is wrong with this???  I'm really trying to be
> able to have my Solaris xwindows work from my Linux box.  It would
> definitely help me in administrating these boxes.

Can you check that your X-Windows session on Linux comes up alright and that
theer is no firewalls in place on your RH7.1 box which might be preventing the
X traffic from getting through to you.  Remember that RH7.1 likes to throw its
own firewall rules into place.  You might like to issue a command like:
/sbin/ipchains -F input and see whether that clears the problem.

Failing that, make sure that when you set the DISPLAY environment on the SUN
that the DISPLAY environment is actually being exported out and being used.  I
suspect however that it might be the standard RH7.1 firewall which is tripping
this up.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

Question on X with Linux 7.1 and Solaris 2.6

Post by Demandre » Fri, 27 Jul 2001 00:59:46


Thanks for the help everyone...


Quote:

> Hi!,

> > At work I have 3 Sun boxes 2 E450's and 1 E250 that we are running
Oracle
> > Database's on.  I have recently opted to work in Linux 7.1 instead of my
> > w2k environment since I primarily am logged into Unix 90% of the day.
The
> > problem I'm having is I can't display x apps and windows on my Linux
> > workstation.  I set the xhosts + (I know it's a security whole but I'm
just
> > testing right now) on my Linux box and then I connect with rsh, rlogin,
> > telnet to the Solaris box.  Once connected I set the DISPLAY=Linux box
> > IP:0.0; export DISPLAY.  I also have tried just IP:0 instead of IP:0.0.
> > Well when I try to run admintool or any other xwindow app I get this
error
> > : "Can't open display: [IP ADDRESS:0.0] .

> > Now can anyone tell me what is wrong with this???  I'm really trying to
be
> > able to have my Solaris xwindows work from my Linux box.  It would
> > definitely help me in administrating these boxes.

> Can you check that your X-Windows session on Linux comes up alright and
that
> theer is no firewalls in place on your RH7.1 box which might be preventing
the
> X traffic from getting through to you.  Remember that RH7.1 likes to throw
its
> own firewall rules into place.  You might like to issue a command like:
> /sbin/ipchains -F input and see whether that clears the problem.

> Failing that, make sure that when you set the DISPLAY environment on the
SUN
> that the DISPLAY environment is actually being exported out and being
used.  I
> suspect however that it might be the standard RH7.1 firewall which is
tripping
> this up.

> See ya

> Dean Thompson

> --

+____________________________+____________________________________________+

|
> | Bach. Computing (Hons)     | ICQ     - 45191180
|
> | PhD Student                | Office  - <Off-Campus>
|
> | School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)
|
> | MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077
|
> | Melbourne, Australia       |
|

+----------------------------+--------------------------------------------+
 
 
 

1. Question on X with Linux 7.1 and Solaris 2.6

At work I have 3 Sun boxes 2 E450's and 1 E250 that we are running Oracle
Database's on.  I have recently opted to work in Linux 7.1 instead of my w2k
environment since I primarily am logged into Unix 90% of the day.   The
problem I'm having is I can't display x apps and windows on my Linux
workstation.  I set the xhosts + (I know it's a security whole but I'm just
testing right now) on my Linux box and then I connect with rsh, rlogin,
telnet to the Solaris box.  Once connected I set the DISPLAY=Linux box
IP:0.0; export DISPLAY.  I also have tried just IP:0 instead of IP:0.0.
Well when I try to run admintool or any other xwindow app I get this error :
"Can't open display: [IP ADDRESS:0.0] .

Now can anyone tell me what is wrong with this???  I'm really trying to be
able to have my Solaris xwindows work from my Linux box.  It would
definitely help me in administrating these boxes.

2. Onstream DI30 and FreeBSD

3. Veritas 2.6 on Solaris 2.6 question. .

4. Does StarOffice run on PPC

5. can't read Solaris 2.6 x86 hard disk on Solaris 2.6 Ultra-1 ?!?

6. Development of multi-user servers.

7. Upgrade from Solaris 2.6 with Volume Manager 2.6 to Solaris 8 with Volume Manager 3.2

8. ** problem with ethernet locking up **

9. Sparc10 solaris 2.5 to Sparc20 solaris 2.6 migration question

10. Jumpstart Question: Solaris 2.6 vs Solaris 2.4

11. CDE/1.2 (Solaris/2.6) vs CDE/1.0.2 (Solaris/2.5.1) -- Login-Screen Question

12. Solaris patch/bug report question and Solaris 2.6/7 feature

13. Benchmarks x86 Solaris vs Linux and Solaris 2.6 x86 vs sparc