FedoraThis forum is for the discussion of the Fedora Project.
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'm running Fedora 6 and I have VNC server installed and running. I have several sessions configured in the /etc/sysconfig/vncservers file. However, it seems that I can only attach to the last one defined in the file. If I take out the last session then I'm able to connect to what was the next to last session. If I restart the server only one VNC session becomes active at a time.
Should I be able to define multiple displays in this file and have them available for simultaneous use? Is there something I need to do?
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Follow the instructions here and remember each session will have a different port number; http://fedoranews.org/tchung/vnc/ ;From the last page the TIP by Forrest Taylor;
I had already run through those same configuration parameters. It works great if I only want to have one vnc session enabled at one time. If I run the service vncserver restart command, it only starts the last session in the vncservers file.
Lenard,
I appreciate you sticking with me on this. I now have a better handle on the actual problem (I think).
I have vncserver configured to start at bootup. However, I can't login to any of the defined sessions until I connect to the server via SSH and start the VNC session (ex. vncserver :2) for the userid I used for SSH. This might very well be the way it is designed to be started but I need to find a way to start all the defined VNC sessions on bootup.
Do you have any ideas on how best to accomplish this?
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Well, my vncserver is configured according to the link provided and I have zero problems connecting (KDE desktop) to my home system from anywhere else(Germany for example). The system is behind a hardware firewall which does have the defined vnc ports (59XX) set to forward requests to the system, maybe this is the problem.
Since you can ssh in then start the service then maybe the system is first looking to "verify the remote system connection" before allowing vnc access (a configuration issue, maybe ssh maybe something else).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.