Linux LPI 117-101 # Bonus

12 Questions | Total Attempts: 78

SettingsSettingsSettings
Linux Quizzes & Trivia

Linux lpi testing


Questions and Answers
  • 1. 
    What environment variable will remote X application check to see which X server itshould send output to?
  • 2. 
    What environment variable is used to remotely display another machines X sessionon yours?
    • A. 

      DISPLAY

    • B. 

      XSESSION

    • C. 

      SCREEN

    • D. 

      TTY

    • E. 

      None of the above

  • 3. 
    You are running X in networked environment. You want to allow anyone on yournetwork to display their X applications on your desktop. What command can youuse to disable all access control for X?
  • 4. 
    You wish to enable remote X access for the hosts: Host1, Host2 and Host3.Type in the command and any needed arguments to do this.
  • 5. 
    You are the system administrator for an X server, and experience attempts toinitiate an unathorized session from host21. What command with options andarguments would deny access only to host21 for X sessions?
  • 6. 
    What is the function of the .Xdefaults file?
    • A. 

      Provides the defaults for new users X programs

    • B. 

      A default user X profile, used as a template

    • C. 

      User customizations for programs

    • D. 

      KDE default user configuration file

  • 7. 
    Which of the following is the default XFree86 configuration file?
    • A. 

      /usr/X11R6/etc/XF86Config

    • B. 

      /var/X11/XF86Config

    • C. 

      /etc/X11/XF86Config

    • D. 

      /usr/etc/X11/XF86Config

  • 8. 
    Your senior administrator asked you to change the defaultbackground of his machine, which uses XDM. Which file would you editto achieve this?
    • A. 

      /etc/X11/xdm/Xsetup

    • B. 

      /etc/X11/xdift.conf

    • C. 

      /etc/X11/xdm/Defaults

    • D. 

      /etc/X11/defaults.conf

  • 9. 
    You just started X for the first time and noticed that the display doesnot use the entire screen. What program can you use to fix this?
    • A. 

      Xvidtune

    • B. 

      Xf86config

    • C. 

      XF86Setup

    • D. 

      Tweakscreen

  • 10. 
    Which of the following commands will print the current videosettings to stdout in xf86Config "Modeline " format?
    • A. 

      xinfo -mode

    • B. 

      Xset -info

    • C. 

      Xf86config -list

    • D. 

      Xvidtune -show

  • 11. 
    You are using an application that you want to appear on the screen of anothermachine. What environment variable would you have to set or edit to achieve this?
    • A. 

      DISPLAY

    • B. 

      REMOTE

    • C. 

      REMOTE_XWINDOW

    • D. 

      SCREEN

  • 12. 
    Your Linux machine is set to boot to the graphical runlevel. You have updated someRPMs on your system and now you don't see video when the system boots. Whatline should you add/modify to the /etc/inittab file to boot in console mode?
Back to Top Back to top