LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > Linux - Certification
User Name
Password
Linux - Certification This forum is for the discussion of all topics relating to Linux certification.

Notices


Reply
  Search this Thread
Old 09-06-2008, 10:39 PM   #1
mechdude
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
Unhappy 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?
 
Old 09-07-2008, 10:48 AM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
I think it's this one...

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

Last edited by custangro; 09-07-2008 at 03:34 PM.
 
Old 09-07-2008, 04:21 PM   #3
mechdude
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Question Tested for "cannot open display" error

Quote:
Originally Posted by custangro View Post
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.
 
  


Reply

Tags
cannot, display, open



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get the RHCE Exam, online exam or at college. hocheetiong Linux - Certification 3 03-16-2020 10:17 AM
HP UX simulator Rahul Kolan Linux - Software 3 08-08-2008 01:48 AM
Simulator Vampyre_2099 Linux - Games 1 02-27-2008 09:07 AM
Z-80 simulator fadelhomsi Linux - Software 2 04-10-2006 10:14 AM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > Linux - Certification

All times are GMT -5. The time now is 07:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration