I have gone through following step to access (remotely) Linux mint (19.1 cinnamon) machine from a windows PC:
- Followed all rules from here
Installed tigervnc by using following command
sudo apt install tigervnc-standalone-server tigervnc-xorg-extension tigervnc-viewer
changed terminal emulator by following command (surprisingly, default terminal emulator not allowing me to open terminal in remote desktop):
sudo update-alternatives --config x-terminal-emulator
Modifed /etc/xrdp/xrdp.ini:
[Xvnc] name=Xvnc lib=libvnc.so username=ask password=ask ip=127.0.0.1 port=ask-1 \#xserverbpp=24 \#delay_ms=2000
Now, this my observation, Whenever I am keeping the port number as -1 (i.e., unspecified), the rdp connection is establishing properly at port 5910 (and it is reusing the same session if I want to reconnect.) However it is not allowing me create any session when I am specifying the port number as 5910. Moreover, I was failed to create two session by specifying the port number (for example, 5912 and 5910). Is there any solution to this?
As specified here, the problem is probably with tigervnc, is there anyway to configure that?
Another thing: when I am writing some code at askubuntu, how can I put # (in this question I used # instead of #)