A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

7
votes
3answers
4k views

Intel HD4000 with 4k HDMI output on Linux

I wonder if I can output 4k resolution (3840 × 2160) @ 30Hz with a Intel HD4000 graphics using Linux and a single HDMI output. I have a Thinkpad Edge E330 with HDMI 1.4. The CPU is an i5-3210M. I ...
4
votes
3answers
5k views

How to change the resolution of the TTY on Arch Linux

I followed the Arch beginner's wiki to install on VMWare player (host is Windows 7) Arch without x-server and I would like to know how I can change the resolution of what I think is called the TTY to ...
4
votes
3answers
450 views

Set up Linux box as WAP for MyBookLive?

I inherited an old Linux box as well as a MyBookLive and would like to make the MyBookLive available over my wireless, essentially using the Linux box as a gateway. I just wiped the Linux box (home) ...
4
votes
3answers
2k views

Can't set-up Wifi Adhoc on my Raspberry Pi with an USB dongle

I am trying to set-up an access point (ad-hoc) for my Raspberry Pi. That means I'm trying to "share" the ethernet connection over Wi-Fi. I am doing this using my Ralink Technology, Corp. RT2501/RT2573 ...
4
votes
3answers
1k views

No signal on monitor after plug it to a linux box

I use my old computer as an NAS, so I remove the monitor after I installed linux on it (disconnect vga cable). I use ssh to control the machine and it works fine. Until some day, after kernel/softare ...
4
votes
3answers
7k views

Which keymap should I use for a wired Mac keyboard in Gentoo Linux?

I just purchase the new wired Mac keyboard: Running on Gentoo Linux it works mostly fine. The only problem I am having is the function keys and swapping the Alt and Command keys to resemble a ...
3
votes
3answers
191 views

Where does this name come from? root@<hostname>

When I putty into my CentOS 6 server I am shown root@ DemandStream Development This was a copied and repurposed Linux VM from one of our development environments. How do I change this name? It seems ...
3
votes
3answers
909 views

Is there actually a way to make video calls through XMPP/Jingle WITHOUT Google Talk?

Good day people, I'm writing because I've spent the whole day trying to make video calls through XMPP but I haven't really found out if it's actually possible. There are many clients which ...
3
votes
3answers
6k views

SFTP ChRoot result in broken pipe

I have a website that I want to add some restricted access to a sub-folder. For this, I've decided to use CHROOT with SFTP (I mostly followed this link : ...
2
votes
3answers
82 views

Recovering filesystem in mangled partition

Accidentally booted the Acer Recovery partition of my multi-boot laptop and despite selecting EXIT when presented with a choice of whether I wanted to recover anything or not, one of my partitions got ...
2
votes
3answers
58 views

How do I create a file as a user and then modify it as another user?

I have a script that does an "su - oracle" then runs exp. I need to store that file to a directory /app/dumps that the user "backups" has access to read + write the file. What's the proper way to ...
2
votes
3answers
2k views

Haproxy for SSH name based proxying

I have a host machine with several lxc containers. I am trying to give ssh access to containers directly based on domain names. For this I have tried setting up HAProxy. Could achieve this easily with ...
2
votes
3answers
13k views

Linux Mint Wifi keeps disconnecting at random times and asks for wifi password

I have a fresh install of linux mint 16 cinnamon edition. I have a Netgear wireless dongle model: WNA1000M. Is there any command i should run to get more details? Wifi drops about: 15min to 1hr.
2
votes
3answers
435 views

Why is my computer screen black whenever I load an OS?

Whenever I boot up windows I get the "Starting Windows" screen and then I'm shown a black screen with a mouse cursor (which I can move). I installed Linux Mint 17 on an entirely different hard drive ...
2
votes
3answers
571 views

How can I find all files on a folder tree that have a none alpha numeric characters in it

I have taken over from someone else a lot of historic data. However the file names are totaly random and badly formatted IMHO. To start with I want to get a list of all files that contain spaces, or ...
2
votes
3answers
856 views

How can I determine if a client SSH connection has a tty associated with it?

Im writing a PAM module to handle authentication (server side - sshd) and I have to know if an ssh client is a tty (interactive) or not (non interactive). Does anyone have a clue?
2
votes
3answers
2k views

sudo very slow after winbind to AD on RHEL6

When I run a sudo command after binding my linux machine to an AD domain using samba/winbind, it takes anywhere between 10 seconds and 2 minutes to respond before prompting for my password. I've ...
2
votes
3answers
272 views

How to prevent a user from viewing the entire file-system?

I've set up SFTP/SSH so that a user can only put to their home directory, however, they can still cd to all other directories and get files that they see. How can I prevent this? EDIT: My ...
2
votes
3answers
2k views

Set up “smart” DNS server

I'm in a restricted network and I want to setup a smart DNS server for personal use. I don't want to use any VPN services since it required setup on my Windows 8. I don't want to encrypt internet ...
2
votes
3answers
981 views

Run a script after killing lxsession (xorg)

I am trying to run a program automatically within a bash script after killing the LXDE session. My script consists of: #!/bin/sh pkill lxsession; sh ...
2
votes
3answers
552 views

Create bootable hard drive image

I've got a file server running Linux that I want to be able to run headless and access it via ssh. I no longer have room for the monitor and keyboard and plan to put it in a closet or somewhere out of ...
2
votes
3answers
912 views

Power optimization in Linux

I am working on a traffic surveillance project which performs various image processing tasks with a number of visual sensors and a computing platform. My basic task in the project is the power ...
2
votes
3answers
6k views

Cant get squid proxy to work

i need squid proxy on my centos server. But i just can't get it to work. I did yum install squid. Here is my squid.conf file (i removed all comments): acl all src 0.0.0.0/0.0.0.0 acl manager proto ...
2
votes
3answers
849 views

GNU Screen - pasting from System Clipboard

I am using screen on OS X. I have two bind commands: bind ( eval "writebuf" "exec sh -c 'pbcopy < /tmp/screen-exchange'" bind ) eval "exec sh -c 'pbpaste > /tmp/screen-exchange'" "readbuf" ...
1
vote
3answers
172 views

How to check the program is installed on linux?

I want to check if the program is istalled on linux(CentOS). (I used java jsch) If not, send messages to front-end which program user lacked. I used which As you can see,I didn't have php ...
1
vote
3answers
201 views

Using scp to get all files in multiple directories

I have a directory structure which looks like A1/B1/C1/files111*, A1/B1/C2/files112*, A1/B2/C1/files121*, A1/B2/C2/files122*, etc. so that all files in all directories are unique. Is there a way to ...
1
vote
3answers
280 views

Bash script to find all folders containing a specific file and copy a new file to those folders

I'm trying to write a script that will loop through all subfolders of a directory to search for a specific file and then copy a new file to those folders that contain that file. This is what I have ...
-1
votes
2answers
19 views

Error while updating date time automatically on Ubuntu

I'm trying to update Ubuntu's date and time automatically, but I get an error for all time servers: asia.pool.ntp.org north-america.pool.ntp.org europe.pool.ntp.org Public Time Server (pool.ntp.org) ...
-1
votes
2answers
45 views

Remote Linux in Windows

I have Windows7 on a work and Debian Jessie at home. I need to start some programs and work in Linux. I heard about SSH-connections I want to be able to work through the internet on my computer. ...
-1
votes
2answers
101 views

Linux with a GUI on an Asus N3150I-C?

Could you recommend me a linux distro, which can run without any (hardware dependent) problems on an Asus N3150I-C motherboard? I've tried Debian Jessie. GUI can't start. I don't remember the message, ...
-1
votes
2answers
47 views

Install Linux to in-use hard drive from within Windows XP

I have a vintage desktop PC that I want to repurpose as a simple Linux-based appliance. It runs Windows XP (Home) and none of its internal drives (including floppy!) are functional, except for the ...
-1
votes
2answers
42 views

GRUB boot error rescue

