| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 55029 | 2005-03-01 00:53:00 | Host name in Gentoo | jcr1 (893) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 329171 | 2005-03-01 00:53:00 | When I want to; cd /etc (or /usr, or /var or whatever) from a console in KDE, it will return me to the #. I can (of course) get into these directories from the # prompt, before I startx. I can also alter files in directories by using #nano -w (whatever). But it is a nuisance not to be able to just visit those directories fron a command line within KDE. When I startx, I get a bit of script flashing by and right at the start a message (fast as the blink of an eye), something to the effect of " invalid (or unresolved) hostname". I have a feeling this might be the cause of my problem and I have tried setting the hostname using Gentoo docs, but I was wondering if I could have a thought or two as to where I might be going wrong |
jcr1 (893) | ||
| 329172 | 2005-03-01 01:16:00 | nano -w /etc/hostname nano -w /etc/hosts You mean ~/ which is AKA /home/username AKA # nano -w /etc/rc.conf and set down the bottom for it to start kdm on boot with kde-3.3.1 as default WM and it'll save pissing around with startx What happens if you: ls /usr cd /usr Im personally thinking they're not related, your PC will work fine without a Hostname Chill. |
Chilling_Silence (9) | ||
| 329173 | 2005-03-01 01:36:00 | Have a look at the error message. tail -20 /var/log/messages just after doing startx should get that. (You'll need to be root to do that). | Graham L (2) | ||
| 329174 | 2005-03-01 03:51:00 | The ls command works perfectly, Chill. The cd command doesn't. | jcr1 (893) | ||
| 329175 | 2005-03-01 04:44:00 | I can't imagine why a cd command only works on a non-X runlevel? Can you copy and paste your commands and output directly from being entered into the terminal window here to see if we can spot any clues? :) |
Jen (38) | ||
| 329176 | 2005-03-01 06:13:00 | Thanks Jen, Here are the commands; bash-2.05b# cd /etc bash-2.05b# |
jcr1 (893) | ||
| 329177 | 2005-03-01 07:42:00 | Thanks Jen, Here are the commands; bash-2.05b# cd /etc bash-2.05b# bash-2.05b# cd ~/ bash-2.05b# cd /etc/ bash-2.05b# cd ~/ bash-2.05b# cd /etc/ bash-2.05b# ls | grep samba samba bash-2.05b# cd /usr bash-2.05b# ls X11R6 bin diet doc games i686-pc-linux-gnu include info kde lib libexec local man portage qt sbin share src tmp bash-2.05b# What you have is the norm.... Chill. |
Chilling_Silence (9) | ||
| 329178 | 2005-03-01 08:19:00 | Got it, got it ..... :lol: Just different to what I was used to with Libranet. Excellent, what a relief. I thought something was seriously wrong. Thanks again people for your interest in my efforts. Still got to get the printer going though :confused: |
jcr1 (893) | ||
| 329179 | 2005-03-01 10:01:00 | Start CUPSD /etc/init.d/cupsd start Then fire up your browser: http://localhost:631 Otherwise try: localhost:631 |
Chilling_Silence (9) | ||
| 329180 | 2005-03-01 10:58:00 | Well I know I certainly like to have a limited as to what folder I'm currently in without having to do a PWD. Most setups of bash that I have experienced have been set up in this manner. I'm not sure what setting you need to change, but I sure would be looking into it if I ever come across that issue. | Jeremy (1197) | ||
| 1 2 | |||||