LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Some Newbie Questions (https://www.linuxquestions.org/questions/linux-newbie-8/some-newbie-questions-89789/)

TiMo 09-06-2003 01:48 AM

Some Newbie Questions
 
Hellow , sorry if sounds stupid but here are:

1) How can i change the Localhost name to other? (root@localhost) i tryed in /etc/hosts but nothing happend

i have MDK 9.1

2) After installing a RPM , for example AMSN , how can i make it run in the X (GUI) because if i want to start it i have to go to the console and put ./amsn and it works... is there anyway to make a shorcut like in windows and put it on the Desktop?

3) How can i change the MOTD ?

4) I Have my pc connected to a LAN with Shared Files... can i Share files with a windows Machine?? How?? (Workgroup)

dalek 09-06-2003 03:53 AM

I'll answer one question
 
Goto to a terminal as root. That's Control Center, like start in windoze, then terminals super user mode. Put in your password. Type hostname <space> then the name you want.

That's how I did it anyway.

I only answered one because it's the only one I new the answer to. Maybe someone else can help with the others.

:D :D :D :D

gundelgauk 09-06-2003 09:13 AM

Greetings!


2) That depends on which windowmanager you are using. For example I'm using Windowmaker, when i start an application, the windowmanager will display an app-icon which i can drag into the shortcut bar. But whatever windowmanager you are using, all of them provide some means of making "shortcuts" to your applications, be it in a menu or a shortcut bar.

3) Edit /etc/motd . Easy, wasn't it? :D

4) To exchange files with win machines using the lan neighborhood you need to install samba (client & server daemon). You can download those at http://www.samba.org/ but your distribution should include them as packages as well.
In orderfor win clients to be able to download files from your linux box you have to configure and start the smbd which works not unlike an ftp daemon. man smbd and various HOWTOs on the web will provide all the information you could possibly want on how to set up smbd.
To access files on a win server or to mount a shared directory from your linux box you need to use the smb client files which are command line programs. If you are accustomed to the windows lan neighborhood, I suggest you take a look at xSMBrowser. After about a minute of configuration (no config files - only pressing a few buttons ;)) you can use it just like you would win's lan neighborhood. Mind you however that it is only a frontend to the command line programs - you still need the smb client files installed!


Good luck!

TiMo 09-06-2003 02:48 PM

Thanks man, About the second question im using KDE , i wich way it will be?

Skyline 09-06-2003 03:03 PM

To change your shell prompt change the $PS1 shell variable in /etc/profile or ~/.bash_profile.

ehdwuld 09-08-2003 09:05 AM

I think on your second question
I may be able to help

start at your desktop
>klik >Home
should open Konqueror
>klik > that up arrow
start looking for /usr/
then /local/
then /amsn/
should run like this
/usr/local/amsn
open that folder
should see a bunch of executables in it
find the one that starts the program
drag it to desktop
choose "copy to" option

you are done

ehd

:newbie: :study:


All times are GMT -5. The time now is 04:10 AM.