From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 25 10:28:54 2014 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D4C50709 for ; Fri, 25 Apr 2014 10:28:54 +0000 (UTC) Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 623681E4B for ; Fri, 25 Apr 2014 10:28:54 +0000 (UTC) Received: by mail-we0-f169.google.com with SMTP id u56so2228199wes.28 for ; Fri, 25 Apr 2014 03:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Iqxpb5OpyFI/Zxqfci36Ic4PC5EJjtZXc+KKJq4DtRA=; b=N91t3bHS6M1pOe43sMgTpoHMhQk7mGThI3kvjsny2z02mJY8CYWpL1u74YZc4TOSn5 1Oh1kTquxsEy8Von3eARLIdRsXWarEIGHwmz6T89Olq/cZfTpvBCPP1Tc1i0fehck6Eo u/9VV5Yp2NL2pvvSB+tv6oYR7muMrYo0bu7RaYkd52Fja65yMmFJM/fvkgB1Nvdyx19T nHd3bqFSGpIlZ7dP86KaqpOdqBEJlc3UEDJnfavF7tSIZ8ruAxNbjOiHgU6zcxdJ6YYH zeQYoZ9qW/DZrQL2jtR85yKYtSSWZnY5zgymYyaqlz62yUwG7ajOuP5CzHkIEpP17apj J8rg== MIME-Version: 1.0 X-Received: by 10.194.201.73 with SMTP id jy9mr1572877wjc.51.1398421732729; Fri, 25 Apr 2014 03:28:52 -0700 (PDT) Received: by 10.194.177.134 with HTTP; Fri, 25 Apr 2014 03:28:52 -0700 (PDT) In-Reply-To: References: <82986BC9-3FCD-45A4-B268-EDB894F96513@pingpong.net> Date: Fri, 25 Apr 2014 18:28:52 +0800 Message-ID: Subject: Re: Cannot type anything with my keyboard in GNOME Desktop Environment From: Teo En Ming To: Palle Girgensohn Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-amd64@freebsd.org" X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2014 10:28:55 -0000 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 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 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 : >> > >> > 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 >> wrote: >> >> >> >> >> >> >> >> On Apr 24, 2014, at 1:29 PM, Teo En Ming >> 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 >> " >> > >