Linux - SoftwareThis 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.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have done this a lot, but on other systems, I configured the 2 I am currently using from the ground up in gentoo from a stage 1 install.
on the computer I wish the application to be displayed on I type:
access control disabled, clients can connect from any host
I then type:
ssh 192.168.3.1 (IP address of the host that will run the application)
I then try to run the application:
I get this error:
_X11TransSocketOpen: socket() failed for tcp
_X11TransSocketOpenCOTSClient: Unable to open socket for tcp
_X11TransOpen: transport open failed for tcp/192.168.3.2:0
** CRITICAL **: Unable to open display
I have done this successfuly several times and am not sure why it is not working on my current configuration.
Shouldn't you do the "xhost +" on the host running the application (192.168.3.1)? Since the app is running there, it would be using the X services on that machine, and the remote computer (192.168.3.2) would be the one opening a client into the host's X server.
Probably wrong, probably stupid, but easy to try if you've got nothing else!
lol, I thaught it was clean, I used xhost + on the machine that was going to disoplay the program, and export on the machine that was runnign the program, that is also the correct way to do it, let me state once again, I manually typesd these commands to load xmms on these 2 machines for 3 months before changing them to gentoo, at which point the exact same commands in exact same sequence no longer worked, I am not lookinmg for command correction, I am looking for the problem, the syntax is correct and tested.
On remote host:
sshd_config has X11Forwarding yes
on the local host:
ssh -X remotehost
And that worked fine
I did not do an "xhost +" on remote host
Both are Redhat AS2.1, remotehost is in runlevel 3 and only serving vnc displays. On those displays, "xhost" reports "access control enabled - only authorized hosts can connect"