Hot answers tagged

13

Yes, this is possible in a few different ways but you will need an X window server for Windows. Some options of a X windows server are XManager, XMing and MobaXterm. Once you have an X server running on Windows you can use PuTTY to connect to your host after you have set the configuration parameters: Connection/SSH/X11 Enable X11 forwarding X display ...


6

1) Download and install Samba: apt-get install samba samba-common 2) Backup samba.conf: cp /etc/samba/smb.conf /etc/samba/smb.conf.bak 3) Edit samba.conf: nano /etc/samba/smb.conf Replace all with and edit it to your wishes: [global] workgroup = arbeitsgruppe server string = %h server (Samba %v) log file = ...


6

Ah, the famous conundrum "which Linux distro to install". The best thing would be to install the same distro the friends of your friend use, so he can get help when he needs. If he knows nobody using Linux around him, the simplest and user-friendlier distro is probably Ubuntu. It has a large user base and good support.


6

It appears like the empty lines contain an invisible (unprintable) character, and the server is trying to run it as if it were the name of a command; hence the error : not found [No such file or directory]. Delete the empty lines or ensure they're really empty. Edit: OP's comment confirms that it is indeed the case, as the code was written under Windows. On ...


5

As @Celeo shared I think you chances are small. What you should have done before installation are two things :- a. Make a backup of the content on the D drive before doing that. b. Make D partition smaller and then make E which is free, blank and has nothing. Then when you install choose E to install Ubuntu or whichever GNU/Linux distribution you want to ...


5

You can save a file in Notepad++ using "unix" line-endings. It is a menu-selection. See for example How to avoid DOS line endings in Windows tools Change EOL on multiple files in one go Can I convert file format in Notepad++ ?


4

This behavior because of a security policy of the modern Samba. Fix by adding this line to your /etc/samba/smb.conf: acl allow execute always = True Source: Samba's Wiki.


4

I recommend to create a dedicated user for that share and specify it in force user. Create a user (shareuser for example) and set the owner of everything in the share folder to that user: adduser --system shareuser chown -R shareuser /path/to/share Then add force user and permission mask settings in smb.conf: [myshare] path = /path/to/share writeable = ...


4

Yes, as I have done this before, but with Ubuntu-based distros connected to Windows Vista. However this should still work with Windows 10. This is called a direct ethernet connection. There are a few steps to this: Windows, p1 check current IP for example Start, cmd to open a terminal, run ipconfig write down the current IP(s) to compare later Both ...


3

If you really want to accomplish that using a packet generator, I can recommend Scapy, which is a packet generator library for Python. You can use it out of the box on the Python Console or script it. It should also run on Windows. Nevertheless, as already recommended in the comments, maybe nmap should be sufficient to accomplish your aim. nmap is not ...


3

Ostinato aims to be "Wireshark in Reverse" and become complementary to Wireshark. Ostinato is an open-source, cross-platform network packet crafter/traffic generator and analyzer with a friendly GUI. Craft and send packets of several streams with different protocols at different rates.


3

I can't say that my own 19 year experience of running Linux supports your assertion that windows boots more stably, but here are some things that will effect what you are seeing: Filesystem caching Linux uses caching on all filesystems unless told otherwise. This improves speed and response times for disk reads and writes by userspace programs, as they ...


3

You can use X forwarding on Windows as well; all you need is an X server (such as Xming) and an SSH client (such as PuTTY). Xming includes documentation explaining how to go about things; basically, you enable X forwarding in PuTTY, start the X server on your Windows machine, SSH to the Linux machine and run your Java application. You might find that rather ...


3

I might unfortunately decide to use Windows as the host operating system so that my non-Unixy colleagues would not be at a disadvantage - being able to leverage their existing knowledge - and to use the Windows application as needed without waiting for the Linux operations to cease. I would install Linux (RHEL probably, given the choices) in a virtual ...


3

