100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CNIT 340 Exam 2 Questions And Answers With Verified Solutions Latest Updated 2024 $10.49   Add to cart

Exam (elaborations)

CNIT 340 Exam 2 Questions And Answers With Verified Solutions Latest Updated 2024

 2 views  0 purchase
  • Course
  • CNIT
  • Institution
  • CNIT

CNIT 340 Exam 2 Questions And Answers With Verified Solutions Latest Updated 2024

Preview 3 out of 17  pages

  • September 26, 2024
  • 17
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • aka display server
  • CNIT
  • CNIT
avatar-seller
classhub
CNIT 340 Exam 2 Questions And
Answers With Verified Solutions Latest
Updated 2024
AKA Display server - ANSWER✔✔X-server

Software that presents the output of an application to the display -
ANSWER✔✔X-server

Located on the computer where the end user is working - ANSWER✔✔x-server

GUI applications themselves - ANSWER✔✔x-client

What does the x-client GUI do? - ANSWER✔✔- sends graphical request
- gets user input

T/F: X-Client is linked with X-Server through X protocol translated by Xlib -
ANSWER✔✔T

The computer - ANSWER✔✔host

A ____ can be an X Server, a X client, or both - ANSWER✔✔host

A ____ is equivalent to a keyboard and monitor combination - ANSWER✔✔display

Each server has at least ____ display - ANSWER✔✔one

A virtual desktop - ANSWER✔✔Screen

Each display has at least ____ screen - ANSWER✔✔one

T/F: A display may have multiple screens - ANSWER✔✔T

What command starts an X Windows enviornment? - ANSWER✔✔xstart

,T/F: X display manager will prompt for just a username - ANSWER✔✔F
- username and password

Where is the X display manager usually located? - ANSWER✔✔/etc/X11 folder

Display manager will execute ____ shell script to setup the user's desktop
environment - ANSWER✔✔xsession

xsession starts all the programs in background, except ____ - ANSWER✔✔the last
one

how to store in the DISPLAY environment variable -
ANSWER✔✔DISPLAY=host.domain.name:x.y; export DISPLAY
- x is the display number
- y is the screen number

T/F: for the display x.y, 0.0 is typically correct - ANSWER✔✔T

T/F: Display set in one shell (xterm) and will not work in a different shell -
ANSWER✔✔T

X still has ____ and ____ - ANSWER✔✔stdout and stderr

how do you select DISPLAY? - ANSWER✔✔the -display flag
ex:
dir/app -display host.domain:x.y

How do you add an allowed host? - ANSWER✔✔xhost +hostname

How do you remove an allowed host? - ANSWER✔✔xhost -hostname

Why do we need X11 over SSH? - ANSWER✔✔- increased security
- Allows X to pass through firewalls configured to only allow secure protocols
- The display server is "tricked" into believing the remote X client is a local X client

, what is different with the display variable when using X11 on SSH? - ANSWER✔✔x
starts at 10 and increments each SSH

DISPLAY=localhost:10.0

How do you enable X11 tunneling? - ANSWER✔✔ssh -X remote host

How do you turn off X11 tunneling? - ANSWER✔✔ssh -x remote host

What are the three I/O streams in Unix/Linux - ANSWER✔✔- stdin
- stdout
- stderr

where input to the application is sourced - ANSWER✔✔stdin

where output from the application is sent - ANSWER✔✔stdout

where errors messages are sent - ANSWER✔✔stderr

How to redirect input and output streams? - ANSWER✔✔/dev/null

How to 'filter' unwanted output? - ANSWER✔✔grep

What must be the first line of a bash script? - ANSWER✔✔#!/path/to/bash
ex:
#!/bin/bash

Why have #!/bin/bash be the first line? - ANSWER✔✔- Indicates which shell to
use for the script
- A new instance of the shell is forked and the remainder of the code runs in this
shell

What type of file is a shell script (binary, text, library, or?) - ANSWER✔✔Test file
(UNIX text)

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller classhub. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75632 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.49
  • (0)
  Add to cart