Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
Distribution: Slackware, Mandriva, and Fedora when I must
X11 over SSH: $DISPLAY not being set
I'm trying to get X11 over SSH working, from my laptop to my desktop. Both are running Slackware 11. The instructions and tutorials all claim it works automagically -- configure ssh_config and sshd_config, ssh -X user@remotebox, and you're gold. However, $DISPLAY is not being set when I SSH in, where any recent post on the topic says it should be. I've checked /etc/profile on the remote box, and it's not doing anything to $DISPLAY; the only two files in my home directory are .bash_history and an empty .Xauthority. This is new to me, so if there's something I might have overlooked, please tell me.
I have gotten this same error. I have X11 running fine on the remote computer on DISPLAY :10, and when I try to ssh with -Y or -X, I can ssh in, but have no display. When I type echo $DISPLAY in ssh, I get nothing back. I have also tried logging in to ssh as root with -Y and -X, and I get the same scenario. I am running Ubuntu 10.04 x64 on the remote computer and openssh (Maemo ARM) on the client.
I will use the term "server" and "client", knowing that X is Server<->Server architecture and server/client is a misnomer but it helps facilitate a discussion. There are several things that can cause this. You've ruled out the simple ones:
DISPLAY is not set on client (you explicitly set it)
xhost + (not needed with SSH tunneling)
SSH supports X forwarding (make sure /etc/ssh/sshd_config is set to allow this)
Make sure your SSH on the "server" was compiled to to allow X (most RPM and YUM available packages are)
The other factor could be a missing library or something on your "server" related to X.
I solved this problem by installing my missing X subsystem via yum:
yum install xorg-x11-server-Xdmx.x86_64
yum install xterm.x86_64
yum install xorg-x11-xinit.x86_64
Then when I rebooted the server (I could have started everything manually) it worked. I could