LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   starting gnome (https://www.linuxquestions.org/questions/linux-newbie-8/starting-gnome-239983/)

natm 10-07-2004 05:25 PM

starting gnome
 
I know this is kind of stupid, but what is the command line for starting gnome? I know that it is installed and it starts when I log in but I want to be able to start it in the other screens (ctrl+alt+F5 etc...).

Peacedog 10-07-2004 05:44 PM

Try gnome-session, or start gnome-session.
good luck.

amfoster 10-07-2004 06:58 PM

If it is on already, why are you starting it again? Are you trying to start 2 separate X sessions at the same time?

natm 10-08-2004 09:24 AM

gnome
 
yes, I am trying to start 2 seperate x sessions at once. I want to have multiple users logged on with the graphical client.

amfoster 10-09-2004 12:40 AM

On a second terminal log in with the other user you want to have the X session for then type this little hack....

startx --:1 vt8

Your X session is on 0 and the new user will be on display 1 on terminal F8 You can substitute any terminal you want, and I am using display 1 for the other guys session. If the vncserver is running you may have to use display 2 or another one.

natm 10-11-2004 10:38 PM

it gives me the error:

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again


Please consult the The X.Org foundation support
at http://wiki.X.Org
for help.


Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.
xinit: unable to connect to X server
xinit: No such process (errno 3): Server error.

amfoster 10-12-2004 07:09 PM

You will always get that message if X is started already and you tye\pe startx,

but

if you log in on a terminal such as tt2 and isuue that command listed, it will start an x session in f8 assuming you type vt8.

Let me know if that didnt work for you. (for certain) as I just did it here and it worked fine. In fact I did this:

logged in on tty2 (cntl-alt-f2 key)
startx -- :2 vt8

logged in on tty3
startx -- :3 vt9

and had 3 separate X sessions running.

OK, I'm sorry, I see the problem.
In the previous post I typed --:2 there is a space tyhere such as

startx -- :2 vt8


All times are GMT -5. The time now is 01:22 PM.