Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-21-2008, 02:29 PM   #1
john test
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Where is the value that defines SCREEN stored?

In the effort to bring up XWin functionality, trial and error process reealed "export DISPLAU=" to be the final setting.

Is there a variable or configuration file that defines the value that the variable "DISPLAY" must match in order to get X apps to work?

Is there a definition for each of the zeros in :0.0?
What is the difference between :0.0 and :10.0
would there ever be a case for :0.1 or :11.2?
Old 09-21-2008, 04:29 PM   #2
LQ Newbie
Registered: Sep 2008
Location: United Kingdom
Distribution: Slackware 12.0
Posts: 13

Rep: Reputation: 0
Not sure, but I think the :0.0 are xy coordinates.
If you look in your xorg.conf, in the "Screen" section you should find somewhere:
Viewport   0 0
I think it's that.
Usually when I set my display I just put:
export DISPLAY=:0.0
Old 09-22-2008, 01:24 PM   #3
john test
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Original Poster
Rep: Reputation: 35
Thanks for the response!
My xorg.conf lies in /etc/X11, but contains no "Viewport" and as you can see from below, the closest I come is the BusID "PCI:1:0:0" under "Device" --- the Sections for "Screen" and "Monitor" have no reference.
Like you I do "export DISPLAY=:0.0" and it works but there must be something to compare "DISPLAY" to in order to get a match.
I seem to have several files that contain xorg.conf in their names. What path are you using to locate your xorg.conf?

partial xorg.conf below

Section "Device"
Identifier "VIA Technologies, Inc. UniChrome Pro IGP"
Driver "via"
BusID "PCI:1:0:0"

Section "Monitor"
Identifier "DELL 1901FP"
Option "DPMS"

Section "Screen"
Identifier "Default Screen"
Device "VIA Technologies, Inc. UniChrome Pro IGP"
Monitor "DELL 1901FP"
DefaultDepth 24
SubSection "Display"
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MAC OS X defines son_t Programming 2 07-24-2007 04:20 AM
typedef defines which type? kpachopoulos Programming 1 11-10-2005 02:46 AM
override defines alaios Programming 1 09-14-2005 10:40 AM
Info displayed to screen at boot stored somewhere? jfi Linux - Newbie 3 12-03-2003 05:19 PM
OS Conditional Defines kevin.cowley Programming 1 09-24-2003 03:54 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:49 PM.

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