LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-01-2002, 01:56 AM   #1
LinuxJuanaBe
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 7.3
Posts: 21

Rep: Reputation: 15
Unhappy xSMBrowser Configuration Problem


Can anyone tell me how to configure xSMBrowser properly to work in RedHat? I am on version 7.2. I downloaded and configured the tcl and tk files/headers, and expect. I confirmed that expectk is configured on my system.

I went into the xSMBrowser file and changed the path so that it would be pointing to the correct place to find expectk as the documentation said to do.

This is where I am stumped. I have no idea what to do next. The documentation says to read SAMBA docs to decide how you want to confiure SAMBA to use xSMBrowser. I can't find anything in SAMBA docs that even relates to xSMBrowser, so I have no idea what to do next.

The documentation also stated that you should try to click on the xSMBrowser icon to see what it will do. Well, mine just opens a list box asking what application I want to open it with.

I have SAMBA running successfully, and smbd and nmbd are active.

Any ideas?



Last edited by LinuxJuanaBe; 05-01-2002 at 04:35 PM.
 
Old 05-01-2002, 02:18 PM   #2
LinuxJuanaBe
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 7.3
Posts: 21

Original Poster
Rep: Reputation: 15

Last edited by LinuxJuanaBe; 05-01-2002 at 04:30 PM.
 
Old 05-01-2002, 10:19 PM   #3
basd
Member
 
Registered: Apr 2002
Location: Riverside CA USA
Distribution: SuSE 11
Posts: 83

Rep: Reputation: 15
XMSBrowser

I have "Icepack" Linux, so my situation may be different from yours. Also, maybe I didn't even understand your question correctly, but I'll offer my suggestions since I just went through this on my install.

Does XMSBrowser actually run? I wasn't sure from your explanation.

Mine opens with two network icons -- I think SambaConfig and one other.

When you "right click" you can select your choice, such as "edit network." But skip that for now.

Here's a first test you might try (I'm sorry if I don't describe things quite correctly, I'm not using my linux machine right now so I can't check). There is an icon for "favorite" or "add favorite"?

You can add a "favorite". Set it up by manually entering the IP address of one of your other computers.

This worked for me -- once I entered the IP of my other computer, I could "see" the shared resources. -- Of course, you have to share the resources first.

From that point, I could use the "explore" icon -- and when I "explored" the drive on my other computer, it also "mounted" it.

Back to the network issue -- if you've got a browse server, then you have to "edit" the network and tell it the IP of the server.

I set my network up without a browse server. So, one choice was to use the "favorite" method. Another choice is to set up the network to get its info from a "file". This is one of the options offered by XSMBrowser when you edit the network (or start a new network). You may be able to use the LMHosts file, but I wasn't sure -- being a novice -- so I started a filed called SMBHosts. You just list your computers, one to a line, with the name and the IP. I think the help says the last line has to be "-1" or something like that.

The network then uses this browse list to look for your computers.

I don't know if any of this helps, but it was my approach to finding my other computers.
 
Old 05-01-2002, 10:39 PM   #4
LinuxJuanaBe
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 7.3
Posts: 21

Original Poster
Rep: Reputation: 15
No, mine will not open at all. It looks like a text document, not a program.

Your information would be extremely helpful if I could get xSMBrowser to run at all. Your info seems clear and concise. So if I can ever figure out how to get the program to run , I'll use the info that you sent along.

Thank you!
 
Old 05-02-2002, 12:22 AM   #5
basd
Member
 
Registered: Apr 2002
Location: Riverside CA USA
Distribution: SuSE 11
Posts: 83

Rep: Reputation: 15
XSMBrowser

Well, since I don't have Redhat I probably shouldn't be offering even 2 cents worth -- but I am guessing that there is an "rpm" package to install XSMBrowser for Redhat.

It seems since you mentioned headers and the like that you have some instructions that require compiling XSMBrowser from a source file -- so maybe Redhat didn't provide it in an RPM form.

You might check under "packages" on your CD, though -- but of course if you got your help from Redhat, then I suppose they would know whether they offer an rpm install or not.

Well, here is a link for a Redhat XMSBrowser rpm.

http://www.public.iastate.edu/~chadspen/install.html

"smbclient" will be installed already if you have samba installed and working. I don't recognize "expectk" -- in that I didn't specifically access it for anything, but that is probably also already installed. The only point is that you have to tell XSMBrowser where to look for these files when you "configure" it. This web page suggests they are "probably" under /usr/bin -- but you need to look in /usr/bin to be sure. Maybe your Redhat install put them somewhere else.

I doubt it. The webpage says "usually, but not always" in this location.

If you are building from a source file, then I think you run .config -- but I think the rpm will prompt you for the configuration items you need to enter.
 
Old 05-02-2002, 12:46 AM   #6
LinuxJuanaBe
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 7.3
Posts: 21

Original Poster
Rep: Reputation: 15
Unfortunately, I can't use the RPM file because it wants expectk to be in usr/bin, and I can't figure out a way to edit the RPM location before it opens the program loader. That is why I went to the source files instead, and used ./configure and ./make.

I know that I have all of the correct files. But, I must be missing a step somewhere.

