Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can linux work as a X-client

Status
Not open for further replies.

mingx98

Technical User
Mar 16, 2000
78
CA
I want a linux ( Reshat 6.2 ) as X Client,
ie, linux work as Hummingbird Exceed, Solaris 2.7
as X-server, I try many times but failed ,
I ever try xauth, xhost +, it doesn't work,
but if I use a Solaris , it work well,

Any suggestion ?

Thanks very much

 
what is it that you are tryin to do?.u are tryin to connect from a linux macine to solaris machine and want to run gui applications ? is that what u are trying to do?. in that case see if xwindows is installed on the linux machine and export the display of the linux machine after u telnet to the solaris machine.
 
sendhilk,

can you give some detail of the concept of exporting the display after you telnet. I am not real sure what I need to do.

-Danny






 
Hi,

concerning the XWindow-System, the roles of a Client(-Application) and a Server can be missunderstood easily.

While you -generally spoken- work at a Client-System ("MyPC") and use services like Filespace from a Server ("BigServer"), it is different in the XWindow-environment.

If you work at your Linux-Box "MyPC" and want to use a application that is stored (and run!) on your Solaris-Server "BigServer", you need the X-Server be running on "MyPC" and allow remote clients via "xhost" (e.g.
Code:
xhost +BigServer.domain.com
, see
Code:
man xhost
) to connect to it.

Then you can telnet (or better ssh) to "BigServer" to start your X-client-application. Using telnet you have to define the "DISPLAY"-environmental variable, to tell the application where to send the GUI to (e.g.:
Code:
DISPLAY=MyPC.domain.com:0.0; export DISPLAY
. Now you can start the application, which is actually run on "BigServer" and only the GUI-Output is sent to "MyPC".

(Using ssh does not require you to define the DISPLAY-variable, but that's another story..)

ciao, mbr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top