LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2004, 05:25 PM   #1
natm
Member
 
Registered: Sep 2004
Distribution: Ubuntu 7.04
Posts: 34

Rep: Reputation: 15
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...).
 
Old 10-07-2004, 05:44 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Try gnome-session, or start gnome-session.
good luck.
 
Old 10-07-2004, 06:58 PM   #3
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
If it is on already, why are you starting it again? Are you trying to start 2 separate X sessions at the same time?
 
Old 10-08-2004, 09:24 AM   #4
natm
Member
 
Registered: Sep 2004
Distribution: Ubuntu 7.04
Posts: 34

Original Poster
Rep: Reputation: 15
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.
 
Old 10-09-2004, 12:40 AM   #5
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
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.
 
Old 10-11-2004, 10:38 PM   #6
natm
Member
 
Registered: Sep 2004
Distribution: Ubuntu 7.04
Posts: 34

Original Poster
Rep: Reputation: 15
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.
 
Old 10-12-2004, 07:09 PM   #7
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
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
 
  


Reply



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
Gnome panel keeps crashing when starting gnome-session elluva Linux - Software 3 01-24-2006 04:26 PM
Starting Gnome ikkuh1991 Linux - Newbie 3 03-07-2005 09:40 AM
gnome not starting.. jeopardy Linux - Newbie 7 09-22-2004 07:54 AM
Starting gnome? smac Slackware 10 11-18-2003 01:20 PM
starting x with gnome kubicon *BSD 3 09-19-2003 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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