LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-20-2004, 05:31 AM   #1
htm
Member
 
Registered: Mar 2004
Posts: 162

Rep: Reputation: 30
how to use local displayer as remote server's display?


Can anyone remind me the setdisplay command so that my local
server's display can serve as my remote server's display?

The reason is I have operate my mailman at my remote server while
using local display at my office.

Thx,
HTM
 
Old 04-20-2004, 06:11 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi

"DISPLAY=ip of remote machine:0"

this is to be run on server
will set ur display as that of remote machine


also a "xhost +192.168.0.20:0"

where 192.168.0.20=ip of server

run this command on the remote mach.
so that it accepts display from ur server

and running any application on the server will be directed to the remote machine
 
Old 04-20-2004, 07:49 AM   #3
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
any security holes there?

Thx,
HTM
 
Old 04-22-2004, 03:07 AM   #4
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
My network configuration is as follows:

1. I have a LAN with a server equipped with 2 cards, one uses an internet address,
another uses 192.168.0.1, set DISPLY internet_addr:0 has no prlome

2. I have a remote server out side my LAN has another internet address,
whne I ran xhost + another_ip_addr, I got following errorm why?
xhost: unable to open display "localhost:10.0"

Thx,
HTM
 
Old 04-22-2004, 05:24 AM   #5
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 31
Well it's trying to open a display on your remote server. You need to set the DISPLAY environment variable as described above, or use xhost.
 
  


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
Synchronizing local and remote files jrdioko Linux - Software 10 11-15-2005 01:13 PM
bootscreen stops displayer with kernel-2.6.7 kudos Slackware 1 10-01-2004 04:06 PM
Remote files in local program statmobile Linux - Software 1 11-17-2003 07:37 PM
Remote Mounting? (Mount remote folder on local filesystem) mac_phil Linux - Networking 1 11-15-2003 03:48 PM
Local and Remote X login lancest Linux - Networking 0 06-28-2002 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:46 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