You've just installed Debian, but your wife wants her monitor back. That's OK, you were planning on running it headless, anyway. But, wouldn't it be nice to check out some of those groovy GUI apps? Don't fret, VNC will let you interact with a desktop environment from just about any platform available.
Install vncserver (as root):
apt-get install vncserver
Choose your desired window size and color depth, then, as an ordinary user, open a terminal and type:
vncserver -geometry 1024x768 -depth 24
This will prompt you to create a password:
You will require a password to access your desktops.
Password:
Verify:
The server will start and tell you where to access it:
New 'X' desktop is foobar:1
Starting applications specified in /etc/X11/Xsession
Log file is /home/jorey/.vnc/foobar:1.log
Open the VNC viewer on your remote machine, enter the hostname:screen and password (use a hostname or IP that your client machine understands), and your Linux desktop will open in a window! Network speed and processor power will affect performance, but it's amazing how many apps will run fine under VNC. You might not be able to play Frozen Bubble, but you can use productivity applications without any trouble.
To kill the server enter a command similar to this, using the appropriate settings:
vncserver -kill :1
netstat -atpn | grep vnc
You should see a tcp port 5900 + n (when n is the display number) opened.
Mặc định Windows Server 2008 chỉ cho phép nhiều nhất 2 máy tính cùng Remote vào Server để thay đổi cho phép nhiều máy tính Remote một lúc bạn hãy thực hiện tips sau:
1. Start --> Run -- > Regedit.exe --> Enter
2. Tìm đến key sau
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer
3. Nếu fSingleSessionPerUser không tồn tại bạn hãy tạo mới một DWORD với tên làfSingleSessionPerUser
4. Mở key fSingleSessionPerUser thay đổi
0
- Cho phép nhiều người cùng Remote
- 1
- Cho phép 1 người Remote
Nguồn: remotedesktoprdp.com