Showing posts with label X forwarding. Show all posts
Showing posts with label X forwarding. Show all posts

10/22/2013

X Forwarding for text-mode centos

Case:
Machine 1: Centos with GNOME Desktop
Machine 2: Centos in text-mode (with firefox installed)

User 1 on Machine1 needs to use firefox program which runs on Machine2  while Machine2 has no display function. User1 can display firefox browser on his GNOME dekstop by forwarding display request from firefox to X Server on Machine1

Command
$user1@Machine1: ssh -X Machine2 -l user2
$user2@Machine2: firefox


To make X forwarding work, install this package on machine2: xorg-x11-xauth.
For more: https://en.wikipedia.org/wiki/X_Window_System_core_protocol