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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-05-2008, 01:49 PM
|
#1
|
Member
Registered: Jul 2003
Posts: 244
Rep:
|
Can't get a remote xterm to run
I know this has been asked/answered a lot, but I'm pretty sure I'm doing it right, though if I was it would work! This involved 2 linux boxes.
On the system running X, I issue the command "xhost +" and it tells me "access control is disabled, client can connect from any host"
I then log into another host and "export DISPLAY=firsthost:0.0" and run xclock or xterm. In both cases the system thinks for a little while and then tells me "unable to open display"
gotta be something silly but I just don't see what.
I've always done this exporting linux displays to my PC running an X server and it just works. The only thing I'm doing different here is the xhost command, and trying to export onto an X server running on linux.
-mark
|
|
|
12-05-2008, 01:53 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331
|
Quote:
Originally Posted by markseger
I know this has been asked/answered a lot, but I'm pretty sure I'm doing it right, though if I was it would work! This involved 2 linux boxes.
On the system running X, I issue the command "xhost +" and it tells me "access control is disabled, client can connect from any host"
I then log into another host and "export DISPLAY=firsthost:0.0" and run xclock or xterm. In both cases the system thinks for a little while and then tells me "unable to open display"
gotta be something silly but I just don't see what.
I've always done this exporting linux displays to my PC running an X server and it just works. The only thing I'm doing different here is the xhost command, and trying to export onto an X server running on linux.
-mark
|
Well, it is something simple. Chances are, your Xserver on your local Linux box is running with the "-nolisten" option to X (more secure). You don't say what version/distro of Linux you're using, so it's hard to give you details...Google can probably point you to how to turn off that option, then things should work from there.
|
|
|
12-05-2008, 02:01 PM
|
#3
|
Member
Registered: Jul 2003
Posts: 244
Original Poster
Rep:
|
Quote:
Originally Posted by TB0ne
Well, it is something simple. Chances are, your Xserver on your local Linux box is running with the "-nolisten" option to X (more secure). You don't say what version/distro of Linux you're using, so it's hard to give you details...Google can probably point you to how to turn off that option, then things should work from there.
|
Sorry about that... It's RHEL5.2 and yes, I see -nolisten on the command line. what's the best way to remove it?
-mark
|
|
|
12-05-2008, 05:18 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331
|
Quote:
Originally Posted by markseger
Sorry about that... It's RHEL5.2 and yes, I see -nolisten on the command line. what's the best way to remove it?
-mark
|
I'm not very familiar with doing that under RHEL5, but check the /etc/X11/xinit/xserverrc file. Change the DisallowTCP from "false" to "true", and restart.
|
|
|
All times are GMT -5. The time now is 07:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|