Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am logging to a remote linux machine through putty. Do i need that the remote machine have the GUI turned on to use the VNC viewer from my machine while the VNC server is already running there. is there any options in the VNC to override if the GUI is turned off in the remote machine.
To my knowledge and experience with it, vncserver starts an entirely new GUI session, separate from whatever's running currently on the machine. However, you DO need to have X installed and configured properly on that machine.
when you run the program 'vncserver' from putty, it will ask you the default screen number you want to use when you vnc into that machine, ex. :1 ,and then you set the login password.
then when you use tightvnc (or similar) to open your x-window, put that :1 on the end of your ip address, ex: 192.168.2.5:1
It it also a good idea to kill the vncserver when you are done with it, as a security measure...
ps -aux (then find the pid number of the vnc process)
kill XXX (the pid number)
close putty
have an adult beveridge!
If you are accessing VNC from outside of your LAN, it also would be a good idea to tunnel VNC through and SSH tunnel. VNC is horribly insecure and if you access it over the internet, you're leaving yourself wide open.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.