Linux and Microsoft Windows, leading operating systems can assist each other in many ways. Windows applications can run from Linux desktop or access a Linux server's printers and files. Linux applications can display their user interfaces on a Window desktop. Both platforms have their strengths and they can be made to work together. Windows is a popular and featureful desktop platform, capable of bridging the gap between the user and the network cable coming out of the wall. Linux on the other hand, is a reliable and scalable infrastructure platform.
Virtual Network Computing.
In the late 1990's a few people at AT&T Labs, developed a system for remote desktop access called VNC. The VNC protocol dosen't deal with individual applications. Instead it creates a complete virtual desktop as a unit. Under VNC, a special X11 server runs on the central machine and a viewer application is used to access that server. The Linux VNC server implementation is essentially a graphic adaptor emulator that plugs into X.Org X Window server. Running a vncserver from Linux account creates a new virtual desktop that runs in the self-contained world of the Linux machine.
Windows Remote Desktop Protocol.
After Windows 2000 server, every Windows box has the technical ability to provide graphical remote access to several users at the same time. The remote access component called Remote Desktop and it uses a protocol called the Remote Desktop Protocol to communicate between client and server. RDP even allows local printer and disk resources to be forwarded to the remote Windows session.
Running Windows and Windows-Like Application.
Virtual Machine is a software based, fictive computer. Virtual machines may be based on specifications of a hypothetical computer or emulate the computer architecture and functions of a real world computer. Regardless of the host operating system, can install operating systems into one of Virtual Machines. Virtual Machines licenses had been both commercial and open source code.
Wine is an another option, which it implements the Windows programming API in the Linux environment, allowing to run Windows application directly on top of Linux and X. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing to cleanly integrate Windows applications into desktop.
Dual Booting.
Since many operating systems run on PCs, it is fairly common practice to setup a machine to be able to boot several different systems. For that once the operating systems installed then reconfigure the GRUB. For installation please visit Debian for Desktop.
Sharing Files with SAMBA.
Samba is a free software re-implementation of the SMB/CIFS networking protocol. Samba provides file and print services of various Microsoft Windows clients and can integrate with a Windows Server domain. Its provides a stable industrial-strength mechanism for integrating Windows machine into a Linux network. Only need to install one package on the server, no special software is needed on the windows side. Most of the Samba's functionality is implemented by two daemons; smbd and nmbd. smbd implements file and print services as well as authentication and authorization and nmbd provides the other major CIFS components; name resolution and service announcement.
Running Windows and Windows-Like Application.
Virtual Machine is a software based, fictive computer. Virtual machines may be based on specifications of a hypothetical computer or emulate the computer architecture and functions of a real world computer. Regardless of the host operating system, can install operating systems into one of Virtual Machines. Virtual Machines licenses had been both commercial and open source code.
Wine is an another option, which it implements the Windows programming API in the Linux environment, allowing to run Windows application directly on top of Linux and X. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing to cleanly integrate Windows applications into desktop.
Dual Booting.
Since many operating systems run on PCs, it is fairly common practice to setup a machine to be able to boot several different systems. For that once the operating systems installed then reconfigure the GRUB. For installation please visit Debian for Desktop.
Sharing Files with SAMBA.
Samba is a free software re-implementation of the SMB/CIFS networking protocol. Samba provides file and print services of various Microsoft Windows clients and can integrate with a Windows Server domain. Its provides a stable industrial-strength mechanism for integrating Windows machine into a Linux network. Only need to install one package on the server, no special software is needed on the windows side. Most of the Samba's functionality is implemented by two daemons; smbd and nmbd. smbd implements file and print services as well as authentication and authorization and nmbd provides the other major CIFS components; name resolution and service announcement.
#apt-get install samba
On all systems, need to edit the smb.conf file (#nano /etc/samba/smb.conf) to tell samba how it should behave. In this file specify the directories and printers that should be shared, access rights and samba's general operational parameters.
= Global Settings =
Change the workgroup name similar to the workgroup of windows pc's in network. Also give the correct WINS or disable the wins server.
=Authentication=
By default 'security = user', change it to 'share' and uncomment the line. If user give need to create a samba user with help of command #smbpasswd -a {username}. Here username must be same as windows user name using to login windows pc, password must be different from the password for that user, otherwise system will be vulnerable.
=Share Definition=
If a printers section occurs in the configuration file, users are able to connect to any printer specified in the local host´s print cap file.
[printers]
path = /usr/spool/public (where to store print files before printing)
guest ok = yes (Everybody can use the printer)
printable = yes (let samba know this share is a printer)
browseable = yes (show printers to everyone looking)
printing = LPRNG (tell samba about particular printing system)
(remove all semicolons).
A sample share for sharing your CD-ROM with others.
[cdrom]
comment = Samba server's CD-ROM (the sharing folder name, cd-rom or any directory)
read only = yes
locking = no
guest ok = yes
writable = yes
path = /cdrom (where this folder is mounted, eg; if sharing a directory named SOFTWARE, replace in this file all cd-rom to software and create a folder named software and give that location in path (path = /home/varun/desktop) make sure must mount the section for getting in windows or set in /etc/fstab.
(remove all semicolons).
For more details #man smb.conf
On all systems, need to edit the smb.conf file (#nano /etc/samba/smb.conf) to tell samba how it should behave. In this file specify the directories and printers that should be shared, access rights and samba's general operational parameters.
= Global Settings =
Change the workgroup name similar to the workgroup of windows pc's in network. Also give the correct WINS or disable the wins server.
=Authentication=
By default 'security = user', change it to 'share' and uncomment the line. If user give need to create a samba user with help of command #smbpasswd -a {username}. Here username must be same as windows user name using to login windows pc, password must be different from the password for that user, otherwise system will be vulnerable.
=Share Definition=
If a printers section occurs in the configuration file, users are able to connect to any printer specified in the local host´s print cap file.
[printers]
path = /usr/spool/public (where to store print files before printing)
guest ok = yes (Everybody can use the printer)
printable = yes (let samba know this share is a printer)
browseable = yes (show printers to everyone looking)
printing = LPRNG (tell samba about particular printing system)
(remove all semicolons).
A sample share for sharing your CD-ROM with others.
[cdrom]
comment = Samba server's CD-ROM (the sharing folder name, cd-rom or any directory)
read only = yes
locking = no
guest ok = yes
writable = yes
path = /cdrom (where this folder is mounted, eg; if sharing a directory named SOFTWARE, replace in this file all cd-rom to software and create a folder named software and give that location in path (path = /home/varun/desktop) make sure must mount the section for getting in windows or set in /etc/fstab.
(remove all semicolons).
For more details #man smb.conf
No comments:
Post a Comment