dipli othoni
Michael Menegakis
admin at www0.org
Wed Sep 18 23:25:02 EEST 2002
On Wed, 18 Sep 2002 22:52:55 +0300
Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> On 2002-09-18 20:21, Michael Menegakis <admin at www0.org> wrote:
> > On Wed, 18 Sep 2002 20:16:13 +0300
> > "George Kourtis" <gkourtis at freemail.gr> wrote:
> > > Υπάρχει κανένας που να ξέρει ή να έχει στήσει μηχάνημα με διπλή
> > > κάρτα vga και νά τρέχει 2 X-session ?
> >
> > Εννοείς 2 servers ή μιλάς για τον χωρισμό του desktop σε δύο μέρη
> > τρέχοντας έναν x server;
>
> Θεωρητικά το DISPLAY έχει δυο μέρη, που χωρίζονται από μια τελεία:
>
> export DISPLAY=localhost:0.0
>
> Το πρώτο λέγεται "display" αν θυμάμαι καλά, και το δεύτερο "screen".
> Επίσης θεωρητικά, ο ίδιος X server μπορεί να ελέγχει πολλαπλά screens
> αλλά ένα display.
>
> Πρακτικά, έχω τρέξει πολλά χρόνια πριν δυο X servers στο ίδιο
> μηχάνημα, δίνοντας κάτι σαν (συγχωρήστε μου οποιαδήποτε λάθη, δεν έχω
> X11 στημένα αυτή τη στιγμή):
>
> $ startx -- :0 &
> $ startx -- :1 &
Nai, sthn periptwsh tou dual head sigkekrimena exw thn entupwsh pws
einai 0.0 to prwto kanali kai 0.1 to deutero mias kai einai i idia
suskeuh. Endiaferomouna kai egw apo sxetikes empeiries panw sto thema
mias kai katafera na ksekinisw xserver me dio diaforetikes othones kai
xwrismo tou desktop se 2 merh, alla arneitai pismatika na ksekinisei to
kathe kanali ksexwrista me th xrhsh 2 servers.
To pithanotero einai na ftaine oi ellhpeis drivers ths radeon, mias kai
gia paradeigma to DRI se mena de douleuei sto dual head (kai o logos pou
den krathsa ekeino to configuration).
Gia na boithisw kanenan pou molis ksekinaei se auta, na pw pws
xreiazontai ksexwrista, device, monitor kai screen sections sto
xf86config.
Edw einai ena paradeigma apo to config pou exw auth th stigmh:
Section "Device"
Identifier "ATI Radeon 7500"
Driver "radeon"
BusID "PCI:1:0:0"
Screen 0 <---------- auto xreiazetai gia na kathorizetai to
kanali. To kanali 0 (prwto) einai sto DVI output, toylaxiston stis
radeon kai oxi to VGA.
EndSection
Section "Device"
Identifier "ATI Radeon 7500-1"
Driver "radeon"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Monitor"
Identifier "Mitsubishi Diamond Plus 200"
HorizSync 30-108
VertRefresh 50-160
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Targa 14"
HorizSync 30-50
VertRefresh 50-100
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen 0"
Device "ATI Radeon 7500"
Monitor "Mitsubishi Diamond Plus 200"
DefaultDepth 16
mpla mpla mpla
ection "Screen"
Identifier "Screen 1"
Device "ATI Radeon 7500-1"
Monitor "Targa 14"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "800x600"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Layout 0"
Screen "Screen 0"
Screen "Screen 1" Rightof "Screen 0" <--- xwrizei
to X desktop se dio merh opou h prwth othonh einai sta aristera tis
deuterhs.
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
To kalo einai oti de xreiazetai na exoume polla diaforetika XF86config
files.
An apla kanoume comment to "Screen "Screen 1" Rightof "Screen
0"" sto parapanw, tha exoume ton klasiko server mas me th mia othonh.
Episis uparxoun diaforoi tropoi na ksekinisoume mia screen opws:
xinit -e wmaker -screen "screen 0"
h'
xinit -e wmaker -layout "layout 1" <--- sth periptwsh pou kanoume kai
2o layout.
Episis, an theloume na blepoume ena parathiro "miso-miso" sth mia othonh
kai sthn allh psaxnoume gia "xinerama". To xinerama den xreiazetai gia
ton aplo xwrismo tou desktop se 2 merh stis duo othones. To mouse
kineitai kanonika kai se auth th periptwsh.
Ayta exw mathei, elpizw na boithane kapoion, tha ithela na ksanarwthsw
an yparxei kati pou ksexnaw(peran tou gegonotos oti einai pithanon na
ftaiei o driver ths radeon) kai otan prospathw na ksekinisw 2
ksexwristous servers pernw "device not found" (sto deutero kanali) enw
to prwto douleuei kanonika + me enan xserver den yparxei problhma to
dual head.
More information about the Linux-greek-users
mailing list