
Hello all, I am using a Kubuntu computer (dual-boot) on a Windows LAN. I am able to the following: -Use Samba to access Windows shares using my domain name and password (I'm a Domain Admin). -Open Microsoft documents in Open Office (If I open Open Office first and then navigate my way to the share using the "Open" dialog box. -Have the machine show up in the Windows "Microsoft Windows Network" location in My Network Places. It shows up in its own workgroup, even though I listed the name of the domain in the "domain" line in the network preferences setup (KDE System Settings). This is what I would like to able to do; 1- When I click on the Microsoft document directly from the Konqueror window, Open Office displays it start up screen, but never opens. When I open the document from inside Open Office, it opens it, but says "Samba not fully supported. Only a local copy of the file will be created." And then it gives it some jibberish name - like kdefilepickerPX0BQa.doc" How do I get it to directly open the Microsoft document from the Konqueror window? How do I fix the Samba error? 2 - I would like to be able to RDP/VNC into the Linux box from Windows. I have a VNC viewer and a putty client. Both of these, as well as Windows "Remote Desktop Connection", all give me the "Connection refused" error. How do I fix this? 3 - I would like to share some folders on the Linux box to be accessible from Windows. I can see the Linux computer in the computer list, but when I click on it, it comes up with a login box. When I type my Linux user name and password (which is the same as my Windows variants), it does not accept the authentication. This never happened when I was running Ubuntu 5.04. The file system was just shared - I didn't set anything up or install any packages. Any help appreciated! Hohua

Joshua Mark Goodwin wrote:
Hello all,
Hi Josh, Gavin Here. While not so sure on unbuntu. there is a tool i really like called linneighborhood (or something like that) that lets me do the graphical mount.
what you are trying to do is treat Linux like windows, but you need to think more Linux-ish (Think of the Mac's and how drives are mounted - quiz Daniel on this) What you need to do is mount the share so that it looks like a local drive. In command-line is like smbmount /iblp-net/sharenamehere /home/username/share (this assumes you have first made a local directory under the username called share (it can be any name). now the drive is mounted the files look like they are local. so open office will be able to handle them. When you finish with the share, you just unmount it. smbumount /home/username/share Why I like linneighborhood is that it does the work for you you can see the shares, mount them and unmount with a right click. Also when configured it will create the directory's with the same names as the shares, then double click to open a window to see the files, double click the files and you open them just like local files, save them the same way and your open office issues should be solved. I think a tool like this also exists in KDE, but you need to add the files to fstab or something, but I am sure a KDE native tool for this exists but I cant think of its name. These may already be in your system
This is what I would like to able to do;
1- When I click on the Microsoft document directly from the Konqueror window, Open Office displays it start up screen, but never opens. When I open the document from inside Open Office, it opens it, but says "Samba not fully supported. Only a local copy of the file will be created." And then it gives it some jibberish name - like kdefilepickerPX0BQa.doc"
How do I get it to directly open the Microsoft document from the Konqueror window? How do I fix the Samba error?
Master the mount, and this should work, Hopefully an unbutu user will help you with the tools you should already have.
2 - I would like to be able to RDP/VNC into the Linux box from Windows. I have a VNC viewer and a putty client. Both of these, as well as Windows "Remote Desktop Connection", all give me the "Connection refused" error. How do I fix this?
To do VNC you need a VNC server. to do Putty you will need ssh enabled and configured and RDP .. Who Knows .. again hopefully an ubuntu local can help with these in the meantime this might help you http://www.wlug.org.nz/ActiveDirectorySamba
3 - I would like to share some folders on the Linux box to be accessible from Windows. I can see the Linux computer in the computer list, but when I click on it, it comes up with a login box. When I type my Linux user name and password (which is the same as my Windows variants), it does not accept the authentication. This never happened when I was running Ubuntu 5.04. The file system was just shared - I didn't set anything up or install any packages.
Ahhh /etc/smb.conf ... I am at home. Basically you need to set up a share. I use the method of editing the smb.conf file myself, but again there are tools for doing this. as well as getting a share you need to configure the SMB password as well as the user share. They can be the same or different. For example if the user is josh you could do a #smbpasswd josh mykoolpassword ( http://kimihia.org.nz/how/samba/ looks like a good place to read up on this ) Once the shares are created and the password is set up you should be able to access the shares If you want to manually edit the shares I'll post you one of my smb.conf files to your e-mail directly, but I think you will be doing more security than I am. so you'll need to just use the share bits and setup the rest with your security needs in mind. Samba is fun. You'll enjoy it and its really handy, when I got my first mac and was having issues, I opened a terminal and edited the smb.conf and all my issues were solved. You'll eat it for breakfast with some reading up on smb.conf, smbpasswd and the links above. Check the wiki too, these's a fair bit on samba in there http://www.wlug.org.nz/SambaNotes

I found a program called smb4k - it's a kde mount manager. Exactly what I need. At this point I'm still working my way through the install. I have followed these steps: -cd into the directory -run ./configure successfully Cool beans. The directions in the INSTALL file said to type "make" next to complile the package. 2. Type `make' to compile the package. 3. Type `make install' to install the programs and any data files and documentation. 4. You can remove the program binaries and object files from the source code directory by typing `make clean'. When I type "make", I get this error: *bash: make: command not found *I tried to make install as well, but get the same error. I know this must be something simple I am missing. Hohua Gavin Denby wrote:
Joshua Mark Goodwin wrote:
Hello all,
Hi Josh, Gavin Here. While not so sure on unbuntu. there is a tool i really like called linneighborhood (or something like that) that lets me do the graphical mount.

Joshua Goodwin wrote:
*I tried to make install as well, but get the same error. I know this must be something simple I am missing.
apt-get install build-essential This will get the set of packages that are required to be able to compile software on our machine. Make is one of these packages. Incidentally smb4k is already packaged for Ubuntu so you should be able to just go apt-get install smb4k and you'll be away, unless you have special requirements that require building from source? Cheers -- Matt Brown matt(a)mattb.net.nz Mob +64 21 611 544 www.mattb.net.nz

Joshua Mark Goodwin wrote:
2 - I would like to be able to RDP/VNC into the Linux box from Windows. I have a VNC viewer and a putty client. Both of these, as well as Windows "Remote Desktop Connection", all give me the "Connection refused" error. How do I fix this?
I've not actually tried it myself, but I understand that Gnome now includes an RDP server. Choose 'System > Preferences > Remote Desktop' and select the appropriate options. I'd like to believe that it would "just work" after doing that, but as I say I've not tried it, so give it a go and report back :) Cheers -- Matt Brown matt(a)mattb.net.nz Mob +64 21 611 544 www.mattb.net.nz

Matt Brown wrote:
Joshua Mark Goodwin wrote:
2 - I would like to be able to RDP/VNC into the Linux box from Windows. I have a VNC viewer and a putty client. Both of these, as well as Windows "Remote Desktop Connection", all give me the "Connection refused" error. How do I fix this?
I've not actually tried it myself, but I understand that Gnome now includes an RDP server.
Choose 'System > Preferences > Remote Desktop' and select the appropriate options.
I'd like to believe that it would "just work" after doing that, but as I say I've not tried it, so give it a go and report back :)
Its VNC + vino, not RDP. Michael
participants (5)
-
Gavin Denby
-
Joshua Goodwin
-
Joshua Mark Goodwin
-
Matt Brown
-
Michael J. Knox