LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 01-12-2011, 06:13 PM   #1
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 334

Rep: Reputation: 30
can't run gnome


I have installed arch linux on virtual box
but while trying to run
#gdm start

the message

could't connect to system bus:failed to connect to socket to /var/run/dbus/system_bus_socket


shows
what is upto?
 
Old 01-13-2011, 08:52 AM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Try running the command gnome-session to try to start GNOME without GDM.
 
Old 01-15-2011, 06:33 AM   #3
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 334

Original Poster
Rep: Reputation: 30
Thank u MTK for the reply

I have tried but it shows the message

**(gnome-session:735)** cannot open display
 
Old 01-15-2011, 08:09 AM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Do you have an /etc/X11/xorg.conf file? If so, post it.
 
Old 01-15-2011, 09:46 AM   #5
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 334

Original Poster
Rep: Reputation: 30
no /etc/X11/xorg.conf file

The directory /etc/X11 contains

sessions
twm
xinit
xorg.conf.d
 
Old 01-15-2011, 09:54 AM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
When there is no xorg.conf file, it tries to automatically detect the settings.

Anyway, how about:

Code:
xinit /usr/bin/twm
?
 
Old 01-16-2011, 05:53 AM   #7
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 334

Original Poster
Rep: Reputation: 30
xinit /usr/bin/twm

Something happening

mm may be loading twm but suddenly a blank screen which is stucked appears fully black -- i have to forcefully shutdown to recover from it
 
Old 01-16-2011, 08:20 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Quote:
Originally Posted by sunils1973 View Post
xinit /usr/bin/twm

Something happening

mm may be loading twm but suddenly a blank screen which is stucked appears fully black -- i have to forcefully shutdown to recover from it
Did you try clicking on it with your mouse? A menu should pop up if TWM is working. I forgot which button, I think it's the left one, but try all of them.

Also, did you try Ctrl+Alt+F2 to get out of it?

Last edited by MTK358; 01-16-2011 at 08:21 AM.
 
Old 01-16-2011, 10:28 AM   #9
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 334

Original Poster
Rep: Reputation: 30
Yes exactly

when left button clicked, a context menu appeared. Selected exit and get out of it.
The last fewlines of terminal are

using config directory /etc/X11/xorg.conf.d
failed to load module "vboxvideo" (modules does not exist, 0)
failed to load module "fdev" (module does not exist , 0)
xinit:connection to X server lost
 
Old 01-16-2011, 10:51 AM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Since there was a menu, that means X and TWM (which is actually an extremely minimal desktop that comes bundled with X) worked fine.

It's probably a GNOME problem.

Do you have dbus and hal installed, and if so, did you add them to the DAEMONS array in /etc/rc.conf?

Last edited by MTK358; 01-16-2011 at 10:55 AM.
 
Old 01-16-2011, 12:19 PM   #11
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 334

Original Poster
Rep: Reputation: 30
dbus was already installed

there was some problem while updating hal

included both in th e daemons array

when starting gdm

The login box arrived and after entering the password, it becomes stuck. Cannot recover by using menu as in twm. Also pressing Alt+Ctrl+f2 invokes the main linux interface(host ).

Should I reinstall gdm?
 
Old 01-16-2011, 12:33 PM   #12
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Quote:
Originally Posted by sunils1973 View Post
Cannot recover by using menu as in twm.
What do you mean? Do you expect there to be a TWM-style menu in GDM?

Quote:
Originally Posted by sunils1973 View Post
Also pressing Alt+Ctrl+f2 invokes the main linux interface(host ).
What's a "main linux interface (host)"? The command line?

Anyway,it's when you said that you had to reset, I wondered if it would work. Now that it doesn't get stuck, it doesn't matter.

Also, did you put dbus before hal in the DAEMONS array (remember that you have to reboot for it to take effect)?
 
Old 01-17-2011, 07:09 AM   #13
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 334

Original Poster
Rep: Reputation: 30
Oh sorry

This arch is installed in virtualbox under debian lenny as host operating system
for getting arch linux I have to press the right control key. While running the gdm command, username and passwod is asked and the cursor changes to shape of small watch. Afterwards no progress. The background appears as black and the cursor is the small watch.

The control toggles between virtual machine(arch) and host (debian) by using the right control key. We should activate the ctrl+alt+f2 when the virtual machine gets control. Otherwise it will interpret it as the host key combination and it shuts down the debian system.

It means that after running gdm, I am not able to get the control for arch virtual machine. Therefore I have to get out from the situation by closing virtual machine from debian.


Yes I have put the dbus and hal as mentioned.

the line on the /etc/rc.conf file is

DAEMONS=(syslog-ng network netfs crond dbus hal)
 
Old 01-17-2011, 07:59 AM   #14
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
OK, I remember now, for VirtualBox I think you have to use just Alt+F? (without Ctrl) to switch terminals.

And did you reboot the VM after editing DAEMONS? If not, running these should have the same results:

Code:
# /etc/rc.d/dbus start
# /etc/rc.d/hal start
And then, could you try this:

Code:
gnome-session &> ~/gnome-session_output.txt
And attaching the file ~/gnome-session_output.txt to your post.

Last edited by MTK358; 01-17-2011 at 08:01 AM.
 
Old 01-17-2011, 10:47 AM   #15
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 334

Original Poster
Rep: Reputation: 30
**(gnome-session:787):WARNING ** :cannot open display

How can I attach the text file generated in virtual machine when the display is not working.

above lines I have typed
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do i run Gnome on SUSE 9.2? NewToLinuxOS SUSE / openSUSE 4 03-08-2005 11:26 PM
how do i run GNOME from the terminal? help! kissmeimgerman Linux - Software 1 04-03-2004 01:35 AM
Can you run Gnome on BSD? cordedpoodle *BSD 4 09-19-2003 02:59 PM
How do I get Gnome to run? Mladek Linux - Software 6 07-07-2003 01:32 AM
Gnome does not run rumbey Linux - Software 4 04-19-2001 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 07:21 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration