[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:remotex_linux2linux [2012/09/11 02:21 (UTC)] – remotex_linux2linux renamed to howtos:remotex_linux2linux nocturnal.slackerhowtos:remotex_linux2linux [2012/09/26 00:42 (UTC)] (current) – deleted page - moved to the howtos:window_managers section mfillpot
Line 1: Line 1:
-====== Remote X: Linux to Linux ====== 
  
-<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> 
-====== Plain Ol' Vanilla X11 Forwarding ====== 
- 
-**NOTE:** in the X11 world, the **SERVER machine** is the one listening for a connection (your desktop).  The **CLIENT machine** is the one initiating the connection (the machine you are executing the commands on).  I know, it sounds backwards but, it is actually correct if you understand the X11 connection. 
- 
-1) Tell your X11 Server Linux box to accept X11 connections from the Client machines with the xhost command. You can add the the command to .bashrc or .profile: 
-   EXAMPLE: xhost +192.168.1.36 
- 
-2) Start the connection from the **client** (the remote) machine to the **server** (your desktop) machine: 
-Connect to the remote machine via ssh/telnet/rlogin/whatever and run: 
- 
-     DISPLAY=X11_SERVER_IP:0;export DISPLAY;APPLICATION_YOU_WANT_TO_RUN & 
-      
-     EXAMPLE: DISPLAY=192.168.1.10:0;export DISPLAY;xterm & 
- 
-====== X11 Forwarding Over SSH====== 
- 
-1) ensure that X11Forwarding is enabled in /etc/ssh/ssh**d**_conf on the **remote machine**. 
- 
-2) ensure that X11Forwarding is enabled in /etc/ssh/ssh_conf on the **local machine**. 
- 
-3) open an X11 forwarded ssh session to the remote machine: 
- 
-     ssh -X USER@REMOTE_MACHINE  
-     XAPPLICATION_YOU_WANT_TO_RUN 
- 
- 
- 
-**PROBLEMS** 
-**PROBLEM:** ssh connection is complaining about an "Invalid MIT-MAGIC-COOKIE". \\ 
-**FIX:** start a less secure ssh session: 
- 
-     ssh -Y USER@REMOTE_MACHINE 
- 
- 
-====== Sources ====== 
-<!-- If you are copying information from another source, then specify that source --> 
-<!-- * Original source: [[http://some.website.org/some/page.html]] --> 
-<!-- Authors are allowed to give credit to themselves! --> 
- * Originally written by [[wiki:user:arfon | arfon]] 
-<!-- * Contributions by [[wiki:user:yyy | User Y]] --> 
- 
-<!-- Please do not modify anything below, except adding new tags.--> 
-<!-- You must remove the tag-word "template" below before saving your new page --> 
-{{tag>howtos software X_Windows X11}} 
 howtos:remotex_linux2linux ()