Results 1 to 10 of 23
When i startx it i get a error unknow 999 /root/.xinitrc;line 1:exec:
gnome-sessions; not found,The file .xinitrc does exsist when i nano and contain gnome- session and also XSESSIONS is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-23-2005 #1
error gnome
When i startx it i get a error unknow 999 /root/.xinitrc;line 1:exec:
gnome-sessions; not found,The file .xinitrc does exsist when i nano and contain gnome- session and also XSESSIONS is set at gnome in the /etc/make conf.
- 12-23-2005 #2
In gentoo it is better for gnome or KDE to use "/etc/init.d/xdm start|stop|restart" to start them than xinitrc.
Just edit your /etc/rc.conf and set your display manager to "gdm" and your Session to "Gnome". Then you would run "/etc/init.d/xdm start" and it should take you into gdm if you have your Xserver setup correctly. The Xsessions variable is not in /etc/make.conf. It is in /etc/rc.conf.
If that works, then just open a terminal, su to root, and run "rc-update add xdm default" if you want gdm to come up every time.
Also, you don't need to be root to type startx. That really isn't recommended at all. Just use a terminal to su to root to do what you need done, then log root out.
- 09-10-2006 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi gruven,
On Googling I found this thread. I have the same problem "gnome' failing to start.
# startxOn booting the login page did not display.Code:.... /root/.xinitrc: line 1: exec: gnome-session: not found
# /etc/init.d/xdm start# rc-update add xdm defaultCode:Warning: xdm has already been started
# cat /etc/rc.confCode:xdm already installed in runlevel 'default'; skipping
On /etc/make.confCode:.... .... DISPLAYMANAGER="xdm" XSESSION="Gnome"
USE="gtk gtk2 gnome hal avahi"
# emerge --search avahi# emerge --search halCode:net-dns/avahi not installed
Do I need all of them to start gnome?Code:... app-doc/halibut [Masked] .... not installed dev-perl (CPAN-Muis-Phalanx [Masked] .... not installed games-misc/fortune-mod-simpsons-chalkboard .... not installed games-server/halflife-steam [Masked] .... not installed sys-apps/hal .... not installed
# emerge gnome-volume-managerPlease advise how to fix the problem. TIACode:... .... * Please re-emerge X11-libs/cairo with the X USE flag set ERROR: x11-libs/gtk+-2.8.19 failed Call stack ebuild.sh, line 1555: Called dyn-setup gtk+-2.8.19 ebuild, line 57 called pkg-setp die Cairo needs the X flag set
B.R.
satimis
- 09-10-2006 #4
Edit your /etc/rc.conf and set the display manager to "gdm" instead of "xdm".
Next, make sure these use flags are in your make.conf:
"gnome gtk esd avahi hal dbus cairo X"
When you make sure you have all of those use flags, then issue this:
That will update your system, and also recompile any packages that have had their "use" flags changed. Then, you should be able to emerge gnome.Code:emerge --sync && emerge -avuDN world
- 09-11-2006 #5Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi gruven,
Tks for your advice.
Edited as advised.Edit your /etc/rc.conf and set the display manager to "gdm" instead of "xdm".
Edited /etc/make.conf as advised.Next, make sure these use flags are in your make.conf:
"gnome gtk esd avahi hal dbus cairo X"
USE="gnome gtk esd avahi hal dbus cairo X"
Ran the command line. No serious warning found except some conf files need to be updated.When you make sure you have all of those use flags, then issue this:
Code:emerge --sync && emerge -avuDN world
# find /etc -iname '.cfg????._*'Please advise;Code:/etc/conf.d/._cfg0000_rc /etc/conf.d/._cfg0000-clock /etc/ssl/misc/._cfg0000_CA.pl /etc/ssl/misc/._cfg0000_CA.cif /ect/init.d/._cfg0000_clock /ect/init.d/._cfg0000_shutdown.sh /ect/init.d/._cfg0000_bootmisc /ect/init.d/._cfg0000_halt.sh /ect/init.d/._cfg0000_localmount /ect/init.d/._cfg0000_net.lo /etc/ppp/._cfg0000_pppoe_conf /etc/._cfg0000_man.conf /etc/._cfg0000_inputrc /etc/._cfg0000_rc.conf /etc/._cfg0000_evoms.conf
1) how to manually update them
OR
2) if after putting following line on /etc/make.confwhat command line shall I run afterwards to update the conf filesCode:CONFIG_PROTECT="_*"
TIA
After finish;
# startx# ls -l /usr/bin | grep gnome-sessionCode:.... .... Using Config file "etc/X11/xorg.conf /root/.xinitrc : line 1 : exec : gnome-session : not found .....
# find / -name gnome-session
Both without printout.
Reboot PC, following warnings found;# ls -l /usr/bin | grep xdmCode:.... Setting up xdm /sbin/start-stop-daemon : stat /urs/bin/xdm : No such file or directory ERROR : Could not start the Desplay Manager .... ..... ERROR : cannot start netmount as net.eth0 could not start ....
no printout
Please advise how to find them. Tks
(remark : I haven't "emerge gnome-volume-manger" yet)
B.R.
satimis
That will update your system, and also recompile any packages that have had their "use" flags changed. Then, you should be able to emerge gnome.[/QUOTE]
- 09-11-2006 #6
You should have already issued this command:
That gets you gnome.Code:emerge gnome
To update your config files, you would do a:
and manually update your config files one by one. If you don't do this, then you could possibly end up with an unusable system.Code:etc-update
Next, you want to issue a:
That command will read the /etc/rc.conf file and load the login manager you chose (which would be gdm). That is the easiest way to start a desktop in linux.Code:/etc/init.d/xdm stop && /etc/init.d/xdm start
I know I have forgot this, but make sure you setup X before you try to load anything. It will need to know which drivers to use for what.
I can't stress enough how important etc-update is though. That is your config files, which means it decides how your system works. Please update them every time portage tells you to do it. If you don't understand it, do a search on the gentoo forums and there will be more than enough information for you to figure it out.Code:xorgconfig
- 09-11-2006 #7Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi gruven,
I emerge gnome-light before.You should have already issued this command:
Code:emerge gnome
# locate gnome-light
found it
Do I need to do "emerge gnome"?
OR the execute of "gnome-light" differs from "gnome" ?
# etc-updateTo update your config files, you would do a:
and manually update your config files one by one. If you don't do this, then you could possibly end up with an unusable system.Code:etc-update
displayed a list of cofig files to be updated with corresponding numbers. I took following steps;
- Entered the corresponding number [ENTER]
It displayed the content of the conf file (the old one, I suppose).
- pressed "q" to exit the file- typed 1 [ENTER]Code:1) replace original with update 2) Delete update, keeping original as it is 3) ... ......
- Pressed [ENTER]Code:(as example) Replacing /etc/init.d/bootmisc with /et/init.d_cfg000_bootmisc mv : overwrite `/etc/init.d/bootmisc'?
Then displaying a new list with the above file deleted
- Then I manually updated all conf files
# /etc/init.d/xdm stop && /etc/init.d/xdmNext, you want to issue a:
Code:/etc/init.d/xdm stop && /etc/init.d/xdm start
# startxCode:ERROR : could not start the Display Manager... xdm : no process killed
still unable to start gnome with the usual warning " ..... gnome-session : file not found"
# find / -name gnome-sessionCode:/usr/portage/gnome-base/gnome-session find : /proc/6784/task/6784/fd/5 : No such file or directory find : /proc/6784/fd/5 : No such file or directory
I have a working xorg.conf. TWM can be started with "startx" command before installing "gnome-light"make sure you setup X before you try to load anything. It will need to know which drivers to use for what.
Code:xorgconfig
Rebooted PC but still failed to start Display Manager.
Others noted with tks.
B.R.
satimis
- 09-11-2006 #8
Since you have gnome-light, it may or may not come with gdm, it's display manager. You don't need to worry about the "startx" command when dealing with gnome or kde, the /etc/init.d/xdm startup script will be sufficient.
Try emerging gdm
and then issue theCode:emerge gdm
The error you are getting seems to point to gdm not being installed. Try that and then report back, and we will see if we can't get you a working desktop.Code:/etc/init.d/xdm stop && /etc/init.d/xdm start
- 09-12-2006 #9Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi gruven,
[quote]Try emerging gdm
# emerge gdmCode:emerge gdm
Similar error as on my previous posting (#3) above, when I installed gnome-volume-manager.Code:ERROR: x11-libs/gtk+-2.8.19 failed Call stack : ebuild.sh, line 1555: Called dyn-setup ebuild.sh, line 668 : Called pkg_setup gtk+-2.8.19 ebuild, line 57 called : die !!! Cairo needs the X flag set
B.R.
satimis
- 09-12-2006 #10
Ok, if you set the use flags as I advised above, then you would issue an
And that will update your world and check for new use flags and recompile with the new use flags.Code:emerge -avuDN world
If you just want to recompile cairo with new use flags, just
Also, I noticed it is trying to compile gtk, but that would have been installed when you emerged gnome-light (I imagine, because gnome is built on gtk).Code:emerge -avN --oneshot cairo
If I were you, I would just emerge the full gnome package. You don't have to, but it isn't a bad thing to have if you want gnome.
If you could, please post your "emerge info" for us to see, or just post your make.conf. I will be able to help a lot more after seeing that.


Reply With Quote
