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 revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
howtos:window_managers:remotex_linux2linux [2016/07/26 16:59 (UTC)]
ponce [Plain Ol' Vanilla X11 Forwarding]
howtos:window_managers:remotex_linux2linux [2016/07/26 17:00 (UTC)]
ponce [Remote X: Linux to Linux]
Line 1: Line 1:
 ====== Remote X: Linux to Linux ====== ====== Remote X: Linux to Linux ======
  
-<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> +As X11 in its newer versions doesn'​t allow tcp connections by default anymore (see the relative [[https://​cgit.freedesktop.org/​xorg/​xserver/​commit/?​id=cc59be38b7eff52a1d003b390f2994c73ee0b3e9|commit)]],​ since Slackware 14.2 you have to launch your X server explicitly enabling them, like
-====== 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) As X11 in its newer versions doesn'​t allow tcp connections by default anymore (see the relative [[https://​cgit.freedesktop.org/​xorg/​xserver/​commit/?​id=cc59be38b7eff52a1d003b390f2994c73ee0b3e9|commit)]],​ since Slackware 14.2 you have to launch your X server explicitly enabling them, like+
  
      ​startx -- -listen tcp      ​startx -- -listen tcp
  
 if you are using a display manager to launch your X session refer to its documentation for enabling this in its configuration file. if you are using a display manager to launch your X session refer to its documentation for enabling this in its configuration file.
 +====== 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.
  
-2) 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:+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    ​EXAMPLE:​ xhost +192.168.1.36
  
-3) Start the connection from the **client** (the remote) machine to the **server** (your desktop) machine:+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: Connect to the remote machine via ssh/​telnet/​rlogin/​whatever and run:
  

In Other Languages
QR Code
QR Code howtos:window_managers:remotex_linux2linux (generated for current page)