LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-28-2001, 12:56 AM   #1
ashpai
LQ Newbie
 
Registered: Jan 2001
Location: India
Posts: 24

Rep: Reputation: 15

Hi friends,

Can I do something like this,

Linux Server on Machine A (No X)

Linux Workstation on Machine B (with X)

Now can I use the Machine B's XWindows to parse through and work around on the complete file/directory structure of Machine A ?

Thanks
Ashwin

 
Old 02-28-2001, 02:06 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
X question

I am not sure of what you are asking.

You can display an X-session remotely... for instance, you can launch an application on a server and have it display on your workstation instead of the server.
This is how "X-stations" work.


And.. you can export parts or all of the filesystem on a server and mount them remotely so that you can look around in the directory structure

 
Old 02-28-2001, 11:23 PM   #3
ashpai
LQ Newbie
 
Registered: Jan 2001
Location: India
Posts: 24

Original Poster
Rep: Reputation: 15
X-Question

Hi KevinJ,

I want to do a thing like this using a linux server and workstation.

eg. If I have a Win NT server and a Win NT workstation and I share all the drives of the Win NT server with full rights, I would be able to parse through the entire directory from the WinNT workstation through network neighbourhood.

So similarly I want my X-Window window manager on my workstation to parse through the entire file structure of the server. This I need as my server does not have GUI and I would like to view the file structure of the server through GUI. Besides this I also want to run applications / commands on the server through the GUI on the workstation.From your reply I have a feeling that you have hinted it can be done. How I do it is now my question since, actually, the concepts of exporting filesystems and mounting filesystems remotely is not yet completely clear to me.

I hope I have made my doubt clear.

Thanks for your time,
Ashwin

 
Old 03-01-2001, 12:09 AM   #4
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Answers

If you were only interesting in being able to access the files, you might just want to look at NFS:

http://www.linuxdoc.org/HOWTO/NFS-HOWTO/index.html

But it sound like what you might also want is to be able to export an Xdisplay. Thats easy to do. Lets say you are on a box called "remote" and you want to run an X app on a box called "server". First... you have to give permission to "server" to display on "remote" so you issue:

xhost + server

Then, you telnet or ssh into server. From your remote shell, you issue:

export DISPLAY=remote:0

Then you just run an X application, in this case since you want to look through the file system, you might issue:

gmc &

and the Gnome Midnight COmmander will be running on "server" but displaying on "remote". Now.. than can get very confusing.. be careful.

Check out these for more info:
http://jgo.local.net/LinuxGuide/linux-X-remote.html
http://www.linuxdoc.org/HOWTO/mini/Remote-X-Apps-1.html
http://www.linuxdoc.org/HOWTO/mini/LBX.html

One other thing you might want to look into is 'Xnest'. There is info on http://www.xfree86.org
That allows you to create and export entire desktops instead of just apps. I don't know a whole lot about it though.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 10:20 AM
ssh connection from a Windows machine to a Linux machine pistachio Linux - Networking 1 08-30-2005 10:45 AM
copy from windows machine to a linux machine s_deepblue Linux - Networking 3 03-12-2005 01:43 PM
Best filesystem for a slow machine. failure_man Slackware 3 11-26-2004 10:05 AM
how do i use my linux machine to be a gateway for a windows machine? Sanjuro Linux - Networking 2 02-09-2002 04:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration