Click to See Complete Forum and Search --> : X session problems.....


Pinnacle101
11-11-2001, 09:16 AM
Does anybody know how to solve this little problem of mine?
When I try to start X (KDE on RH 7.1) i se the following on the screen:

.....
.....
.....
(**)Mouse0: Core Pointer
(==)Mouse0: Buttons: 3
(II)Keyboard "Keyboard0" handled by legacy driver
(II)XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
/root/.Xclients: /root/.Xclients-default: No such file or directory
/root/.Xclients: exec: /root/.Xclients-default: cannot execute: No such file or directory

Waiting for X server to shut down


Then nothing happens, I'll get "kicked" back to the Shell again.
:confused:

[ 11 November 2001: Message edited by: Pinnacle101 ]

error27
11-11-2001, 01:49 PM
Why are you logged in as root?

vee-eye
11-11-2001, 02:00 PM
Try this:

switchdesk kde
startx

The switchdesk command creates the files .Xclients and .Xclients-default, which the startx script can't find. It also edits the files so that kde is executed with the startx script. You can change kde to gnome, for example, if you want.

P.S. You're logged in as root. If you want to startx as root then you'll have to execute the above commands as root too. If you want to startx as a user then execute the commands as a user.

[ 11 November 2001: Message edited by: vee-eye ]

Pinnacle101
11-11-2001, 03:57 PM
The last reply worked!!
Thank you all for your help.

:D