Recently created a Linux/windows 10 dual boot and something went wrong.... every time i boot up my PC it brings me straight to GRUB rescue and i am unable to type or access the BIOS menu (i have tried ...
-1
votes
2answers
82 views

I can't remove GRUB from windows 8, How to remove it?

I'm kind of newbee in using UBUNTU and a little curious about what does it do, so I used my old HDD to use it as an external storage and install UBUNTU on it. After installing it, using it for a ...
-1
votes
2answers
52 views

how to verify firewall rule for a particular service?

How could i check which firewall rules are used by a particular service and whether port is blocked to restrict access by external users? i.e netstat -tulnp | grep 123 udp 0 0 ...
-1
votes
2answers
68 views

formatting output in bash shell to remove special characters - linux

I am issuing the command below against a logfile grep "Oracle Audit" /var/adm/messages | awk '{print $6}' How do I format the below output Audit[9460]: Audit[10507]: Audit[10507]: Audit[10507]: ...
-1
votes
2answers
197 views

Does installing Windows and Linux slow down computer?

I have Windows 8.1 already installed in my laptop. Now i'm thinking o installing Linux too. Is it a good idea? will it slow down my system?
-1
votes
2answers
111 views

Apply command to every line in bash terminal

I've accidentally discovered the lolcat package today. The first thing that I though about is: it would be fantastic if i could pipe everything that comes from stdout to the terminal through lolcat ...
-1
votes
2answers
141 views

Laptop won't boot with RAM upgrade

I have a circa 2010 Sony Vaio VPCEB25F that has two memory slots and came stock with 2x2GB; I can’t remember the specs, can fill-in when I get back home. I just purchased two 4GB Team DDR3 1600MHz ...
-1
votes
2answers
3k views

Asus X205T Legacy boot

Does anyone know how to boot Linux "Ubuntu" from a Usb Stick when there is no Legacy boot option In the Bios I have Microsoft 8.1 and want to replace it.
-1
votes
2answers
54 views

Linux remote control over internet

I have a ARMv7 mini PC in city A, and a laptop in city B. Both of them are behind router and firewalls, ARMv7 is running Ubuntu 14.04, only user is root, Laptopis running ARch. I want to access the ...
-1
votes
2answers
582 views

Re-installing Windows with HDD encrypted with Ubuntu?

When I installed Ubuntu, I encrypted everything for security reasons but now I need to switch back to Windows and I cannot boot from CD. When I boot the CD in Wine it says: Windows Setup cannot ...
-1
votes
2answers
708 views

Unable to connect to Internet in OEL5 guest even though I can ping machine from host machine

I have Oracle Enterprise Linux 5 as Guest on VirtualBox running on Windows 7 host using Bridged Network. I have being trying to configure a static IP on OEL5 VM Guest at work, as previously the VMs ...
-1
votes
2answers
821 views

Keeping users inside their home directory

I have a fresh install of CentOS and I'm currently setting up users. Their home directories reside within /home/username/ and I want to make it so that they cannot ls or cd outside that area when ...
-2
votes
2answers
42 views

Installing Linux and windows on dual boot - specific problm

I already have Linux installed on my laptop, Kali Linux 2.0 (latest) to be specific. Due to some software requirements for programming I have to install windows 10 also on my laptop as dual boot. I ...
-2
votes
2answers
270 views

Converting an ELF executable (Linux) into a PE.exe (Windows)

I am a newbie when it comes to using machine code files!!! I need to use a machine code executable obtained as ELF (Linux) into an exe file for Windows. I have tried 'objconv' but, though the format ...
-2
votes
2answers
94 views

Copy sequential files into sequential directories

I need to copy multiple, sequential files into sequential directories. The files have the julian date (day of year) with other info in the file name. The directories are listed by julian date (day of ...
-2
votes
2answers
965 views

Linux: Giving a user read/write access to all files and directories

Is it possible in linux to give a user read/write access to all files and directories like root? EDIT I have a special case. I need to create a folder structure on which I can grand a special user ...
-3
votes
2answers
392 views

How to show the hidden partitions in Ubuntu 14.04 installation?

I have a computer with Windows 7 and I am trying to install Ubuntu 14.04 alongside Windows. I have a 320GB harddisk partitioned like this: DISKPART> list volum ::N volume::::Ltr::::::Nom::::: ...
-3
votes
2answers
372 views

raspberry pi remote desktop

I have a model B raspberry pi connected over an ethernet cable to my laptop. My tv has a hdmi input but my laptop has no hdmi output. I can display the raspberry pi desktop on the tv using a hdmi ...
-4
votes
2answers
70 views

How can I reformat my pc and install from an ISO file?

I have a Linux and Windows PC. I have downloaded an ISO from Bittorrent. How can I format the computer and use the ISO? I tried copying it to a CD but it is still not bootable.