LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-15-2010, 02:08 PM   #16
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Rep: Reputation: 21

Quote:
Originally Posted by adamk75 View Post
Are you sure they are seeing the desktop differently, and not just displaying themselves differently? What's the output of 'xdpyinfo -ext XINERAMA | grep head' under KDE and then GNOME?

Adam
Code:
bash-4.1$ xdpyinfo -ext XINERAMA | grep head
  head #0: 1680x1050 @ 0,0
  head #1: 1360x768 @ 1680,282
This is what I got in KDE. The resulting desktop arrangement is attached in my post above.

Relevant portion of xorg.conf:
Code:
Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "ViewSonic VX2235wm"
    HorizSync       30.0 - 82.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "SHARP LCD"
    HorizSync       31.0 - 75.0
    VertRefresh     59.0 - 76.0
    Option         "CustomEdid" "CRT-0: /etc/X11/edid_crt.bin"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
    BusID          "PCI:3:0:0"
    Screen          0
    Option         "ModeValidation" "DFP-0: NoMaxPClkCheck"
    Option         "CustomEdid" "CRT-0: /etc/X11/edid_crt.bin"
    Option         "UseDisplyDevice" "CRT"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "CRT: 1360x768 +1680+282, DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
I think this is what you want. Correct me if I am wrong.
 
Old 07-15-2010, 03:05 PM   #17
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Hmm,
Are we talking about "separate screens" as the "Screen" section in xorg.conf file or monitors sharing virtual desktop?
Please PO be precise - screen comes from xorg.conf - in the xorg.conf you may define several screen-s. If we are talking about a virtual desktop try
Code:
xrandr -q
you should see all you graphic outputs. You can also may you use xrandr to set position of outputs dynamically. ( can may use ? Strange language).
However you have to set the Virtual option in xorg.conf (actually max value 4096x4096).
If any use xrandr not krandr. The latter is a some kind of stuff which never worked for me.

Last edited by igadoter; 07-15-2010 at 03:08 PM. Reason: delayed post
 
Old 07-16-2010, 02:15 AM   #18
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Quote:
Originally Posted by ryerke View Post
Code:
bash-4.1$ xdpyinfo -ext XINERAMA | grep head
  head #0: 1680x1050 @ 0,0
  head #1: 1360x768 @ 1680,282
This is what I got in KDE. The resulting desktop arrangement is attached in my post above.
Alright, and what about gnome?

Adam
 
Old 07-17-2010, 12:22 AM   #19
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Rep: Reputation: 21
Quote:
Originally Posted by adamk75 View Post
Alright, and what about gnome?

Adam
I don' have gnome so I can't do that. My intentions were to present a configuration that the OP may have found useful since the question was about KDE.
 
Old 07-18-2010, 02:48 AM   #20
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Quote:
Originally Posted by ryerke View Post
I don' have gnome so I can't do that. My intentions were to present a configuration that the OP may have found useful since the question was about KDE.
Wait... I just realized that you answered my question (about the xdpyinfo output) that I asked of another poster.
 
Old 07-31-2010, 01:38 PM   #21
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Rep: Reputation: 18
I'm using multimonitor in a nvidia card with two monitors. And I have xorg configured to have two separate X screens without xinerama. But the 2nd screen is blank, I think is a bug on KDE.
Can I have KDE in 1st screen and Xfce on 2nd screen?
 
Old 07-31-2010, 03:27 PM   #22
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
KDE4 does not support running on two or more separate screens at the same time so, yes, this is a bug with KDE (or, at least, a missing feature).

You can start xfce4 on the second screen by running 'DISPLAY=:0.1 startxfce4 &' from a terminal.

Adam
 
Old 07-31-2010, 03:54 PM   #23
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Rep: Reputation: 18
Quote:
Originally Posted by adamk75 View Post
KDE4 does not support running on two or more separate screens at the same time so, yes, this is a bug with KDE (or, at least, a missing feature).

You can start xfce4 on the second screen by running 'DISPLAY=:0.1 startxfce4 &' from a terminal.

Adam
But KDE is running on the 2nd screen, but don't show nothing. How I stop it from running on it and use Xfce there.
 
Old 07-31-2010, 06:26 PM   #24
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Why are you so sure that KDE is running on the 2nd screen? Again, KDE4 does not support running on two or more separate screens at the same time, so unless something has changed *very* recently, that second screen is blank because there is no window manager running on it.

Adam
 
Old 07-31-2010, 07:01 PM   #25
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Rep: Reputation: 18
Quote:
Originally Posted by adamk75 View Post
Why are you so sure that KDE is running on the 2nd screen? Again, KDE4 does not support running on two or more separate screens at the same time, so unless something has changed *very* recently, that second screen is blank because there is no window manager running on it.

Adam
If I write 'DISPLAY=:0.1 konsole' it opens the Konsole on 2nd screen. That doesn't means that KDE is running there?
 
Old 07-31-2010, 07:25 PM   #26
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
No, it doesn't. It means you started konsole on the 2nd screen. That's all.

Adam
 
Old 07-31-2010, 07:41 PM   #27
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Rep: Reputation: 18
The 'DISPLAY=":0.1" startxfce4 &' give this result:


Code:
[kerml@main ~]$ DISPLAY=":0.1" startxfce4 &
[1] 9217
 [kerml@main ~]$ /usr/bin/startxfce4: X server already running on display :0.1
/tmp/xrdb_EO5YQp:1:3: error: invalid preprocessing directive #Those
/tmp/xrdb_EO5YQp:2:3: error: invalid preprocessing directive #or
/tmp/xrdb_EO5YQp:3:3: error: invalid preprocessing directive #Xft
/tmp/xrdb_EO5YQp:4:3: error: invalid preprocessing directive #Xft
xrdb:  "Xft.hinting" on line 9 overrides entry on line 6
xrdb:  "Xft.hintstyle" on line 11 overrides entry on line 7
/tmp/xrdb_EO5YQp:1:3: error: invalid preprocessing directive #Those
/tmp/xrdb_EO5YQp:2:3: error: invalid preprocessing directive #or
/tmp/xrdb_EO5YQp:3:3: error: invalid preprocessing directive #Xft
/tmp/xrdb_EO5YQp:4:3: error: invalid preprocessing directive #Xft
xrdb:  "Xft.hinting" on line 9 overrides entry on line 6
xrdb:  "Xft.hintstyle" on line 11 overrides entry on line 7
Agent pid 9230
xfce4-session: Another session manager is already running
Agent pid 9230 killed

[1]+  Done                    DISPLAY=":0.1" startxfce4
And

Code:
[kerml@main ~]$ DISPLAY=":0.1" startkde &
[1] 10694
 [kerml@main ~]$ KDE seems to be already running on this display.

Maybe I need two X servers? One for each monitor.

Last edited by Laodiceans; 07-31-2010 at 07:49 PM.
 
Old 08-01-2010, 03:24 AM   #28
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Rep: Reputation: 18
KDE is running in 2nd screen. But I can start a different WM there like Openbox.
I put the 2nd screen on right of the 1st on nvidia-settings, still with X screens separated and without xinerama. But with mouse moving on edge of screens I can switch between them.
Then I created a file in ~/.kde/Autostart/ with:

Code:
#!/bin/bash

DISPLAY=:0.1 openbox-session &
And make it executable!

Now I'm configuring Openbox!

Last edited by Laodiceans; 08-01-2010 at 03:26 AM.
 
Old 08-01-2010, 04:19 AM   #29
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Quote:
Originally Posted by Laodiceans View Post
KDE is running in 2nd screen.
Again, what makes you think that?

Adam
 
Old 08-01-2010, 07:57 AM   #30
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Rep: Reputation: 18
This:

Code:
[kerml@main ~]$ DISPLAY=":0.1" startkde &
[1] 10694
 [kerml@main ~]$ KDE seems to be already running on this display.
 
  


Reply


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
Using dual monitors/dual heads displays a black screen (Fedora 6) ttnunam Linux - General 4 04-21-2007 12:50 AM
Setting up Dual Monitors on GeForce 6600GT dual DVI card. monkiidansu Linux - Hardware 1 09-29-2005 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:34 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