LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2005, 02:23 PM   #1
lab123
LQ Newbie
 
Registered: Aug 2005
Posts: 10

Rep: Reputation: 0
export display from Linux to Linux


Can anyone tell me how I can automate the following :

I am using Linux to Linux export DISPLAY. Instead of typing the commands
(xhost + and export DISPLAY), I would like to find out if there is way
I can add this in a file so this commands are executed automatically everytime I reboot the Linux systems.

thanks, Kishore

Linux System A --------------------Linux System B

Usually I type xhost + on Linux A

and on Linux B, I type export DISPLAY=(IP address of A):0.0
 
Old 09-29-2005, 02:39 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
All depends: do you even work on Bs local terminal
using X? If you don't, and there's no local users doing
this, you can add the export DISPLAY bit to one of the
startup-scripts, e.g. profile. In that case all users logging
into that machine will redirect their display to A.

On A we need to know which Window-Manager you're
using to tell you how to automatically set the xhost.


Cheers,
Tink
 
Old 09-29-2005, 03:18 PM   #3
lab123
LQ Newbie
 
Registered: Aug 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Tinkster,

Thanks for the reply, but I do have users that work locally on system B.
On both the systems, I am using Red Hat Linux and GNOME for windows manager.
 
Old 09-29-2005, 03:56 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Well - I'm sure that gnome has some sort of auto-start folder of
sorts. Just put a script that does the respective thing in either
for your user on both machines.


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I do Linux to Linux export display automatically lab123 Linux - General 2 10-05-2009 12:15 AM
How to export HP-UX display to linux box xgreen Other *NIX 5 07-06-2007 09:58 AM
Trying to export display automatically in Linux ? lab123 Linux - Networking 0 09-29-2005 09:33 AM
Export DISPLAY works from linux boxes but not from unix. yoder Solaris / OpenSolaris 3 04-28-2005 07:58 AM
Export DISPLAY works from linux boxes but not from unix yoder Red Hat 3 04-27-2005 09:26 AM


All times are GMT -5. The time now is 12:21 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration