Linux - NewbieThis 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!
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 searched in google..its mentioned one place that if you get warning
"No xauth data; using fake authentication data for X11 forwarding"then you should add "XAuthLocation /usr/bin/xauth" to /etc/ssh/ssh_config..I did the same but facing same problem..
Anyone know about this issue..??
Last edited by vasudharao; 03-14-2008 at 01:28 AM.
Are you sure you made the changes to the /etc/ssh/sshd_config and not the ssh_config that has caught me out a number of times - Also as a simple test try ssh -o ForwardX11=yes user@host I use this method for a few things but should work fine for xterm gnome-terminal etc etc infact I have no problems with it for everything! Hope this helps.. Also on another note this even works on most systems with the sshd_conf set to (x11forwarding no) I guess because I am not forwarding the whole xserver.
vasudharao, I didn't get it. What are you calling the board?
how to use xauth :
xauth gives you the authorithy to open a window on the X server is authentification is activated on the X server. Normally, authorithy keys are handled automatically by ssh when you do -X. -Y is for when authorithy is not activated on the X server (the X server is the ssh client).
Th handle xauth manually, you can do a "xauth -extract filename $DISPLAY" to extract the authorization you have with your user to open a window to a file named filename. Then, you have to scp this file to where you connect to with ssh. You can then merge this authorisation with the sshed user's ~/.Xauthority file with that command : xauth merge filename.
If you handle the authority yourself, you don't need the -X anymore. You can simply forward the X port like this :
ssh -R 60xx:localhost:60xx foreignhost
then, do export DISPLAY=localhost:xx, so you use the right display.
(of course, replace xx with the DISPLAY number you want to use).
* I am developing applications for ARM processor..(as mentioned in the earlier post)..my ARM processor is having linux as its OS..I am calling this as my board(embedded board)..
* Right now I am able to do..
> when I do ssh -X from board to host,and then when I run gedit, I can see the window on my board's screen..
> but reverse is not possible..i.e.,when I do ssh -X from host to board, windows of board's applications I cannt see on host's screen..application hangs for ever without warning....
I think I answered your questions..
I did "ssh -o ForwardX11=yes user@host" also but still no change..
Can you help me..?
Last edited by vasudharao; 03-19-2008 at 12:05 AM.
When connecting from the board to your computer, do you have the X server running on the board? Was X properly installed?
You seem to be having problems like not being able to find xauth, libraries & resources.