Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] radeon and radeonfb both loaded
Date: Wed, 22 Jul 2009 00:43:45
Message-Id: 5bdc1c8b0907211743q5e70054cne3be3a419fe68f67@mail.gmail.com
In Reply to: Re: [gentoo-user] radeon and radeonfb both loaded by Mick
1 On Tue, Jul 21, 2009 at 4:00 PM, Mick<michaelkintzios@×××××.com> wrote:
2 > On Tuesday 21 July 2009, Mark Knecht wrote:
3 >> On Tue, Jul 21, 2009 at 10:56 AM, Mick<michaelkintzios@×××××.com> wrote:
4 >
5 >> > roughly is equivalent to 1210x907 pixels.  Run 'xdpyinfo -display :0.0'
6 >> > to see the dimensions in rounded numbers.
7 >
8 >> OK, there is possibly a little extra difficulty to get this run, but
9 >> it's likely just ssh stuff or possibly not enabling something in X11.
10 >>
11 >> 1) I first ssh into my dad's Gentoo machine. When I try to run the
12 >> command through the ssh tunnel I get this:
13 >>
14 >> gandalf ~ # xdpyinfo -display :0.0
15 >> Xlib: connection to ":0.0" refused by server
16 >> Xlib: Protocol not supported by server
17 >>
18 >> xdpyinfo:  unable to open display ":0.0".
19 >> gandalf ~ #
20 >>
21 >> I then ssh into my mom's Gentoo machine
22 >>
23 >> gandalf ~ # !ssh
24 >> ssh DesertFlower
25 >> Password:
26 >> Last login: Mon Jul 20 19:29:10 PDT 2009 from gandalf on pts/0
27 >> DesertFlower ~ # xdpyinfo -display :0.0
28 >> Xlib: connection to ":0.0" refused by server
29 >> Xlib: No protocol specified
30 >>
31 >> xdpyinfo:  unable to open display ":0.0".
32 >> DesertFlower ~ #
33 >>
34 >> Right now no one is logged into either machine. Both are presumably
35 >> sitting with gdm login screens.
36 >
37 > Hmm, it could be an ssh thing, not sure, probably an xauth thing (have a look
38 > at man xauth).  See if setting your IP address allows to access your parents
39 > machine:
40 >
41 > xdpyinfo -display XXX.XXX.XX.XX:0.0  <--where XXX.XXX.XX.XX is your IP address
42 >
43 > of try to set the relevant env variable: setenv DISPLAY XXX.XXX.XXX.XXX:0 at
44 > your client machine first.
45 >
46 > Alternatively, ask them to login and then use the same login credentials.
47 >
48 > HTH.
49 > --
50 > Regards,
51 > Mick
52 >
53 No luck with -display and any IP address I can think of - my address
54 from the net, my local address.
55
56 However, there is xdpyinfo -queryExtensions and in that data I see this:
57
58 mark@gandalf ~ $ xdpyinfo -queryExtensions
59 name of display: localhost:10.0
60 version number: 11.0
61 vendor string: The X.Org Foundation
62 vendor release number: 10503000
63 X.Org version: 1.5.3
64 maximum request size: 16777212 bytes
65 motion buffer size: 256
66 <SNIP>
67
68 screen #0:
69 print screen: no
70 dimensions: 1280x1024 pixels (338x270 millimeters)
71 resolution: 96x96 dots per inch
72 depths (7): 16, 1, 4, 8, 15, 24, 32
73 root window id: 0x80
74 depth of root window: 16 planes
75 number of colormaps: minimum 1, maximum 1
76
77
78 So on my dad's machine, which I know I set up as 1280x1024, I get the
79 right answer.
80
81 On my mom's machine however, which I have to
82
83 mark@DesertFlower ~ $ xdpyinfo -queryExtensions
84 name of display: localhost:10.0
85 version number: 11.0
86 vendor string: The X.Org Foundation
87 vendor release number: 10503000
88 X.Org version: 1.5.3
89 maximum request size: 16777212 bytes
90 <SNIP>
91 screen #0:
92 print screen: no
93 dimensions: 1280x1024 pixels (338x270 millimeters)
94 resolution: 96x96 dots per inch
95 depths (7): 16, 1, 4, 8, 15, 24, 32
96 root window id: 0x80
97 depth of root window: 16 planes
98
99
100 and locally on my machine here I get the same info:
101
102 screen #0:
103 print screen: no
104 dimensions: 1280x1024 pixels (338x270 millimeters)
105 resolution: 96x96 dots per inch
106 depths (7): 16, 1, 4, 8, 15, 24, 32
107 root window id: 0x80
108 depth of root window: 16 planes
109
110 so I'm not sure if I'm looking at their machines or just my own?
111
112 Actually, on my mom's machine it seems it's not really screen #0, it's
113 screen #1 according to the config file, but maybe Xorg actually calls
114 it screen #0 when it's tunning. None the less her default resolution
115 is supposed to be 1024x768 - she has an old small monitor:
116
117 Section "Screen"
118 Identifier "Screen 1"
119 Device "** ATI Radeon (generic) [radeon]"
120 Monitor "My Monitor"
121 DefaultDepth 16
122
123 Subsection "Display"
124 Depth 8
125 Modes "1280x1024" "1024x768" "800x600" "640x480"
126 ViewPort 0 0
127 EndSubsection
128 Subsection "Display"
129 Depth 16
130 Modes "1024x768" "800x600"
131 ViewPort 0 0
132 EndSubsection
133 Subsection "Display"
134 Depth 24
135 Modes "1280x1024" "1024x768" "800x600" "640x480"
136 ViewPort 0 0
137 EndSubsection
138 EndSection
139
140 - Mark

Replies

Subject Author
Re: [gentoo-user] radeon and radeonfb both loaded Mick <michaelkintzios@×××××.com>