As I commented, the (NTFS) file system was dirty, as the error message was saying. So checking it (on Windows) with a chkdsk command (or the Windows equivalent of fsck) -to clean it- then rebooting Linux could be enough. If you absolutely need Windows with some data shared with Linux, you could consider using an Ext4 (or Ext3) file system (shared with ...


3

Firstly you shoud check if it hits the storage performance limit on either Windows or Ubuntu. If E: on Windows is a USB attached drive or memory card, 8MB/s is likely possible. Otherwise SSH encryption might be bottleneck. Try and see with lightweight cipher like arcfour. scp -o Cipher=arcfour -rv /cygdrive/e/plex caleb@192.168.1.126:/home/caleb/Desktop ...


3

There are multiple versions of RDP protocol: original 4.0, which is a clone of ITU-T T.128 protocol 5.0 - which is still used by rdesktop (and not even fully) 5.1, 5.2, 6.0, 6.1, 7.0, 8.1 and 8.1 As you can imagine, each new version of RDP is better, not only by introducing new features, but also by further improving performance and overall user ...


3

You can use "Remote Desktop Viewer" and connect using RDP protocol to windows machine (you need to allow this on windows side). You can't do this using ssh, since windows is not running sshd server nor X11 client by default.


3

I would suggest using FAT32. The reason is its usage on USB flash drives. Everybody uses USB flash drives, so every OS will support this file system. Of course many OS claim to support so many file systems, but this is the one foreign file system, which used all the time, so if there are problems they will soon be known and fixed. The one disadvantage of ...


3

Hi if you want to use the putty like use Openssh with -x you have to install XMING on your windows machine . it became like some sort of server then you have to config you putty to forward X11 of you ssh connection over this server Download Xming You can use this tutorials


3

Solution Using dos2unix solved the problem. $ dos2unix patterns.txt dos2unix: converting file /home/miguel/patterns.txt to Unix format ... $ file patterns.txt /home/miguel/patterns.txt: ASCII text And now grep -f works again. $ echo 'sandbox/test/script.py' | grep -G -f patterns.txt sandbox/test/script.py Hope this solution helps someone out with the ...


3

Unfortunately, somewhere on the way, you decided to encrypt your home directory, so basically, you need to restore from your most current system back-up. Sorry to be the harbinger of bad news


3

since kali 1.6 until kali 2.0 (sana) , i am pretty sure that kali on usb gives errors in most of cases ! except if you created your live usb using DD on a linux box. sudo dd if=/path/to/kali.iso of=/dev/sdX i can't tell you that if you're installing last kali distro (2016) i haven't tried it yet! but as suggestion here's another way to install ...


2

Try running sudo ntfsfix /dev/sdXY, where sdXY is the name of your device.


2

You should consider hping3. It has plenty of documentation, and it will probably be able to do what you want.


2

Most OS installers including the Ubuntu/Debian installer will create and enable a swap partition if you select all of the default options in the installer, in particular if you use automatic/guided partitioning. If you use manual partitioning at installation time or if you retain the partition table that already exists on the disk, then it's up to you ...


2

The ability to swap in Linux is dependent on configuration of a disk partition or a sufficiently large (specially formatted) file on an active mounted partition to operate. Generally when a system is semi-automatically installed there is one swap partition created, configured and put into the /etc/fstab file for use. OSX being a UNIX/Linux off-shoot is ...


2

I don't think this likely has anything to do with the mounting. Are you sure the CR characters are there originally in the file? Assuming they are not, you can use unix2dos to add them, though I haven't actually verified that exists for AIX. You could use sed like sed -i -e 's/\n/\r\n/g' <file> if you don't have unix2dos available. The -i flag ...


2

In similar cases, I've used WinSCP. It's a Windows SCP client that allows you to browse the Linux file system graphically and scp files back and forth between the 2 machines. Available here : http://winscp.net/eng/index.php


2

I see in my crystal ball that you're editing the file on a Windows machine. Windows and Linux have different ways of representing line breaks. On Linux (like any unix system), a line consists of a series of characters which ends with a line feed (LF = \n = Ctrl+J) character. On Windows, lines are separated by a two-character sequence: carriage return, then ...



Only top voted, non community-wiki answers of a minimum length are eligible