LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Certification (https://www.linuxquestions.org/questions/linux-certification-46/)
-   -   Exam simulator all good options, just one answer (https://www.linuxquestions.org/questions/linux-certification-46/exam-simulator-all-good-options-just-one-answer-668069/)

mechdude 09-06-2008 10:39 PM

Exam simulator all good options, just one answer
 
Hi, I'm preparing to take a LPIC-1 certification. On a test simulator, I got this question to answer:
Quote:

You started an X-application with the parameter -display foo:0 but you get
the message "Can't open display". What is the reason?

Choose the best answer.
  • foo is not known, try it with it's IP-address
  • you have to use foo:1 instead of foo:0
  • you must run the command "xhost foo" before the above command
  • you must run "xhost yourcomputer" on foo before the above command
  • you must be root to display something on other computer's screen

all of them make sense to me, however just one answer is permitted.

Opinions?

custangro 09-07-2008 10:48 AM

I think it's this one...

you must run "xhost yourcomputer" on foo before the above command

mechdude 09-07-2008 04:21 PM

Tested for "cannot open display" error
 
Quote:

Originally Posted by custangro (Post 3272429)
I think it's this one...

you must run "xhost yourcomputer" on foo before the above command

Yep. I chose that one, but in doubt I tested the other options on my Fedora 9 box. All of them gave me a "cannot open display" error.


All times are GMT -5. The time now is 12:02 AM.