Thank you for your response. I really do appreciate it.
 
Old 05-02-2002, 01:39 AM   #7
basd
Member
 
Registered: Apr 2002
Location: Riverside CA USA
Distribution: SuSE 11
Posts: 83

Rep: Reputation: 15
expectk

One possible solution may be to put a link in /usr/bin to the actual location of expectk and then run your RPM. This is probably not the "elegant" solution.

For instance, I had to set up the SMB backend for kups/cups. The way this was done was to create a link file in /opt/cups/backend to the smbspool file that was in /usr/bin. If I recall correctly, I changed directories to /opt/cups/backend and then the command was something like ln -s /usr/bin/smbspool smb. The result is a "link" file so that when "smb" is called, it actually calls /usr/bin/smbspool.

Okay, I have exhausted my entire knowledge of linux, so I will quit "giving advice". I've been struggling with a few difficult problems (printing to my windows computer and the like) that took many, many hours of research so I feel like trying to be helpful, but as you can see, I have limited knowledge.
 
Old 05-02-2002, 05:20 PM   #8
basd
Member
 
Registered: Apr 2002
Location: Riverside CA USA
Distribution: SuSE 11
Posts: 83

Rep: Reputation: 15
xsmbrowser

Okay, I got smarter since yesterday since today I loaded a version of Mandrake on a different computer, no xsmbrowser.

Turns out, xsmbrowser is a script, so run it from a console window or create a link to it.

So, anyway, I downloaded the RPM version I mentioned yesterday.

And, upon installing, I got a text file "xsmbrowser" in /usr/bin. Doesn't execute?!?

In the graphical interface, this is puzzling because if you click on the file, you get to read it.

However, I looked at the same file on my icepack install.

Same thing -- except, Icepack provided me with a "link" -- back to xsmbrowser. Puzzling.

So -- I tried running "xsmbrowser" from a console window and >voila!< xsmbrowser (plus, you can read the script execution in the console window).

I won't tell you how to make a link that will make it execute, 'cause I don't know. But at least this may help.
 
Old 05-03-2002, 01:47 AM   #9
LinuxJuanaBe
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 7.3
Posts: 21

Original Poster
Rep: Reputation: 15
Thank you! I got it running. Now I'm having a problem with viewing NTFS partitions through either LinNeighborhood or xSMBrowser. I can view Win 98 PCs though. I think it has something to do with the kernel version that is shipping with RedHat 7.2, but I haven't had the time yet to look into it.

Thank you again!
 
Old 05-09-2002, 04:01 PM   #10
LinuxJuanaBe
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 7.3
Posts: 21

Original Poster
Rep: Reputation: 15
Question How to make a link to a script?

Okay, now that I have things working correctly... is there anyone that can tell me how to create a link so that I can place an icon on my desktop for xSMBrowser and run it from there.

Right now I have to open the console window, and then run the script xSMBrower, which works perfectly.

It would just be nice if I didn't have to open the console to run it.

Thanks in advance for your responses.

 
Old 05-11-2002, 12:13 AM   #11
LinuxJuanaBe
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 7.3
Posts: 21

Original Poster
Rep: Reputation: 15
Thumbs up

Well, after playing around with settings for a bit, I figured out how to link a script to a desktop icon and make it work. If anyone is interested this is what I did.

I right clicked on the desktop (K Desktop Environment. Release 3.0.0-10) and selected configure desktop. I enabled "Desktop Menu" which brought up a menu bar at the top of the desktop screen. I then clicked on "New" on the new menu bar, and then "link to application" I clicked on the "Execute" tab and typed xsmbrowser under the title "Command:" I then clicked on the Application tab, and typed in xSMBrowser in the "Name:" field, which changes the name of the desktop icon.

Then I tested the icon, and up came xSMBrowser. So, now I'm off to my next challenge...

 
Old 05-11-2002, 12:42 AM   #12
Sfin
Member
 
Registered: Apr 2002
Location: Michigan
Distribution: Slackware 8.0
Posts: 197

Rep: Reputation: 30
This has nothing to do with your original post, but just wanted to add that you can also do this to create a link to your application.

right click > Create New > Link To Application.

rather than having to enable the desktop menu.
 
Old 05-11-2002, 01:19 AM   #13
LinuxJuanaBe
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 7.3
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks for the response Sfin, It is a nifty little feature... the more I play around with Linux, the more I like it. Just takes time to find all of the little intricacies.

I realized that I changed my question mid stream, but since I was still working on xSMBrowser, I wasn't sure if I should open up a new thread to ask the question. At any rate, I got it figured out... and then got SSL working... so I'm truckin' along... but I'm sure I'll be back with more questions...

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SNAT working problem(is that configuration problem?) cranium2004 Linux - Networking 11 05-12-2005 09:18 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 02:35 PM
X configuration problem - OR - Where did the configuration tool go??? t3kn0lu5t Debian 3 09-25-2003 08:19 PM
Configuration problem kabong Linux - General 1 08-18-2001 11:54 PM
X configuration problem Luke727 Linux - Software 3 08-14-2001 09:43 AM


All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration