Δημοσιεύτηκε: 20 Μαρ 2012, 14:26
dpapad έγραψε:εχω ενεργοποιήσει το remote desktop σε μηχανημα με ununtu server 11.10 (εχω εγκαταστησει και το tinyvnc)
το προβλημα μου είναι οταν θέλω να κανω remote desktop απο ενα μηχανημα (εχει ΧΡ) και στον server δεν εχει γίνει logon δεν μπορώ να χρησιμοποιήσω το remote desktop(failed to connect).πρέπει δηλαδη να είμαι ήδη συνδεδεμενος για να λειτουργησει το tinyvnc.
Δες στο http://ubuntuforums.org/showthread.php?t=820568 για ένα παράδειγμα για το πως να εκτελείται ο tightvncserver σε Ubuntu Server, δίχως να ξεκινά το γραφικό περιβάλλον.
Συνοπτικά, αλλάζεις το /etc/init.d/rc.local από
- Κώδικας: Επιλογή όλων
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
exit 0
σε π.χ.
- Κώδικας: Επιλογή όλων
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
su yourusername -c "tightvncserver"
exit 0