Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2014 18:28:52 +0800
From:      Teo En Ming <teo.en.ming@gmail.com>
To:        Palle Girgensohn <girgen@pingpong.net>
Cc:        "freebsd-amd64@freebsd.org" <freebsd-amd64@freebsd.org>
Subject:   Re: Cannot type anything with my keyboard in GNOME Desktop Environment
Message-ID:  <CAKhF0wdgJHKG_M2YdJeExOmx%2BvPdFTP2A2oPH68FnunwW0Vd4A@mail.gmail.com>
In-Reply-To: <CAKhF0wd=pNboM3oqPyoay6fHpF8G12%2BnjkT1-H2dkTXiFetZ4A@mail.gmail.com>
References:  <CAKhF0wcftS%2BUVjDb9pNZ8BE35dfEhNsXr=u0uYuj9qzFZUiySA@mail.gmail.com> <ACC1952B-F8CE-45AE-87F2-00B785103CF9@longcount.org> <CAKhF0wdcdPYiEH9eA7bQcznAt1JEBW7oDSrqNDY-1DM8Y796=g@mail.gmail.com> <82986BC9-3FCD-45A4-B268-EDB894F96513@pingpong.net> <CAKhF0wd=pNboM3oqPyoay6fHpF8G12%2BnjkT1-H2dkTXiFetZ4A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <teo.en.ming@gmail.com> 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 <girgen@pingpong.net>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 <teo.en.ming@gmail.com>:
>> >
>> > 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 <nonesuch@longcount.org>
>> wrote:
>> >>
>> >>
>> >>
>> >> On Apr 24, 2014, at 1:29 PM, Teo En Ming <teo.en.ming@gmail.com>
>> 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 | mark.saad@longcount.org
>> > _______________________________________________
>> > freebsd-amd64@freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
>> > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org
>> "
>>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKhF0wdgJHKG_M2YdJeExOmx%2BvPdFTP2A2oPH68FnunwW0Vd4A>