Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] "Failed to connect to bus no such file or direct.."
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Fri May 19, 2017 10:58 am    Post subject: [SOLVED] "Failed to connect to bus no such file or dire Reply with quote

I followed this wiki: https://wiki.gentoo.org/wiki/Systemd/Installing_Gnome3_from_scratch
However I get this error after trying to start gdm: "Failed to connect to bus no such file or directory..."
In addition to what has in that wiki I also installed: x11-base/xorg-server
startx also not starting and give an error. My video card is radeon.
Do not know if it is relevant but according https://wiki.gentoo.org/wiki/Xorg/Guide need to:
Code:
[*]      Enable modesetting on radeon by default

but there is no such option in genkernel.
Due to have no GUI it is difficult to attach here log files, but if it is needed please let me know and I will do it with wget etc...
It was long time since last installing so I probably missed something...
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”


Last edited by pmam on Sun May 21, 2017 7:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7556
Location: Goose Creek SC

PostPosted: Fri May 19, 2017 11:43 am    Post subject: Reply with quote

emerge wgetpaste for easy file posting from the commandline, post the url's it returns here.
and/or
use system rescue cd/usb booted to xfce4 GUI and a chroot to have a browser in the sysresc system plus terminal access in the chroot
_________________
Defund the FCC.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Fri May 19, 2017 12:18 pm    Post subject: Reply with quote

Quote:
emerge wgetpaste for easy file posting from the commandline, post the url's it returns here.

ok - but what log to paste here?
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7556
Location: Goose Creek SC

PostPosted: Fri May 19, 2017 1:04 pm    Post subject: Reply with quote

boot the newly installed gentoo to a CLI, then run:
Code:
wgetpaste -t /usr/src/linux/.config
wgetpaste -t /var/log/Xorg.0.log
wgetpaste -t /lib/firmware/radeon
lspci -k | wgetpaste -t

post the url's returned here
After running startx or gdm does your computer hang requiring a power cycle to recover or does X error out returning you to a working CLI?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Fri May 19, 2017 2:00 pm    Post subject: Reply with quote

Here:
https://paste.pound-python.org/show/TnWTy56KETW9Ezo6Wskf/
https://paste.pound-python.org/show/1GJ8L1np8rlzmIv0VCq4/

This is a directory with many files - Please inform how to paste it:
Code:
wgetpaste -t /lib/firmware/radeon


https://paste.pound-python.org/show/cpBv3LMHaAj8ohyJbPSx/

Quote:
After running startx or gdm does your computer hang requiring a power cycle to recover or does X error out returning you to a working CLI?

No need power cycle.

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7556
Location: Goose Creek SC

PostPosted: Fri May 19, 2017 2:20 pm    Post subject: Reply with quote

sorry, my bad, senior moment
ls /lib/firmware/radeon/ | wgetpaste -t
_________________
Defund the FCC.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Fri May 19, 2017 3:02 pm    Post subject: Reply with quote

ok: https://paste.pound-python.org/show/2Q5ldeJCidtu6oRkqNxB/
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7556
Location: Goose Creek SC

PostPosted: Fri May 19, 2017 7:41 pm    Post subject: Reply with quote

notable: the radeon module is selected but the radeon driver is not listed as in use.
However he needed firmware is available in /lib/firmware/radeon.
dmesg | wgetpaste -t and post url
dmesg | grep -i vga
dmesg | grep -i firmware
dbus may not be ruuning
does running ls /var/run/dbus/system_bus_socket produce 'No such file' ? Should not IMO.
What does systemctl tell you about dbus and udev?
Does your computer contain an intel vga card?
does running ls /etc/X11/xorg.conf produce 'No such file' ? Should IMO
My radeon graphics support section looks like:
Quote:

Device Drivers --->
Graphics support --->
<*> /dev/agpgart (AGP Support) --->
--- /dev/agpgart (AGP Support)
<* > AMD Opteron/Athlon64 on-CPU GART support
<*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > SiS chipset support
< > VIA chipset support
-*- VGA Arbitration
(2) Maximum number of GPUs
[ ] Laptop Hybrid Graphics - GPU switching support
<M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
--- Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
[ ] DRM DP AUX Interface
[*] Enable legacy fbdev support for your modesetting driver
[ ] Allow to specify an EDID data set instead of probing for it
I2C encoder or helper chips --->
< > Chrontel ch7006 TV encoder
< > Silicon Image sil164 TMDS transmitter
< > NXP Semiconductors TDA998X HDMI encoder
< > 3dfx Banshee/Voodoo3+
< > ATI Rage 128
<M> ATI Radeon
[ *] Always enable userptr support (NEW)
< > AMD GPU
ACP (Audio CoProcessor) Configuration ----
< > Nouveau (NVIDIA) cards
< > Intel I810
< > Intel 8xx/9xx/G3x/G4x/HD Graphics
[ ] Enable preliminary support for prerelease Intel hardware by default
[ ] Always enable userptr support
[ ] Enable Intel GVT-g graphics virtualization host support
< > Matrox g200/g400
< > SiS video cards
< > Via unichrome video cards
< > Savage video cards
< > Virtual GEM provider
< > DRM driver for VMware Virtual GPU
< > Intel GMA5/600 KMS Framebuffer
< > DisplayLink
< > AST server chips
< > Kernel modesetting driver for MGA G200 server engines
< > Cirrus driver for QEMU emulated device
< > QXL virtual GPU
< > DRM Support for bochs dispi vga interface (qemu stdvga)
Display Panels ----
Display Interface Bridges --->
< > Analogix ANX78XX bridge
Frame buffer Devices --->
{*} Support for frame buffer devices --->
[ ] Framebuffer foreign endianness support ----
[*] Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
< > Userspace VESA VGA graphics support
[ ] VESA VGA graphics support
[*] EFI-based Framebuffer Support
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > OpenCores VGA/LCD core 2.0 framebuffer support
< > Epson S1D13XXX framebuffer support
< > nVidia Framebuffer Support
< > nVidia Riva support
< > Intel740 support
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support
< > Fujitsu carmine frame buffer support
< > SMSC UFX6000/7000 USB Framebuffer support
< > Displaylink USB Framebuffer support
< > Framebuffer support for IBM GXT4000P/4500P/6000P/6500P adaptors
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
< > AUO-K190X EPD controller support
[ ] Simple framebuffer support
< > Silicon Motion SM712 framebuffer support
-*- Backlight & LCD device support --->
--- Backlight & LCD device support
<*> Lowlevel LCD controls
< > Platform LCD controls
{*} Lowlevel Backlight controls
< > Generic (aka Sharp Corgi) Backlight Driver
< > Generic PWM based Backlight Driver
< > Apple Backlight Driver
< > Qualcomm PM8941 WLED Driver
< > Tabletkiosk Sahara Touch-iT Backlight Driver
< > Backlight Driver for ADP8860/ADP8861/ADP8863 using WLED
< > Backlight Driver for ADP8870 using WLED
< > Backlight Driver for LM3630A
< > Backlight Driver for LM3639
< > Backlight driver for TI LP855X
< > Sanyo LV5207LP Backlight
< > Rohm BD6107 Backlight
Console display driver support --->
-*- VGA text console
[*] Enable Scrollback Buffer in System RAM
(256) Scrollback Buffer Size (in KB)
(80) Initial number of console screen columns
(25) Initial number of console screen rows
{*} Framebuffer Console support
-*- Map the console to the primary display device
[ ] Framebuffer Console Rotation
[*] Bootup logo --->
--- Bootup logo
[ ] Standard black and white Linux logo
[ ] Standard 16-color Linux logo
[*] Standard 224-color Linux logo

_________________
Defund the FCC.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sat May 20, 2017 9:16 am    Post subject: Reply with quote

After reading your wise remarks looks that something basic is missing...

dmesg | wgetpaste -t:
https://paste.pound-python.org/show/miKrgJgkCcDE5BL8VlEM/
dmesg | grep -i vga | wgetpaste -t:
https://paste.pound-python.org/show/rOfnzWKpP3f9HLP0sLhQ/
dmesg | grep -i firmware | wgetpaste -t:" Nothing to paste"

Quote:
does running ls /var/run/dbus/system_bus_socket produce 'No such file' ? Should not IMO.
does running ls /etc/X11/xorg.conf produce 'No such file' ? Should IMO

All these commands give: No such file...

Quote:
What does systemctl tell you about dbus and udev?

Strange but can not do it - this command: systemctl list-units gives: "Failed to connect to bus no such file or directory..."
Though as far as I know systemd is working: I enabled dhcpcd and networking is ok. It is my first time with systemd...

Quote:
Does your computer contain an intel vga card?

Yes. May be it is a good idea to try intel, however, it looks something basic missing..

Hope this info can help...

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sun May 21, 2017 7:35 am    Post subject: Reply with quote

I do not have experience with systemd so would like to know how verify if systemd is active or openRC?
Maybe there is a conflict between them... During booting I see on screen message like: "openRC..."
systemctl list-units should show all systemd's process' but only gives: "Failed to connect to bus no such file or directory..." ??
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7556
Location: Goose Creek SC

PostPosted: Sun May 21, 2017 8:47 am    Post subject: Reply with quote

you do need a kernel option to tell the kernel that it should use systemd as the init
See: https://wiki.gentoo.org/wiki/Systemd#Bootloader
I lost patience with systemd a while ago ...
https://www.dynacont.net/documentation/linux/Useful_SystemD_commands/ is a nice command summary
_________________
Defund the FCC.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sun May 21, 2017 7:25 pm    Post subject: Reply with quote

Dear DONAHUE,

You lost patience with systemd, however, Thanks God you did not lost patience with me... your tip regarding bootloader was great!
I just un commented this line in /etc/default/grub:
Code:
GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd"

and re-configure grub, and systemd started been active and every thing works very nice :)
This line is missing in the wiki that I followed: https://wiki.gentoo.org/wiki/Systemd/Installing_Gnome3_from_scratch

I see why you do not like systemd however, I like gnome3 - If not, I would stay with openRC...

Thanks a lot!
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7556
Location: Goose Creek SC

PostPosted: Sun May 21, 2017 9:59 pm    Post subject: Reply with quote

Well done. Enjoy.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum