Home » Unix » Page 3

I am running Windows and I don't have a very big SSD.
I want to use Linux in a VM to compile GIMP but I want to keep the VM
as small as possible.



What is the smallest distro you can use to compile code?
TinyCore is about 15MB but I doubt it includes
build-essential.



The GIMP source and compiled binaries are also probably going to be
bigger than the distro itself!



Is it worth taking TinyCore and adding lots and lots of packages
(thus increasing size) or just starting with a more focused
distro?



Ideally the distro should be 200M or less if possible.

I currently have an Ubuntu server with 10-15 users. I have some CLI
experience, but I am not a fully CLI ninja. I currently have some
groups made in the CLI to manage different groups of users.



In the near future we will probably expend ( how much more is not
sure right now). Before things get out of hand I am currently looking
for some sort of central managing system to manage the users and
groups. I have looked at Puppet and it does a really good job at
different things, but not so good at managing users at the servers
(FYI, I have never used Puppet and this is just from researching the
Internet. So even say that it is bad practice.).



So, what I would like is some sort of webgui to manage the users
and groups. So I can click to what software can be used and what
folders can be accessed and not.



I have looked at gnome-system-tools and is ok to use
for making new users and to add them to groups. If somebody would like
to add the programs than can be used with a certain group you still
have to go to the CLI.



Question: Is there some sort of web GUI to manager users and groups
from a linux server?



P.S. Just to be sure, I am not looking for something like LDAP or
any other central login methods. I would just like to manage the users
and groups and what they can do.

Is there a way to list out all the files within a directory
tree in a single list, sorted by modification time on Linux?



ls -Rlt 


lists out files recursively, but they are grouped under different
folders in the output and as a result, the output isn't sorted as a
whole. Only the contents of each directory are sorted by time.

I was doing the assignment on this link -->
href="http://zoo.cs.yale.edu/classes/cs422/2013/lec/l2-hw"
rel="nofollow">http://zoo.cs.yale.edu/classes/cs422/2013/lec/l2-hw



After running




make qemu




the assignment document says




A separate window should appear containing the display of the
virtual
machine.




This is not happening. Although the command-line prompt is working,
there is no window with the display. How can I get the window ?

Using sed, how can I remove duplicate letters from HEADERS within a
text file?



NNAAMMEE
nice - run a program with modified scheduling priority

SSYYNNOOPPSSIISS
nice [-n adjustment] [-adjustment]
[--adjustment=adjustment] [command [a$


Above is a an example. I want the output after parsing with
sed to be:



NAME
nice - run a program with modified scheduling priority

SYNOPSIS
nice [-n adjustment] [-adjustment]
[--adjustment=adjustment] [command [a$

I have laptop with 16GB RAM, trying to install Red Hat Enterprise
Virtualization Hypervizor 3.3 on Virtual Machine Manager (KVM) based
Guest, but it gives error "Virtualization Hardware not found"



? What's possible solution for this error?
? Like in Oracle VM Box there is a option to enable support for
Virtualization for Guest machine, is there anything like same in
Virtual Machine Manager?



Is it possible to test RHEV 3.3 on any of the virtualization like
KVM, Oracle VM Box or VM Ware Workstation 10?

I am trying to mount a Windows shared folder in my home folder. I
am able to execute the following command from a Linux (i.e., CentOS)
machine which I have sudo access. The command that I am using is:



sudo mount -t cifs //172.17.53.171/Projects
~/RemoteProjects -o username=domain/mhicks


The real trick is trying to mount the same folder on a machine
which I don't have sudo/root access. In order to use the mount
command it is stating that I need root access. How can I mount/map a
Window's shared folder in Linux without sudo/root access?



Perhaps mount is the wrong way of going about it?

I need to connect to a server and don't know whats going on:



me@pc:~$ ssh -v server
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /home/me/.ssh/config
debug1: /home/me/.ssh/config line 6: Applying options for server
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Hostname has changed; re-reading configuration
debug1: Reading configuration data /home/me/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to servername [---] port 22.
debug1: Connection established.
debug1: identity file /home/me/.ssh/id_rsa type 1
debug1: identity file /home/me/.ssh/id_rsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: Remote protocol version 2.0, remote software version
OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1*
compat 0x04000000
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com
none
debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com
none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA
6f:59:b4:82:2a:74:74:be:29:df:f2:3f:19:fb:4d:d4
debug1: Host 'servername' is known and matches the RSA host key.
debug1: Found key in /home/me/.ssh/known_hosts:4
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/me/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Offering DSA public key: me@pc
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: password
user@servername's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
user@servername's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.


More vebose mode:



OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /home/me/.ssh/config
debug1: /home/me/.ssh/config line 6: Applying options for server
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Hostname has changed; re-reading configuration
debug1: Reading configuration data /home/me/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to servername [---] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/me/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/me/.ssh/id_rsa type 1
debug1: identity file /home/me/.ssh/id_rsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: Remote protocol version 2.0, remote software version
OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1*
compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "servername" from file
"/home/me/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file
/home/me/.ssh/known_hosts:4
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer hostkeyalgs:
ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit:
curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit:
ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-dss-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-dss
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit:
hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit:
hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit:
curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit:
hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit:
hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: setup hmac-md5-etm@openssh.com
debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com
none
debug2: mac_setup: setup hmac-md5-etm@openssh.com
debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com
none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA
6f:59:b4:82:2a:74:74:be:29:df:f2:3f:19:fb:4d:d4
debug3: load_hostkeys: loading entries for host "servername" from file
"/home/me/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file
/home/me/.ssh/known_hosts:4
debug3: load_hostkeys: loaded 1 keys
debug3: load_hostkeys: loading entries for host "141.2.248.1" from
file "/home/me/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file
/home/me/.ssh/known_hosts:5
debug3: load_hostkeys: loaded 1 keys
debug1: Host 'servername' is known and matches the RSA host key.
debug1: Found key in /home/me/.ssh/known_hosts:4
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/me/.ssh/id_rsa (0x7f1f3f8e9a00), explicit
debug2: key: /home/me/.ssh/id_dsa (0x7f1f3f8eaff0),
debug2: key: xxx@gmail.com (0x7f1f3f8ea090),
debug2: key: me@pc (0x7f1f3f8eace0),
debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred
gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/me/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Offering DSA public key: /home/me/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Offering RSA public key: xxx@gmail.com
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Offering DSA public key: me@pc
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password


The config file contains



Host server
Hostname servername
User user
IdentityFile ~/.ssh/id_rsa


and .ssh has permissions set to 700.

There is no permutation that I have yet found of window manager /
display manager, that correctly scales windows and applications on two
different monitors with two different DPIs.



I have a 40 inch 4k monitor running about 110 dpi, plugged into a
hidpi Dell notebook at about 240dpi. I have to accept far too tiny
assets on the hidpi or far too large on the big monitor. It just
doesn't look good. Yes there are some "halfway points" that kinda
work, and Unity does allow asset scaling separately by monitor to some
degree, but I still get problems in applications themselves.



I have tried different combinations of Unity / Gnome 3 / KDE / I3
and even e17. Most of the time display manager (I think) was lightdm,
as the distro was usually Ubuntu, but I have tried Fedora 22 also, and
Kubuntu which I think use different display managers. Very latest
versions each time / clean installs.



All of the time I'm seeing poor scaling effects. I don't mind
running beta software. I don't mind some instability. What I do mind
is visual inconsistency. Where should I go? Which distro does this
well, now?



I'd ideally like all the window manager components and the
applications to scale consistency.



Should I wait for Wayland? Can I get it now? Does that solve the
problem?



Mir?

Right now every command which starts with a space character gets
ignored by bash history (HISTCONTROL=ignoreboth in
~/.bashrc).

I would like to have a better visual cue when I press space as the
first character in the prompt input field.



So is there a method of adding such a thing in the bash prompt?

For example, you would color a part of the prompt when it notices that
you press space as the first character of the input field
(because obviously reacting to other space characters in the input
field would be silly).


- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ PHP
+ ASP/ASP.Net
+ C/C++/C#
+ VB/VB.Net
+ JAVA
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow