0
votes
0answers
4 views
AIGLX error: vboxvideo does not export required DRI extension
AIGLX error: vboxvideo does not export required DRI extension
Does anyone know if that is OK for VirtualBox? Is there some way to solve this issue?
1
vote
0answers
9 views
“Mouse” buttons aren't working under Arch
I just recently decided to give Arch linux a try. So far it's nice and tiny and fast, which I like because my Lenovo r60 is a little underpowered.
But I'm having a slight issue - only my pad actually ...
4
votes
0answers
26 views
NAT (Internet connection sharing) switching between multiple public interfaces
My Ubuntu 12.04 (precise) laptop has three network interfaces:
eth0: wired interface sometimes connected to the Internet
wlan0: wireless interface sometimes connected to the Internet
vboxnet0: wired ...
1
vote
2answers
27 views
Can I install PHP on a Chumby One?
I'm enjoying hacking my Chumby One. However, I'd prefer if I could run PHP on it. I have perl and python installed.
Does anyone know if I can compile PHP for it or if there is a ready made distro for ...
15
votes
5answers
902 views
Why is cd not a program?
I've always wondered why cd isn't a program, but never managed to find the answer.
Anyone know why this is the case?
1
vote
1answer
18 views
How to pass data outside process for zenity progress?
Usually this would be a question about how to pass data from a subprocess to a main process, but maybe zenity has some extra quirks so please focus on zenity.
Example:
#!/bin/sh
(
echo "10" ; sleep ...
1
vote
3answers
14 views
How can I fix the location of polkit and glib include headers?
I am developing an application in which I require to use PolicyKit and it appears PolicyKit uses Glib libraries. What happens is that I installed PolicyKit, but the location of the headers are on ...
0
votes
3answers
54 views
Why does this incrementing for loop return a bad variable?
I'm trying to call this shell script from within the CLI of GRASS GIS:
for (( day=5; day<367; day+5 )); do
# commands that I've tested without a loop.
done
exit 0
returns
Syntax error: Bad ...
2
votes
0answers
13 views
How to add color themes to Gnome-Terminal's GUI preferences?
I use Gnome-Terminal for a lot of my work, and like separating my windows by color based on the task that I'm doing, so I've set up several profiles using the Preferences GUI.
I found some color ...
5
votes
2answers
147 views
Where does grep -r search by default?
I found if I search using grep without specifying a path, like grep -r 'mytext' it takes infinitely long. Meanwhile if I search with path specified grep -r 'mytext' . it instantly finds what I need. ...
1
vote
0answers
27 views
How can I disable the user list login screen in Gnome 3 on Fedora 16?
Our login screen requirements include a warning / disclaimer and a basic login, showing just a username and password field. Sadly, Gnome 3 seems to be ignoring the ...
3
votes
2answers
43 views
How to make netcat use an existing HTTP proxy
I can access a web page just fine by directly hitting my web server as follows:
$ echo "GET /sample" | nc web-server 80
This is contents of /sample...
$
Now, I would like netcat to go via a Squid ...
3
votes
2answers
27 views
Different redirection styles with netcat and tee giving different results
In trying to trace a simple HTTP GET request and its response with nc, I'm running into something strange.
This, for example, works fine: the in file ends up containing the HTTP GET request and the ...
2
votes
1answer
80 views
/dev/tcp not present in Linux
I am porting C/pro*c code from UNIX to Linux. The code is:
#define __NFDBIT (8 * sizeof(unsigned long))
#define __FD_SETSIZ 1024
#define __FDSET_LONG (__FD_SETSIZ/__NFDBIT)
typedef struct ...
4
votes
1answer
44 views
How can I setup a wifi access point to only allow users if they accept an EULA?
I need to setup an access point to only allow users through if they first accept an EULA. To make things slightly simpler, I'm looking into doing this with a unix machine that shares the connection ...
3
votes
0answers
28 views
How frequently are updates sent to a VNC client?
I am trying to understand how the VNC mechanism works.
The RFB protocol 3.8 specifications say :
The update protocol is demand-driven by the client. That is, an update is only sent
from the ...
1
vote
1answer
41 views
No vmlinuz and initrd after building the kernel?
After configuring and building the kernel using make, why don't I have vmlinuz-<version>-default.img and initrd-<version>.img, but only got a huge vmlinux binary (~150MB)?
0
votes
2answers
15 views
Where to find acpi mailing list?
Was this mailing list dead: Acpi-devel -- Defunct ACPI Development Discussion List
What other source can I utilize , just want to find the developers of acpid
2
votes
0answers
17 views
Which edac module should I enable here?
I got a Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz CPU here , not sure which module should be enabled for EDAC:
Chipset: Inter Coporation 6 Series/C2000 , driver in use: i801_smbus
4
votes
1answer
60 views
“unexpected end of file” in bash script
I have this if in a bash script:
if [ $ACTION = deploy ]; then
${JAVA_HOME}/bin/java ${JVM_ARGS} weblogic.WLST << EOJ
connect('XXX','XXX','t3://XXX:8001')
jndi();
ls();
...
1
vote
0answers
9 views
Setting mailman to reject message when max_num_recipients exceeded?
I'm trying to configure a mailman list I run to reject messages when max_num_recipients is exceeded, but instead it insists on putting the message into the moderation queue.
I've searched for details ...
5
votes
5answers
104 views
How to download a file through an SSH server?
I have a server in USA (Linux box B), and my home PC (Linux box A),
and I need download a file from website C,
The issue is, it is very slow to download a file direct from A,
so I need download the ...
0
votes
3answers
73 views
Does a terminal multiplexer have any benefit when used with a tiling window manager?
Both terminal multiplexers (screen, tmux) and keyboard-driven tiling window managers (ratpoison, dwm, xmonad) provide similar functionality. Is there any benefit in using both at the same time? What ...
1
vote
0answers
42 views
Keyboard and mouse do not function in Debian
I powered on my laptop running Debian kernel 3.3.0. After the boot process starts the X server and KDE, my keyboard and mouse do not function. Keyboard input works when I use the Recovery Console, and ...
1
vote
2answers
69 views
SSH login with clear text password as a parameter?
I need to login to a user that I've created on a remote host running Ubuntu. I can't use an ssh key because the ssh login will happen from a bash script ran within a server that I wont have access to ...
0
votes
0answers
15 views
upstart-udev-bridge is using 100% CPU (and a known fix doesn't help)
I'm running Linux Mint 12 on a Latitude D630 and every time I start my laptop (and sometimes when I come back from being suspended), top shows that upstart-udev-bridge is using 100% CPU (and if I do ...
1
vote
1answer
22 views
Compiling FreeRTOS on ubuntu
How could I compile the FreeRTOS Source Code and run it (possibly on qemu) on ubuntu 11.04?
Thanks
4
votes
1answer
71 views
Linux from Binaries
I thought Linux from Scratch was a pretty cool tutorial, but I felt having to wait for everything to compile was a bit nerve-wreaking.
Is there a tutorial similar to LFS except pre-compiled binaries ...
1
vote
1answer
28 views
how to install monodevelop with d language add-in on Mint 12
I installed monodevelop from the repositories because I want to try the mono-D plugin, but when I go to the Gallery in Add-in Manager, it says "No add-ins found"
I tried adding ...
1
vote
1answer
15 views
Hibernate does not power down laptop
I have an Asus U30J laptop with both windows 7 and Linux Mint 12 installed.
When I try to hibernate the laptop, the following message appears on the screen and I have to push the power button to ...
0
votes
1answer
21 views
Phrase Express Equivalent for Linux?
Is there some sort of auto-complete program with macros, similar to PhraseExpress for Windows in Linux?
1
vote
1answer
28 views
How to share a tethered iPhone internet connection with VirtualBox guest?
I mostly connect to my Linux distros to the internet via a USB iPhone tethered connection (MyWi app).
I have just installed an Windows XP guest OS via Virtualbox on Ubuntu 12.04.
How do I connect ...
2
votes
2answers
35 views
Configuring syslogd in Ubuntu
In CentOS and many other distros you can configure syslogd using /etc/syslog.conf but in Ubuntu there is no such file. Which file I should edit for configuring syslogd in Ubuntu.
1
vote
1answer
60 views
cat command from textbook is not working on my Ubuntu Natty
I am trying to reproduce the following command from my textbook on my system,
cat("2 3 4 5", "11 13 14 15", file="ex.dat", sep="\n")
but I keep getting this error:
bash: syntax error near ...
2
votes
1answer
26 views
assigning files of a group to another one
I want to delete a group using groupdel command, but before doing this I want to assign all files belonging to this group to another one is there a way to do this?
I know that I can use find / -gid ...
4
votes
3answers
100 views
Preload movie on RAM
My current computer is unable to run FullHD movies smoothly and I was already resigned to the idea, because it seemed a graphics card issue, mine not being powerful enought to do the work (which is ...
2
votes
2answers
29 views
How do I install the cs_CZ.ISO8859-2 locale on Ubuntu 12.04
I need the cs_CZ.ISO8859-2 locale to exist on Ubuntu 12.04 so a specific unit test can pass. The test makes the following call:
std::locale("cs_CZ.ISO8859-2")
On my OS X Lion install, this locale ...
2
votes
5answers
104 views
Unable to delete directory
On my OS X host, I am having trouble deleting the directory "foo".
mymac:.Trashes joe$ ls
foo
mymac:.Trashes joe$ ls foo/
Ảnh011.jpg Ảnh012.jpg Ảnh013.jpg
mymac:.Trashes joe$ ls -l foo/
ls: ...
1
vote
1answer
26 views
Xorg: Screen 1 deleted because of no matching config section
Last week I received a new notebook in my work and everything is fine, except my dual-head setup(was flawless in the old model). My goal is to have one screen in each monitor, but instead I'm getting ...
1
vote
1answer
22 views
How do I install mod_pagespeed using apt-get?
I remember seeing an article at one time on how to do this, but now I can't find it. I have seen other install directions. I want to make sure I can easily update it via apt.
1
vote
0answers
27 views
acpi_listen returns different result in Ubuntu than Arch Linux
Ubuntu is able to detect my Lenovo "Mic Mute" button with acpi_listen, but when I try it on Arch Linux, there is no output available.
Model: Thinkpad X220 4290LY9
Tried to add acpi_osi=Linux in ...
3
votes
1answer
46 views
RAID 10 can not be started
I have a RAID 10 array managed with mdadm which has failed . The symptom was that X has crashed and I was unable to logon from the terminal. I have restarted the computer and /dev/md1 did not start.
...
2
votes
3answers
68 views
Temporary restore LVM snapshot of root
I have a snapshot of the root filesystem that I want to boot with - bring the machine into a state it was a few days ago, run some tests and then go back to where I am right now.
I tried editing ...
0
votes
1answer
63 views
What happens if I put these directories chmod 000?
I have this server I administer. I have some users that have email accounts on that server and use stuff like horde to read their emails on that server. The server have a limited space and these users ...
0
votes
1answer
51 views
Linux Mint 12 claims to come with Gnome 3 but gnome-about says it is Gnome 2
Can anyone help me explain this?
Just installed a fresh copy of Linux Mint 12 downloaded from their website only a few days ago. They claim that it uses Gnome 3 but gnome-about says it is Gnome 2.
1
vote
2answers
47 views
Opening .eml files with mutt
How should one open .eml files in linux ? I'm not sure if mutt can handle it ?
UPDATE
I worked it out partially , by creating a new mailbox:
mkdir -p a/{cur,tmp,new}
And place the eml file in ...
0
votes
2answers
64 views
What are the ramifications of not having a valid partition table?
I recently upgraded my Ubuntu from 11.10 (Oneiric) to 12.04 (Precise Pangolin) on a Dell Inspiron B130 Laptop. When I run fdisk -l it says that my HD doesn't contain a valid partition table. I have ...
1
vote
1answer
31 views
nis and autofs manual restart after a reboot
I have a minor inconvenience involving NIS and autofs. I pull my home directory from an NFS server. It all works fine, except that I have to manually restart nis and autofs after each reboot. So after ...
0
votes
1answer
46 views
pattern to install dependencies in linux
Different OSes have different standard way of installing package dependencies; in OS X, all library dependencies are copied in the App folder.
Windows application developers have both options; they ...
-4
votes
2answers
103 views
How to write bash script that deletes the oldest file in a directory if there are greater than N files in the directory?
Wondering how would one go about writing a script that:
Counts the number of files in a directory.
If that number is greater than a specified number N, delete the oldest file in the directory.
For ...