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!
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.
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.
When I did ssh from board to computer with -X, x server is running on board because I can see computer's applications on my board's LCD display..
As I know X server is properly installed..
Still, do you know which are the libraries and resources are necessory..??
when I did ssh from computer to board first time,~/.Xauthority file has been generated..
Now I am having ~/.Xauthority file on both board and computer..
Is there any relationship between x server and port 60xx..??
port 6000 is listening to something on my board but in computer, it is not there..
What should be the value of DISPLAY..??how to set it parmanently??
I am having only one display for the board..
Any suggessions??
Thank you..
Last edited by vasudharao; 03-19-2008 at 12:11 AM.
Port 6000 is for using remote X11 sessions without ssh. For example if you used xhost or xauth for authentication you could start x on the board but use one of your computer screens for the display and input.
If you used xdmcp (uses port 177) you could log in to the board from your computer. The first session you open will use port 6000. If you log on from a second computer, that session will use port 6001.
If you allowed xdmcp you could log in to your board from your desktop.
I use SuSE 10.3. On the login screen in the lower left hand corner I can log into my desktop remotely from my laptop.
It is like being at my desktop for the entire session except for sound. To run amarok, then I need to ssh -X to my laptop's IP and start amarok running on my laptop. ( A bit surreal )
To enable xdmcp, I needed to allow it in YasT2 -> Security & Users -> Local Security by checking "Allow Remote Graphical Login". Then I edited /opt/kde3/share/config/kdm/kdmrc changing
Code:
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is false
#Enable=false
# The UDP port on which KDM should listen for XDMCP requests. Do not change.
# Default is 177
#Port=177
...
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is false
Enable=true
# The UDP port on which KDM should listen for XDMCP requests. Do not change.
# Default is 177
#Port=177
I'm behind a NAT router and I am the only user on the LAN at home, so I don't think using xdcmp is too dangerous.
I have port 6000 open for now as well. At least until I'm done playing around with xdmcp.
When I do ssh from computer to board and after ssh into board when give "xterm",instead of opening window on computer's screen it will open on board's LCD screen..
Is this because of port 6000 listening on board..??
should I install xdmcp to the board..??
What is the step I can take next..??
Last edited by vasudharao; 03-19-2008 at 05:30 AM.
I think that the problem may be that X11 wasn't installed properly. The error messages about not finding xauth seem to indicate that. Ssh uses xauth in the background to allow X forwarding permissions.
After I did ssh from host to board, in shell I ran one application..Instead of showing window in host's screen,window comes up in my board's LCD display..
What may be the problem..??
Last edited by vasudharao; 03-24-2008 at 04:30 AM.
It should be something like ":10.0". Do you have your own account on the board. I've never ssh'ed into a root account. I don't know if something may prohibit forwarding X if it is root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.