Where Online Learning is simpler!



Please click on " Please watch the video on xterm to learn how to setup the X-Session for a remote computer.

$ whatis xterm

xterm - terminal emulator for X

Examples:

Below are some examples of the xterm command and it's usage:

/usr/bin/xterm

Warning: 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

/var/apache2/2.2/htdocs

uid=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)

Warning: 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

Oracle Corporation SunOS 5.11 snv_151a November 2010

uid=101(wahid) gid=10(staff) groups=10(staff)

XTerm(261)

XTerm(261)

xterm Xt error: Can't open display:

xterm: DISPLAY is not set

xterm Xt error: Can't open display:

xterm: DISPLAY is not set

xterm Xt error: Can't open display:

xterm: DISPLAY is not set

wahid

PID TTY TIME CMD

3748 pts/3 0:00 bash

3778 pts/3 0:00 ps

:0.0

Xlib: connection to ":0.0" refused by server

Xlib: No protocol specified

g

xterm Xt error: Can't open display: :0.0

Xlib: 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

Could not set destroy callback to IM

Could not set destroy callback to IM

Could not set destroy callback to IM

MySolaris% setenv DISPLAY 192.168.1.6:0.0

MySolaris% echo $DISPLAY

192.168.1.6:0.0

MySolaris% xterm -badoption "MySolaris in CSH environment"

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.


Previous Home Page Next



Contact us     |      About us     |      Term of use      |      Copyright © 2000-2025 MyWebUniversity.com ™