xterm terminal is powerfull. It is available with almost all variants of Unix OS.
Explanation of switches available for xterm:
======================================================================
-T "Title name" : Used for displaying title
-bg : For background color
-fg : For foreground color
-fn : For font name (it can be name as well as size also)
-e : This x-application will open in xterm window
-geometry 180x60 : To define xterm's window size and location (optional)
-display : To send the xterm's display on "Hostname" (i.e. for remote display)
How to open Xterm on local system:
======================================================================
xterm -T "This xterm is from: `whoami`@`hostname`" -bg black -fg white -fn fixed -geometry 180x60
xterm -T "This xterm is from: `whoami`@`hostname`" -bg black -fg white -fn "*-fixed-*-*-*-20-*" -geometry 180x60
How to open Xterm on remote system:
======================================================================
xterm -T "This xterm is from: `whoami`@`hostname`" -bg black -fg white -fn fixed -display 10.10.10.230:6.0
xterm -T "This xterm is from: `whoami`@`hostname`" -bg black -fg white -fn "*-fixed-*-*-*-20-*" -display 10.10.10.230:6.0
xterm -T "This xterm is from: `whoami`@`hostname`" -bg black -fg white -fn fixed -display 10.10.10.230:6.0 -e xclock
4 Comments
While executing the xclock command on local user prompting below error messages.
ReplyDeletelc$ xclock
Error: Can't open display: 10.37.93.100:0
Exeuted below steps.
#/usr/dt/bin/dtconfig -e
# /sbin/init.d/dtlogin.rc stop
# /sbin/init.d/dtlogin.rc start
export DISPLAY=10.37.93.100:0
Still same problem....
9F70C774
ReplyDeleteUrfa
Malatya
Burdur
Erzincan
Manisa
Ağrı
Ardahan
Adıyaman
Yalova
B070A031
ReplyDeleteÇivril
Çerkezköy
Silifke
Şile
Burhaniye
Çayyolu
Etlik
Kandıra
Elbistan
E4AD0663
ReplyDeleteYeşilyurt
Soma
Fatsa
Akdeniz
Şile
Beypazarı
Kayapınar
Kozan
Milas