Debian sets IP, DNS, and VNCIP address settings: vi/etc/network/interface sets autoeth0A as the system activation device, eth0 as the DHCP ifaceeth0inetdhdc, and static IP. Ifaceeth0inetstatic: Set the IP address, sub... debian IP, DNS, and vnc ip address settings: vi/etc/network/interface: set auto eth0 A, set eth0 to DHCP type iface eth0 inet dhcp B, and set it to static IP. Iface eth0 inet static sets IP address, subnet mask, Gateway address 192.168.0.1netmask 255.255.255.0gateway 192.168.0.1 sets DNS (required. otherwise, you cannot access any URL.) vi/etc/resolv. modify conf to the IP address of the DNS you want to set. Nameserver 8.8.8.8nameserver 202.96.128.86 takes effect after the system is restarted. Install VNC Remote Desktop service. Apt-get install tightvncserver tightvnc-java start VNC service vncserver-depth 24-name Josen-httpport 9001-geometry 1024x768: 1 after executing this command, the system will prompt you to enter the password, enter the same name twice. Parameter explanation: 1. -depth 24 uses a 24-digit color, which generally uses 16 or 242. -name aru_desktop desktop name. this parameter is not required. you can set a name as you like. 3. -httpport 9001: Use a port over 1024 for browser connection. if multiple users enable the vnc server, each user must use a different port 4. -geometry 1024x768 desktop resolution, adjusted as required.: 1 session number. the first time you run the command "3", you are required to enter a password. this password is separate from your ssh logon password. of course, you can use the same password to close the command: vncserver-kill: 1: 1 indicates the number of sessions. it is consistent with the number of started Sessions. if it is the second time to start vnc server, only the following command is executed: vncserver # vncserver
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service