Linux Tidbits: Difference between revisions
Line 24: | Line 24: | ||
gdm didn't work properly when I upgraded to Ubuntu 9.10 (Karmic Koala). The logon console like to flash and made typing impossible. Tracked it down to gdm continually restarting (/var/run/gdm.pid was changing all the time), causing some errors. Solution for my headless, logonless machine? | gdm didn't work properly when I upgraded to Ubuntu 9.10 (Karmic Koala). The logon console like to flash and made typing impossible. Tracked it down to gdm continually restarting (/var/run/gdm.pid was changing all the time), causing some errors. Solution for my headless, logonless machine? | ||
Nuke gdm: | Nuke gdm: | ||
<code>sudo service stop | <code>sudo service gdm stop</code> | ||
note that I had to do this twice -- the first time I happened to hit a moment when gdm was between restart cycles and got an error. | note that I had to do this twice -- the first time I happened to hit a moment when gdm was between restart cycles and got an error. | ||
Line 30: | Line 30: | ||
<code>sudo update-rc.d gdm remove</code> | <code>sudo update-rc.d gdm remove</code> | ||
I | This did not work. | ||
So I tried: <code>sudo update-rc.d x11-common remove</code> | |||
... testing ... | |||
Also, for some reason /etc/rc0.d/K25hwclock.sh links to nowhere (was ../init.d/hwclock.sh, which is gone). | Also, for some reason /etc/rc0.d/K25hwclock.sh links to nowhere (was ../init.d/hwclock.sh, which is gone). |
Revision as of 23:44, 11 November 2009
rsync with ssh generation
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub someothercomputer
rsync -ave ssh /localfiles/ remotebox:/localfiles
(note: add --delete to rsync for a proper mirror, or leave off for full backup)
Ubuntu Upgrade Issues
I had trouble getting from 8.04 to 8.10... I was getting an error
Package udev has broken dep on lvm2 Considering lvm2 0 as a solution to udev 74 Upgrading lvm2 due to Breaks field in udev Investigating lvm2 Package lvm2 has broken dep on lvm-common Considering lvm-common 1 as a solution to lvm2 0 Holding Back lvm2 rather than change lvm-common
The key was to upgrade lvm2 manually (something like apt-get install lvm2) which do-release-upgrade wasn't willing to do itself) then run do-release-upgrade again.
9.10 Console (tty) Issues (from gdm)
gdm didn't work properly when I upgraded to Ubuntu 9.10 (Karmic Koala). The logon console like to flash and made typing impossible. Tracked it down to gdm continually restarting (/var/run/gdm.pid was changing all the time), causing some errors. Solution for my headless, logonless machine?
Nuke gdm:
sudo service gdm stop
note that I had to do this twice -- the first time I happened to hit a moment when gdm was between restart cycles and got an error.
Also, just for kicks, I removed it from the startup directories:
sudo update-rc.d gdm remove
This did not work.
So I tried: sudo update-rc.d x11-common remove
... testing ...
Also, for some reason /etc/rc0.d/K25hwclock.sh links to nowhere (was ../init.d/hwclock.sh, which is gone).