Solaris 公用桌面环境:用户指南

使用 remsh

remsh 命令在远程主机上启动一个命令解释器,执行某些客户机动作(经常是启动该主机上的终端仿真器),并且在需要时将显示重新定向回原始系统。

语法为:

remsh remote -n client -display system:display[.screen]

其中:

remote— 远程主机名

client— 要在远程主机上运行的程序

system:display[ .screen]—将要显示结果的主机和显示器

remsh 命令经常用于定制访问其它主机的菜单。

例如,下列命令在名为 xload 的远程主机上运行 xload,并将输出定向回您的系统 here

remsh there -n /usr/bin/X11/xload -display here:0.0 &