Back when I was using Sarge, my machine could shut itself off when I halted it. However, I think due to some alleged security issues with my hardware, newer versions of Debian don't allow this. So, I have to manually shut it off after halting the computer. My computer is a Dell Optiplex GX1 PIII450 with 386 MB RAM.
Also, it has a 6MB mach64 video card (01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)), that, back in the Sarge days, I could enable direct rendering with mach64-20060403-linux.i386 DRI. This no longer works given the changes in Debian. So, no planetpenguin-racer for me any longer.
Besides buying new hardware, is there a way to fix either (or both) of these issues? They both were fine in previous incarnations of Debian, but alas, are now casualties of the upgrades.
I want to use myscript.sh to auto-start an application. I put myscript.sh into /etc/init.d/ and run "update-rc.d myscript.sh defaults". After reboot, I can see my application was started (its log file was updated), but I cannot see my application running if I do ps -ef. I suspect it is killed by the OS.
I have my headless server, and just plugged a spare monitor into it, opened up screen, ran htop on it, so I can see the system status, but the screen keeps shutting off after so long. The only way to "wake it up", is to use a local keypress (which means I have to hook a keyboard back up to it). I have already tried 'setterm -powersave off -powerdown 0', but it didn't affect it any. Is there any way to disable this powersaving mode?
I press On-button, Debian boots, logs in and automatically connects to the Wireless network AND! to my local pc via LAN. It runs an ssh server, so I can ssh into debian over internet and communicate with the local pc (send a magic packet).Here are my problems:
1) I don't how to log in automatically. This and this doesn't work. 2) I need a network tool that can manage multiple connections and has a reconnect feature. With the default network manager I cannot even connect to more than one network simultaneously although I have two network devices of course.
And I guess I can run all that in console mode, right?
I have upgraded the packages on wheezy and I see lots of errors
Code: Select allaptitude update aptitude upgrade.
I see Code: Select allErrors were encountered while processing:  mysql-server-5.5  ntp  rsyslog  apache2.2-common  apache2-mpm-prefork  apache2  bind9  corosync  [code]...
I've been deploying a lot of Debian based OSs for the desktops. I recommend the users to upgrade after every 2 months; however as we all know upgrades have their own flaws and issues, many times an upgrade does cause a lot of problems.
I'm deploying the testing branch of Debian, reason being hardware compatibility issues with older kernel and drivers. My main concern is security, I don't want the users to have big security venerabilities over time which's a consequence of not upgrading, but upgrading too may break the system (partially maybe...).
I know there's an option to only do security upgrades, but this will require a repository refresh... the consequence of not upgrading after a repository update is that if you install software using software center.. or even using aptitude or apt, it's bound to give a lot of dependency issues which users wont like.
This's the second question -- installing new packages with an updated repository and an older system gives issues.
This n00b is having a weird situation during dist-upgrades that I've never seen before. It's puzzling my more-experienced pals in an irc channel, too.
Sometimes--not every time--while running a dist-upgrade outside of X on my Debian Testing machines, I get an informational text display (a comment box?) that always ends with the text "(END)". The display freezes there, and I am given no opportunity to respond and let the upgrade procedure continue.[URL]..
I've tried pressing escape, the space bar, enter, arrow-keys... nothing changes (I get system beeps with each keystroke). If I Cmd+C, I get a root prompt back, but any characters I type are not displayed as I type them. For example, I can type # "shutdown -r now", and the machine will shutdown --but the characters are not displayed as I type them.
If I immediately restart, go into a regular X session, and run synaptic, I get the same comment--but in a window with a "Close" button that I can click. The upgrade will then continue [URL].. This has happened on at least 3 different boxes, all running debian testing. Under gnome and xfce... Probably with 4 different packages in the last 3 weeks?
This morning it happened on a new debian testing install, and just now it happened -- with the identical package -- on an older debian testing install on a different box.[URl]..
Root LUKS to be broken by apt-get update? This did happen to me on 3 different laptops, both on previous install (from Debian 8.0), and also on clean installs (Debian 8.1), repeatedly.
When I reboot, grub starts, but then it cannot find the root file system (I end up with the emergency console).
Code: Select allLoading Linux 3.16.0-4-amd64 ... Loading initial ramdisk ... Loading, please wait... [many seconds waiting] ALERT! /dev/mapper/sda2_crypt does not exists. modprobe: modprobe ehci-orion not found in modules.dep
This is the most simple, clean, conservative install ever, no closed driver.
But LUKS on the root file system:
Code: Select allone ext4 partition on /boot one ext4 partition on / (trough LUKS, all defaults)
There is no LVM.
All the 3 laptops killed at different time, when updating. Clean install is fine until the first update.
Booting on the rescue system allows me to see everything.
Code: Select all$ update-grub Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.16.0-4-amd64 Found initrd image: /boot/initrd.img-3.16.0-4-amd64 No volume groups found
I updated today and naturally removed the old nVidia driver, compiled it again after a reboot, and then rebooted again for good measure. I can log into KDE4, but all I get is a cursor and a solid black background. I deleted the ~/.kde, ~/.local, and quite a few other directories from my normal user account using the shell so KDE would reconfigure my settings when I logged in again, but it's the same problem. I went into ~/.kde/share/config/kwinrc and added the "Compositing" section with "Enabled=false" to rule out compositing. Now when I log into the system I get the default KDE4 wallpaper and a mouse cursor, but nothing else. I believe the latest update broke KDE4, or am I missing something? I have recreated my xorg.conf as well, and only set it to use the nVidia driver. So what can I do now?
I have been having problems with Squeeze last day or so, but thought would do all system updates available in hope this would stop the system crashes only to find that upon reboot my dock of choice, Cairo-Dock, which is set to auto start puts a message on screen saying it has no plugins available and that it will not run as a result. And it just won`t run. The update included updates for Cairo Dock and it`s plugins, which it seems have all updated correctly and package manager says every available plugin IS installed as it was before, what I can do to correct this annoying issue?
I am running sid. A few days ago I ran an update which killed 3D. I followed this thread to get 3D support back. However I failed to hold those packages so I suspect a subsequent upgrade undid all that work. Now what is happening is that I do not have X starting at all. These are the relevant nvidia, mesa and xserver files installed
ii libgl1-nvidia-alternatives-ia32 270.41.19-1 simplifies replacing MESA libGL with GPU vendor libraries (32-bit) ii libgl1-nvidia-glx-ia32 270.41.19-1 NVIDIA binary OpenGL 32-bit libraries ii libglx-nvidia-alternatives 270.41.19-1 simplifies replacing Xorg module libglx.so with GPU vendor library ii nvidia-installer-cleanup 20110515+1 Cleanup after driver installation with the nvidia-installer .....
Yet when I run lsmod I get: nvidia 10710970 0 i2c_core 25601 14 adt7475,nvidia,tuner_simple,tda9887,tda8290,tea5767,tuner,cx8800,cx88xx,i2c_algo_bit,tveeprom,v4l2_common,videodev,i2c_i801
I am missing something obvious in all of this. xserver-xorg-video-nvidia: Installed: (none) Candidate: 275.09.07-3 Version table: 275.09.07-3 0 [URL]
Creating a separate /tmp partition manually during install prevents a clean shutdown.
Setup: Debian 8 minimal server configuration (SSH only) using net install as virtual machine on Windows Server 2012 R2 Hyper-V (Gen 2). 1024 MB RAM, 20 GB VHDX, and 1 Processor, EFI boot Packages installed: openssh-server, sudo, unattended-upgrades, bsd-mailx postfix Application: IPv6 gateway using 6in4 tunnel
Symptoms: When shutting down the operating system (poweroff or reboot), the message
A start job is running for Unattended-Upgrades ( xx seconds / no limit ).is displayed on the console and will persist for several minutes before eventually timing out and shutting down.I've tried several different configurations. Any configuration that creates /tmp automatically (whole disk with single partition, or disk with separate /home, /var, and /tmp partitions) works fine and shuts down promptly. When I partition the disk manually (512 MB EFI Boot, 17 GB /, 3 GB /var, 512 MB /tmp, and 512+ swap) the problem occurs. I've narrowed it down to just the /tmp partition by testing and comparing various configurations (including/excluding partitions, placing partitions on a separate disk, changing the partition sizes, matching against automatic configurations, etc.).
I have also compared the /etc/fstab and /etc/default/tmpfs configuration file between working and non-working systems and cannot see any meaningful difference.
How does Debian preserve/merge config file information during software upgrades? My google searches left me a little unclear on this point. Also (if you happen to know) does Ubuntu use the same method?
Whenever I try to do anything in synaptic, apt-get, or aptitude I get error msg dpkg: error processing /var/cache/apt/archives/evolution-common2.30.3-5_all.deb (--unpack): failed in write on buffer copy for backend dpkg-deb during './usr/share/gnome/help/evolution/c/figures/evo_labels_a.png':No space left on device configured to not write apport reports dpkg-deb: subprocess paste killed by signal (Broken pipe)
This is from synaptic E: /var/cache/apt/archives/evolution-common_2.30.3-5_all.deb: failed in write on buffer copy for backend dpkg-deb during `./usr/share/gnome/help/evolution/el/figures/evo_attachreminder_plugin.png' I have also been getting /usr/ full notifications. I have tried to remove files but after I reboot they are still there.
AMD 64 Upgrade to testing last night killed my internet connection. The lan works, I can ping the dns server from my IP, however no mail, browser possible. Is something in testing broken again?
Unpacking replacement ffmpeg ... dpkg: error processing /var/cache/apt/archives/ffmpeg_5%3a0.5.1+svn20100411-0.0_i386.deb (--unpack): trying to overwrite '/usr/share/ffmpeg/libx264-ipod640.ffpreset', which is also in package libavcodec52 4:0.5.1-3 dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/ffmpeg_5%3a0.5.1+svn20100411-0.0_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Can't seem to figure out how grml is stopping the auto-dhcp during boot by default in grml network is disabled. I tried init.d, inittab, or whatever I cannot seem to find anything? I need eth0 to come up automatically at boot grml, for some reason won't remember my net setup and must re-setup at every boot? How can I make it do that?
is there a way to auto login as root? login in window preferences won't allow me to select rootPS before anyone starts on the me bad, I'm a programmer using it on a closed embedded system, and need to link to others software, and need to be root
I code primarily in jQuery/JavaScript, and I'm looking for a text editor for Linux that has auto-indent and auto-outdent (seems to be tough to find that). Any suggestions? I've checked Gedit, Cream, vim, Bluefish.None of them seem to have this feature.
I recently installed 32bit maverick and wanted to make it login automatically. I tried enabling auto login from Admin > Login but that didnt work and I was still prompted for my password. Then I went to Users & Groups and changed the password option to Do Not ask for password at login now after I reboot, the user list is shown (only 1 user) and it doesnt ask for password after I click on my username.
However, then it gives a few errors (as i vaguely recall):
1. cannot load .ICE directory in my home directory 2. some error 256 about a gconf-sanity-2 file 3. nautilus cannot load my home directory etc
and then it gets stuck without loading anything (blank wallpaper). i ve tried navigating to my home directory using Alt F2, gksudo nautilus and my home dir contents are encrypted by the ecryptfs (there is a readme.txt file and a shortcut). i have tried to decrypt but it doesnt work... i ve also tried to start/stop gdm, and startx but nothing works. if i stop gdm, then the prompt doesnt recognize my password and keeps on rejecting the commands i enter... I think this has something to do with the home dir not being decrypted due to the dont ask for paswd option... how can i disable the dont ask for pwd without the gui (i can access my / by booting through an external usb).
I have noticed that a common issue to several distros is the fact that the networking subsystem doesn't automatically detect the link if an ethernet connection is disconnected and then re-connected to the NIC after boot. If the ethernet cable is connected after the system is up and running, nothing happens - ethtool eth0 shows link detected: no, and you have to restart the network service to let the NIC know that there is in fact a link, and actually connect. I have a Fedora14 (KDE) box with a brand new Asus motherboard with embedded NIC. Everything works great except the auto-detect of a freshly connected ethernet connection if the link is down to begin with.
Am I missing a ethernet link sentinel utility or something, or is this just the way linux works? I have done plenty of research on plenty of posts, and it seems this is a common problem, with no solution other than manually or programatically restarting the network service in a script to detect the link after a disconnect.
I am new to Debian and I have been trying to find a way to auto login to a users account upon Debian booting. Is there a way to auto login to the root account upon a Debian boot? Is it possible to do this with GNOME installed as well as Minimal?
Fresh Jessie installation with KDE desktop. Installed from Disk 1 of the dvd images. Can't figure why apt wants to remove this stuff. The only packages I removed from the base installation was iceweasel, and juk. I'd like to autoremove to clean out the amarok stuff but I'm afraid it will take all the rest with it. What do I do about this, and or how do I fix it? Does apt have a setting where if an app isn't used for x amount of time it deems it useless for removal?
Code: Select allCalculating upgrade...
The following packages were automatically installed and are no longer required:  amarok-common amarok-utils apper apper-data ark cdparanoia cdrdao clamz dvd+rw-tools easy-rsa genisoimage growisofs gwenview htdig hyphen-en-us  iputils-arping k3b k3b-data k3b-i18n kamera kate kcalc kdeplasma-addons kdesudo khelpcenter4 kio-audiocd kmix kopete kscreensaver ksnapshot libappstream1  [code]....
I'm new to Debian, and there's something I don't understand about the packages marked as automatically installed. They are supposed to be removed by "apt-get autoremove" if no other packages depend on them, right? Well, I've installed xserver-xorg-video-ati which pulled *video-radeon, *video-r128 and *video-mach64. I later realised that I only needed *video-radeon, and got rid of xserver-xorg-video-ati and the other two. The thing is... xserver-xorg-video-radeon is still there, even if only xserver-xorg-video-ati and xserver-xorg-video-radeon-dbg depend on it, and neither are installed in my system.
I am having a strange issue with my xserver. I do have nvidia graphics. My system is Debian Squeeze with limited packages from Sid to fix issues when needed. Currently I don't think that there are any installed from Sid that have not since been updated through testing. It also contains one package from Lenny that does not exist in Testing for some reason, ogle the dvd player.
After an update the other week my gui failed to come up. That is not that unusual with nvidida. So I reinstalled the driver and all seemed to be fine until the next reboot some days later which failed. I reinstalled the driver again and all seemed fine.
The machine did not come out of hibernate cleanly some days later and upon reboot no gui
I have tried the whole group of driver packages out of sid, testing, stable. All are afflicted with the same problem. When the box drops back to the login if I login and issue from root '/etc/init.d/kdm stop' then '/etc/init.d/kdm start' the gui comes up just fine. It also seams to launch much faster than it has for some time.
A friend has questioned if kdm is starting to early in the launch process. I think he may be on to something. But looking at the files in /etc/rc*.d does not seem to indicate to me that is the case. kdm has the launch number 5.
The machine has been converted to the, what is it, multi-process launch thingy, quite some time ago now, like a year maybe? These are what is in the sequence from kdm on
Code:
The install is amd-64 using the standard debian kernel.
I would like to exec a script whenever a user mount a device. The device could be an internal device (for example a partition on a second hard disk) or a removable one (for example a usb hard disk). The script must have sudo capabilities even if the user is not included in the admin group. Is it possible?
The specific question: I would like to add acl option to a device whenever it is mounted. I tried fstab but it's changing the behaviour of nautilus see:
[URL]... so I would like to create a script with the command
Code: sudo mount -o remount,acl /media/data and auto execute it any time data is mounted.
I recently installed a server with Software RAID. I tested by powering it down, unplugging one drive and powering it up. Magically, it worked!I found out later that I have to manually add individual devices like md1 to sda2 md2 to sda4. I got all of them added and rebuilt but my question is: Is there a way to make it so that if I "removed" a drive and put it back, the system will senses the new drive and rebuilds based on some internal table?