On Mon, 26 Sep 2005 23:48:13 -0400
John Mallett wrote:
> Ctrl Alt F1
> That will put into a terminal
>
> xinit -- /usr/X11R6/bin/X :2
why :2 ? The first X server is :0, usually you would make the second one :1
>
> Should start Xwindows.
> Then move the mouse up to the terminal and type startkde&
>
>
whether there is a terminal on that second X session will depend what
your distro (or you) have set up to start when X is started through
xinit. The startup of X and what other processes are run is bloody
complex, and compounded by the fact that every distro has a different
spin on doing it. There are many ways to start X, eg:
X
startx
xinit
via xdm|gdm|kdm
Anyway, from man xinit:
"The xinit program is used to start the X Window System server and a
first client program on systems that cannot start X directly from
/etc/init or in environments that use multiple window systems. When
this first client exits, xinit will kill the X server and then
terminate.
If no specific client program is given on the command line, xinit will
look for a file in the user's home directory called .xinitrc to run as a
shell script to start up client programs. If no such file exists,
xinit will use the following as a default:
xterm -geometry +1+1 -n login -display :0
If no specific server program is given on the command line, xinit will
look for a file in the user's home directory called .xserverrc to run as
a shell script to start up the server. If no such file exists, xinit
will use the following as a default:
X :0"
As you can see, precisely what is run as a client depends on what is in
~/.xinitrc - and most distros also have defaults below that, which may
or may not start an xterm. For example my machine by default starts
gnome when I enter xinit -- /usr/X11R6/bin/X :2 (as the user who was
logged into the cosole it was run from)
> and Ctrl-Alt-F8 Ctrl-Alt-F7 to change
>
> Once you have the Xwindows up and running you could ssh into another machine
> and then run startX or startkde.
>
> Works ok in knoppix but I think that I had to be root in Mandriva. Dont know
> how it will wooork in suse though
The last thing to note is that your method will NOT start kdm (ie the
little manager that takes your username and password and logs you into
the display manager of your choice). It logs you straight into kde as
the user you were running as in the console.
--
Nick Rout <[EMAIL PROTECTED]>