Please click on " Please watch the video on xterm to learn how to setup the X-Session for a remote computer.
xterm - terminal emulator for X
Below are some examples of the xterm command and it's usage:
# which xterm/usr/bin/xterm
# xterm --helpWarning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s xterm: DISPLAY is not set
# pwd
/var/apache2/2.2/htdocs
# iduid=0(root) gid=0(root) groups=0(root),1(other),2(bin),3(sys),4(adm),5(uucp),6(mail),7(tty),8(lp),9(nuucp),12(daemon)
# xterm --versionWarning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s xterm: DISPLAY is not set
# su - wahidOracle Corporation SunOS 5.11 snv_151a November 2010
$ iduid=101(wahid) gid=10(staff) groups=10(staff)
$ xterm -vXTerm(261)
$ xterm -versionXTerm(261)
$ xterm --helpxterm Xt error: Can't open display: xterm: DISPLAY is not set
$ xterm --versionxterm Xt error: Can't open display: xterm: DISPLAY is not set
$ xterm -bg darkblue -fg white title "MySolaris"xterm Xt error: Can't open display: xterm: DISPLAY is not set
$ who am i $ whoamiwahid
$ psPID TTY TIME CMD 3748 pts/3 0:00 bash 3778 pts/3 0:00 ps
$ DISPLAY=:0.0 $ export DISPLAY $ echo $DISPLAY:0.0
$ xtermXlib: connection to ":0.0" refused by server Xlib: No protocol specified g xterm Xt error: Can't open display: :0.0
$ who am i $ setenv DISPLAY=192.168.1.6:0.0 $ export DISPLAY $ xtermXlib: connection to "192.168.1.6:0.0" refused by serverg Xlib: No protocol specified xterm Xt error: Can't open display: 192.168.1.6:0.0
$ xterm DISPLAY=192.168.1.6:0.0 $ DISPLAY=192.168.1.6:0.0 $ export DISPLAY $ xterm -bg darkblue -fg white -title "MySolaris"Could not set destroy callback to IM
$ xterm -bg black -fg green -title "-title "MySolaris"Could not set destroy callback to IM
$ xterm -bg black -fg yellow -title "MySolaris"Could not set destroy callback to IM
$ csh192.168.1.6:0.0
xterm: bad command line option "-badoption"
usage: xterm [-/+132] [-C] [-Sccn] [-T string] [-/+ah] [-/+ai] [-/+aw]g
[-b number] [-/+bc] [-bcf milliseconds] [-bcn milliseconds] [-bd color]g
[-/+bdc] [-bg color] [-bw number] [-/+cb] [-cc classrange] [-/+cjk_width]g
[-class string] [-/+cm] [-/+cn] [-cr color] [-/+cu] [-/+dc]g
[-display displayname] [-e command args ...] [-fa pattern] [-fb fontname]g
[-/+fbb] [-/+fbx] [-fd pattern] [-fg color] [-fi fontname] [-fn fontname]g
[-fs size] [-fw fontname] [-fwb fontname] [-fx fontname] [%geom] [#geom]g
[-geometry geom] [-help] [-/+hm] [-/+hold] [-iconic] [-/+ie] [-/+im]g
[-into windowId] [-/+j] [-/+k8] [-kt keyboardtype] [-/+l] [-/+lc]g
[-lcc path] [-leftbar] [-lf filename] [-/+ls] [-/+maximized] [-/+mb]g
[-mc milliseconds] [-/+mesg] [-/+mk_width] [-ms color] [-n string]g
[-name string] [-nb number] [-/+nul] [-/+pc] [-/+pob] [-rightbar] [-/+rv]g
[-/+rvc] [-/+rw] [-/+s] [-/+samename] [-/+sb] [-selbg color] [-selfg color]g
[-/+sf] [-/+si] [-/+sk] [-sl number] [-/+sm] [-/+sp] [-/+t] [-ti termid]g
[-title string] [-tm string] [-tn name] [-/+u8] [-/+uc] [-/+ulc] [-/+ulit]g
[-/+ut] [-/+vb] [-version] [-/+wc] [-/+wf] [-xrm resourcestring]g
[-ziconbeep percent]g
Type xterm -help for a full description.g
MySolaris% xterm -title "MySolaris in CSH environment"
Could not set destroy callback to IM
Please click on " xterm in PDF " format.
Please click on " xterm in HTML " format.