[Level 2] How to display GUI to remote host.

If you want to display GUI from remote host to local host.
You can enable it as following steps:
1. enable gdm tcp listener.

local# vi /etc/gdm/gdm.schemas
...
<schema>
<key>security/DisallowTCP <key>
<signature>b<signature>
<default>false<default>
<schema>
...  
PS. default is true.

2. restart local gdm.

local# pkill -HUP X


3. enable remote session.

local# xhost +


4. setting remote display

remote# export DISPLAY=local_ip:0.0
or login remote server with ssh -X
local# ssh -X remote-host

5. try with xclock

remote# xclock


Wish this helps.
regards,
Stanley Huang

Comments

Popular posts from this blog

[Level 2] Shell Interactive With Zenity Episode 5 -- list

[Level 2] iif in Python