Re: FreeBSD X11/GNOME/KDM issue

2007-03-31 Thread Kevin Kinsey

Christian Walther wrote:

On 30/03/07, Joseph Marah [EMAIL PROTECTED] wrote:
Hi KK, thanks.  I have tried ctrl+ald+bspace but got a black screen 
for a split sec abd got right back to KDM login.


ALT+CTRL+Backspace shuts down the X Server the hard way. A Desktop
Manager (KDM, GDM, XDM) is supposed to restart after a session is
ended, which means that the login screen comes back...


Also tried ctrl+f1, ctrl+f1 etc but go nowhere.


Yepp, but if you try ALT+CTRL+Fx (where 1 = x = 8) you'll get a
console login screen. Here you'll be able to login as root.


Joseph, I'm sorry; as you can see, Christian caught my error;
CTL-*ALT*-F1, etc., is correct.

KDK
--
Nuke them till they glow, then shoot them in the dark.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD X11/GNOME/KDM issue

2007-03-31 Thread Joseph Marah
Thanks everyone for your help.  I will let you know of my next confusion.

Kevin Kinsey [EMAIL PROTECTED] wrote:  Christian Walther wrote:
 On 30/03/07, Joseph Marah wrote:
 Hi KK, thanks. I have tried ctrl+ald+bspace but got a black screen 
 for a split sec abd got right back to KDM login.
 
 ALT+CTRL+Backspace shuts down the X Server the hard way. A Desktop
 Manager (KDM, GDM, XDM) is supposed to restart after a session is
 ended, which means that the login screen comes back...
 
 Also tried ctrl+f1, ctrl+f1 etc but go nowhere.
 
 Yepp, but if you try ALT+CTRL+Fx (where 1 = x = 8) you'll get a
 console login screen. Here you'll be able to login as root.

Joseph, I'm sorry; as you can see, Christian caught my error;
CTL-*ALT*-F1, etc., is correct.

KDK
-- 
Nuke them till they glow, then shoot them in the dark.



Regards

Joseph Marah
**
IF YOU THINK YOU HAVE EVERYTHING UNDER CONTROL YOU ARE NOT GOING FAST ENOUGH 
- Mario Andretti, race car driver.
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD X11/GNOME/KDM issue

2007-03-31 Thread Joseph Marah
Hi Andriy, I finally got in.  At first I tried single user mode but had no 
editing permissions.  Then I noticed that I had only thr root slice mounted.  
So I found out how to mount the rest of the file system(mount -a) and did that. 
 Then I used the logon command to logon as root.  Then I made the necessary 
changes.
   
  Thanks for your suggestion, I will sure try it.
  

Andriy Babiy [EMAIL PROTECTED] wrote:
   Hi KK, thanks.  I have tried ctrl+ald+bspace but got a black screen for
 a split sec abd got right back to KDM login.  Also tried ctrl+f1,
 ctrl+f1 etc but go nowhere.   
   I can get in single user mode but no edit previleges as I am not root.
  still trying different things.  hanks tho.

Hi. You may want to try sysinstall - Fixit, then fix the problem in the 
shell.

Andriy

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD X11/GNOME/KDM issue

2007-03-30 Thread Joseph Marah
Hi KK, thanks.  I have tried ctrl+ald+bspace but got a black screen for a split 
sec abd got right back to KDM login.  Also tried ctrl+f1, ctrl+f1 etc but go 
nowhere.  
   
  I can get in single user mode but no edit previleges as I am not root.  still 
trying different things.  hanks tho.

Kevin Kinsey [EMAIL PROTECTED] wrote:
  Joseph Marah wrote:
 

[Snip description of issue, basically KDM/GDM
conflicting config or similar.]

 To cut matters short, I have been locked out of 
 my system. how can I get back in? Any help will 
 be appreciated. Thanks.
 

Hi, Joseph!

I wrapped the text of your last paragraph, because
you had only placed newlines at the end of each paragraph.
It's helpful to place a newline every 72 characters or so.

In short, I've not got an answer for KDM, but you should
be able to drop to the console with CTL-ALT-BKSP --- and,
if that doesn't work, you should be able to access a virtual
console with CTL-F1, CTL-F2, etc. Edit the offending file
(rc.conf?, /etc/ttys?) and try kill -HUP `pgrep Xorg`.

And, if you can't get a virtual console, you'll want
to reboot into single-user mode, I guess.

HTH,

Kevin Kinsey
-- 
1 + 1 = 3, for large values of 1.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD X11/GNOME/KDM issue

2007-03-30 Thread Christian Walther

On 30/03/07, Joseph Marah [EMAIL PROTECTED] wrote:

Hi KK, thanks.  I have tried ctrl+ald+bspace but got a black screen for a split 
sec abd got right back to KDM login.


ALT+CTRL+Backspace shuts down the X Server the hard way. A Desktop
Manager (KDM, GDM, XDM) is supposed to restart after a session is
ended, which means that the login screen comes back...


Also tried ctrl+f1, ctrl+f1 etc but go nowhere.


Yepp, but if you try ALT+CTRL+Fx (where 1 = x = 8) you'll get a
console login screen. Here you'll be able to login as root.


  I can get in single user mode but no edit previleges as I am not root.  still 
trying different things.  hanks tho.


Nope, you're root if you boot into single user mode. But / is mounted
readonly, only. If you boot into single user mode the savest thing to
do is:

fsck -p
mount / -o rw
mount -a

fsck will first check your file systems so that you don't operate on a
dirty FS, e.g. after a crash. If you rebooted into Single User mode
and there was no crash before, you can skip this step.
mount / -o rw remounts the root filesystem read/writable.
mount -a mounts every fs listed in /etc/fstab (that doesn't has
noauto set as an option).
Make sure you'll do a

umount -a
mount / -o ro

before you reboot, otherwise your file systems will be fscked.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD X11/GNOME/KDM issue

2007-03-30 Thread Andriy Babiy
 Hi KK, thanks.  I have tried ctrl+ald+bspace but got a black screen for
 a split sec abd got right back to KDM login.  Also tried ctrl+f1,
 ctrl+f1 etc but go nowhere.   
   I can get in single user mode but no edit previleges as I am not root.
  still trying different things.  hanks tho.

Hi. You may want to try sysinstall - Fixit, then fix the problem in the 
shell.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD X11/GNOME/KDM issue

2007-03-29 Thread Joseph Marah
I am new to FreeBSD and been out of touch with UNIX for a while.  I just bought 
a new system i386 (Intel 3.0 Ghz CPU, 2.0G mem, 500G disk space etc).  I think 
I successfully downloaded the install files and burnt my cds. I think I 
installed the system OK.  I think I installed X11 from ports. I then installed 
GNOME from ports( Maaan it took so long).
   
  I entered into /etc/rc.conf  gdm_enable = YES ...  shut down and 
loggen in through GDM successfully.
  Played with it for a while.  All utilities showed up fine.  I browsed the 
Internet too.
   
  Then I decided to try KDE and installed it from ports (took lng).  After 
install I looged in through GDM.  I saw everything KDE brought with it using 
GNOME interface and read the KDE mannual a bit.  Then I used the user 
administration tab and added myself as a user in addition to root.
   
  I also changed kde_enable = YES in /etc/rc.conf in place of  gdm_enable = 
YES hoping to be able to log back in using KDM.  I shutdown and restarted.  I 
got the KDM logon interface but the introduction showed my username I last 
added, as my default login.  I entered root as user but a message came saying 
root logons are not allowed.  I tried logging in as myself and entered my 
correct password but I was sent to a window which read : Could not start 
kstartupconfig. Check your installation. I clicked OKAY.  This took me back to 
the KDM logon manager.  
   
  To cut matters short, I have been locked out of my system.  how can I get 
back in?  Any help will be appreciated.  Thanks.
   


Regards

Joseph Marah
**
IF YOU THINK YOU HAVE EVERYTHING UNDER CONTROL YOU ARE NOT GOING FAST ENOUGH 
- Mario Andretti, race car driver.
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD X11/GNOME/KDM issue

2007-03-29 Thread Kevin Kinsey

Joseph Marah wrote:
 


[Snip description of issue, basically KDM/GDM
conflicting config or similar.]
 
  To cut matters short, I have been locked out of 
my system.  how can I get back in?  Any help will 
be appreciated.  Thanks.
   


Hi, Joseph!

I wrapped the text of your last paragraph, because
you had only placed newlines at the end of each paragraph.
It's helpful to place a newline every 72 characters or so.

In short, I've not got an answer for KDM, but you should
be able to drop to the console with CTL-ALT-BKSP --- and,
if that doesn't work, you should be able to access a virtual
console with CTL-F1, CTL-F2, etc.  Edit the offending file
(rc.conf?, /etc/ttys?) and try kill -HUP `pgrep Xorg`.

And, if you can't get a virtual console, you'll want
to reboot into single-user mode, I guess.

HTH,

Kevin Kinsey
--
1 + 1 = 3, for large values of 1.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD X11/GNOME/KDM issue

2007-03-29 Thread RW
On Thu, 29 Mar 2007 12:51:16 -0700 (PDT)
Joseph Marah [EMAIL PROTECTED] wrote:

 After install I looged in through GDM.  I saw everything
 KDE brought with it using GNOME interface and read the KDE mannual a
 bit.  Then I used the user administration tab and added myself as a
 user in addition to root. I also changed kde_enable = YES
 in /etc/rc.conf in place of  gdm_enable = YES hoping to be able to
 log back in using KDM.  

AFAIK KDE doesn't install a local rc.d script for KDM, so I'm
curious as to how you did that.

The FreeBSD hand book has a section on starting KDM ,and also on
starting KDE without a login manager, via startx.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]