11.05.2024, 15:42 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
vilde
Titel: Update on a remote machine?  BeitragVerfasst am: 08.06.2006, 19:37 Uhr



Anmeldung: 02. Apr 2006
Beiträge: 121

Im having my remote machine working without monitor, mouse or keyboard. I'm runing it by VNC and NX. If I want to dist-upgrade, how do I do? The only way I can think of is doing it over ssh. I stop the vncserver, log in with ssh, do su and then the upgrade, I'm trying this right now. Is this the right way to do it or is there a better way?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mzilikazi
Titel: Re: Update on a remote machine?  BeitragVerfasst am: 09.06.2006, 01:18 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
vilde hat folgendes geschrieben::
The only way I can think of is doing it over ssh. I stop the vncserver, log in with ssh, do su and then the upgrade, I'm trying this right now. Is this the right way to do it or is there a better way?


What could be better than secure access and a command line? You have arrived at nirvana. Winken Obviously if you reboot you run the risk of the box not booting correctly (new kernel for example) then you're hosed.

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
vilde
Titel:   BeitragVerfasst am: 09.06.2006, 13:44 Uhr



Anmeldung: 02. Apr 2006
Beiträge: 121

I tryed and it failed, so I had to bring the computer in and connect everything. It didn't boot alright and network never started. Then I repared the old installation with the Kanotix cd and tryed to do the update again with keyboard and everything but the same happend again. Maybe it's to late to do dist-upgrade now on a fresh easter edition? I read somewhere that if it's to long between the updates it's more likely to be wrong. Now I will keep to the easter edition without update on my remote machine until there will be a new relese.

But I think the update via ssh shall work if it's possible to do a update, now something else failed.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
slh
Titel:   BeitragVerfasst am: 09.06.2006, 14:24 Uhr



Anmeldung: 16. Aug 2004
Beiträge: 1905

Kernel >= 2.6.15 required for new udev (and udev is complaining loud enough), additionally you might want to list your needed NIC module explicitly in /etc/modules in case udev fails (and make sure that the netowrk interfaces is stable over several reboots).
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
vilde
Titel:   BeitragVerfasst am: 09.06.2006, 16:54 Uhr



Anmeldung: 02. Apr 2006
Beiträge: 121

This last reply is to complicated for my linuxeperience. As I understand I need to upgrade kernel first and the rest I don't know about. Probably I shall not do dist-upgrade on my main computer either.
I think we are out of topic here because this is now about going on doing dist-upgrades on all machines not remote ones. I keep my working easter edition without doing any update as I wrote before.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
vilde
Titel:   BeitragVerfasst am: 09.07.2006, 13:10 Uhr



Anmeldung: 02. Apr 2006
Beiträge: 121

So now I upgraded my remote machine via ssh and used h2:s script and everything worked except when I now run the remote machine with vnc (as normaly do), (nx is to slow) the remote machine has the wrong, to small dispaly size. How do I correct that?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
vilde
Titel:   BeitragVerfasst am: 09.07.2006, 13:37 Uhr



Anmeldung: 02. Apr 2006
Beiträge: 121

I found the solution myself, "vncserver -geometry 1024x768 -depth 16" Probaly there is a way to change this in a configuration file but i don't know which.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.