To summarize everything: To install X server and gnome,
# pkg install xorg # pkg install gnome2 # pkg install nano # nano /etc/fstab ============================================ proc /proc procfs rw 0 0 ============================================ To enable gdm, # nano /etc/rc.conf ============================================= gdm_enable="YES" gnome_enable="YES" ============================================= The following command is to allow startx to be executed. # echo "/usr/local/bin/gnome-session" > ~/.xinitrc To allow regular user to su to root, # pw groupmod wheel -m teo-en-ming To use hal and to enable the hal daemon hald, # nano /etc/rc.conf ============================================= dbus_enable="YES" hald_enable="YES" ======================================== To remount the root filesystem in read-write mode in single user mode, # mount -u -o rw / # mount -a Regards, Teo En Ming On Fri, Apr 25, 2014 at 6:07 PM, Teo En Ming <[email protected]> wrote: > Thanks! I had tried the linux way but it didn't work out. > > # mount -o remount,rw / > > Teo En Ming > > > On Fri, Apr 25, 2014 at 5:39 PM, Palle Girgensohn <[email protected]>wrote: > >> boot into single user mode and remount root filesystem read-write and >> mount all other fses this way: >> >> mount -u -o rw / >> mount -a >> >> Then you can edit rc.conf >> >> >> > 25 apr 2014 kl. 11:28 skrev Teo En Ming <[email protected]>: >> > >> > Dear Mark, >> > >> > I can't modify /etc/rc.conf. I can't use my keyboard. The system keeps >> > rebooting into gdm. I can't use Single User Mode either. The root >> > filesystem is mounted read-only. I can't make changes to /etc/rc.conf. >> What >> > can I do? >> > >> > Thank you. >> > >> > Regards, >> > >> > Teo En Ming >> > >> > >> >> On Fri, Apr 25, 2014 at 6:20 AM, Mark Saad <[email protected]> >> wrote: >> >> >> >> >> >> >> >> On Apr 24, 2014, at 1:29 PM, Teo En Ming <[email protected]> >> wrote: >> >> >> >> Hi, >> >> >> >> I have just installed FreeBSD 10.0-RELEASE amd64 as a virtual >> machine/guest >> >> operating system under Oracle VM Virtualbox 4.3.10. My host operating >> >> system is Windows 8.1 64-bit. >> >> >> >> I have just installed X server, gnome, and gdm with the following >> commands: >> >> >> >> # pkg install xorg >> >> >> >> # pkg install gnome2 >> >> >> >> # pkg install nano >> >> >> >> # nano /etc/fstab >> >> >> >> ====================================== >> >> >> >> proc /proc procfs rw 0 0 >> >> ============================================ >> >> >> >> # nano /etc/rc.conf >> >> >> >> ======================================= >> >> >> >> gdm_enable="YES" >> >> gnome_enable="YES" >> >> ============================================= >> >> >> >> The following command is to allow startx to be executed. >> >> >> >> >> >> *# echo "/usr/local/bin/gnome-session" > ~/.xinitrc* >> >> >> >> >> >> >> >> *To allow regular user to su to root,**# pw groupmod wheel -m >> teo-en-ming* >> >> >> >> >> >> >> *************************************************************************** >> >> >> >> I can still type in my password on the gdm login prompt. But after >> >> logging into the GNOME Desktop Environment, I cannot type anything >> >> with my keyboard! No characters appear on the screen. I can only use >> >> my mouse. I tried to reboot but every time the system boots into gdm. >> >> I also tried to enter Single User Mode, but I can't modify >> >> /etc/rc.conf as the root filesystem is mounted read only. What can I >> >> do? >> >> >> >> I am looking forward to your reply. >> >> >> >> Yours sincerely, >> >> >> >> Teo En Ming >> >> >> >> >> >> >> >> You need to enable hald and dbus in /etc/rc.conf , then either reboot >> the >> >> vm or drop out of gdm start the services and restart gdm . You can also >> >> disable hal , there are some good examples on the FreeBSD wiki , also >> check >> >> out the links below . >> >> >> >> http://www.wonkity.com/~wblock/docs/html/aei.html >> >> >> >> http://www.freebsd.org/gnome/docs/halfaq.html >> >> >> >> >> >> --- >> >> Mark saad | [email protected] >> > _______________________________________________ >> > [email protected] mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 >> > To unsubscribe, send any mail to "[email protected] >> " >> > > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to "[email protected]"
