I’d like to install VNC package on my Manjaro i3 running on a laptop (or desktop) on my home router network (standard cable-modem-router from Internet Provider), then VNC into it from another computer.
Does anyone know what the commands are to get the host VNC server to be able to be seen and logged-into from another computer on the intranet?
ex: I just want to do something like this on a client: vnc 192.168.15.1 — then see my host VNC session (x11vnc), or a new session is ok too (tigervnc i think).
Thanks! So yeah, that’s actually my precise question. The ‘m.n.o.p’ server address — what (if any) do I need to do in Manjaro (the OS hosting the vncserver) to make the ‘m.n.o.p’ address (and port) show up on the local intranet, assuming I have a standard ISP-provided router&cable-modem (2 in 1)?
And is the ‘m.n.o.p’ the intranet address of the host server, like… the 192.168.x.y number?
Create a password using vncpasswd which will stored the hashed password in ~/.vnc/passwd .
Edit /etc/tigervnc/vncserver.users to define user mappings. Each user defined in this file will have a corresponding port on which its session will run. The number in the file corresponds to a TCP port. By default, :1 is TCP port 5901 (5900+1). If another parallel server is needed, a second instance can then run on the next highest, free port, i.e 5902 (5900+2).
Create ~/.vnc/config and at a minimum, define the type of session desired with a line like session=foo where foo corresponds to which ever DE is to run. One can see which DEs are available on the system by seeing their corresponding .desktop files within /usr/share/xsessions/ .
Actually, I am hosting my vncserver on a Manjaro i3 VM (192.168.22.163) running from virt-manager on the actual machine, a Ubuntu 18 (192.168.0.22 for wlp0s20f3, 192.168.100.1 for ‘virbr1’, 192.168.122.1 for ‘virbr0’). There is also a ‘vnet0’ in the ip address list, but it doesn’t have an inet (ip4?) listed, only a inet6 listed.
The VM has a Virtual Network Interfaceof “NAT” type (default settings) (using virt-manager).
Do you know if anything special needs to be done to see the VM from the intranet?