chhamilton
September 6th, 2008, 04:05 AM
I'm experiencing what appears to be a similar problem that others have discussed (white screen or blank screen with text cursor) when launching multiple simultaneous X sessions.
Here is what is happening:
(1) Login as user A (on terminal 7)
(2) Select Switch User -> Start New Session
(3) Login as user B (ends up on terminal 9, as terminal 8 is a text console and appears to be full of startup/boot related messages)
(4) Switch back to user A's session with Ctrl-Alt-F7.
After (4), the screen is completely black with a normal X mouse cursor. If I move the cursor around, it will change shape corresponding to the shape it should take given the application under the cursor in that area (for example a text cursor over a Konsole app, or a resize cursor when over the corner of a window). The X session is completely functional, it's just that *none* of the desktop gets drawn except for the cursor.
I can switch back to user B's session (Ctrl-Alt-F9), and everything draws as it should.
Here's the weird bit: if I run 'xrandr' from user A's session, then the screen will redraw and all is normal. However, now when I go back to user B's session, it's *his* session that is black with a mouse cursor. Running 'xrandr' from that session makes X start drawing itself once again, and pushes the problem back to the other user.
As a current workaround, I've bound a hotkey to run 'xrandr' so I can always force a 'refresh' so to speak. A better 'workaround' would be for xrandr to run automatically whenever switching to a given session. Are there any xevents fired off when an Xserver is given ownership of the screen, or any scripts run when doing session switches?
Ideally, I'd love it if somebody could tell me what is *actually* going on, and offer up a proper fix. Ideas?
I'm running Kubuntu Hardy (8.04) with KDE 3.5 on a Thinkpad X60t.
Regards,
Chris
Here is what is happening:
(1) Login as user A (on terminal 7)
(2) Select Switch User -> Start New Session
(3) Login as user B (ends up on terminal 9, as terminal 8 is a text console and appears to be full of startup/boot related messages)
(4) Switch back to user A's session with Ctrl-Alt-F7.
After (4), the screen is completely black with a normal X mouse cursor. If I move the cursor around, it will change shape corresponding to the shape it should take given the application under the cursor in that area (for example a text cursor over a Konsole app, or a resize cursor when over the corner of a window). The X session is completely functional, it's just that *none* of the desktop gets drawn except for the cursor.
I can switch back to user B's session (Ctrl-Alt-F9), and everything draws as it should.
Here's the weird bit: if I run 'xrandr' from user A's session, then the screen will redraw and all is normal. However, now when I go back to user B's session, it's *his* session that is black with a mouse cursor. Running 'xrandr' from that session makes X start drawing itself once again, and pushes the problem back to the other user.
As a current workaround, I've bound a hotkey to run 'xrandr' so I can always force a 'refresh' so to speak. A better 'workaround' would be for xrandr to run automatically whenever switching to a given session. Are there any xevents fired off when an Xserver is given ownership of the screen, or any scripts run when doing session switches?
Ideally, I'd love it if somebody could tell me what is *actually* going on, and offer up a proper fix. Ideas?
I'm running Kubuntu Hardy (8.04) with KDE 3.5 on a Thinkpad X60t.
Regards,
Chris