How would I go about forwarding an X11 program to an arbitrary host while using ssh?
Here's an example:
Bob sshs into host#1(172.17.1.97). I'm on host#2 and I want to send a display to him. So I type xterm -display 172.17.1.97:0.0
It works fine if he simply telnets to host#1 but not if he uses ssh. We must use ssh because some people will be connecting though a proxy into our internal LAN.
The error message I get is:
X11 connection rejected because of wrong authentication.
I'm assuming this error comes from the fact that I don't have the authority to use his X11 forwarding that ssh has automatically set up. Is there any way to get around this? With his approval of course.
Sorry, I misunderstand the question. Try to recompile the deamon, make sure that the program "xauth" is in your path when you compile it. DO a find /usr -name xauth -print to see where it is and add the
Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.
Hello fellow BSD lovers,
I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch.
Welcome to OpenJDK6 on BSD
First let me start with a little …
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn several ways to interact with files and get file information from the bash shell.
ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands.
Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.: