Riaan's SysAdmin Blog

My tips, howtos, gotchas, snippets and stuff. Use at your own risk!

Solaris

Solaris Display xterm Remote

I had to do the following to display a X terminal remotely.

Solaris 10:
This initial Solaris install was done with the X packages, so I did not need to install anything specific for xauth or xterm.


$ ssh -X root@t41-ldom2
Password:
Last login: Wed Jul 10 10:07:30 2013
/usr/openwin/bin/xauth: creating new authority file /root/.Xauthority
Oracle Corporation SunOS 5.10 Generic Patch January 2005
root@ldom2:~# /usr/openwin/bin/xterm

Solaris 11:

First install a couple packages.  If you previously installed more of the X packages you might not need these two.

 


root@ldom1:~# pkg install pkg:/terminal/xterm@271-0.175.1.0.0.24.1317

root@ldom1:~# pkg install  pkg:/x11/session/xauth@1.0.7-0.175.1.0.0.24.1317

Login with -X


$ ssh -X root@t41-ldom1
Password:
Last login: Wed Jul 10 10:11:49 2013
Oracle Corporation SunOS 5.11 11.1 September 2012
You have new mail.
root@ldom1:~# xterm

admin

Bio Info for Riaan