Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hello. I have ubuntu feisty running great. To save some ram usage i installed fluxbox. I also installed vncserver so i could vnc in. (I was able to vnc into display 0 just find when using gnome). I can easily vnc into any display except 0.
Here's what i run to start the vnc server:
Code:
vncserver -geometry 1024x768 -depth 16 :1
That starts it just fine for display 1
But when i run this:
Code:
vncserver -geometry 1024x768 -depth 16 :0
It says:
Code:
Warning: ubuntu:0 is not taken because of /tmp/.X0-lock
Remove this file if there is no X server ubuntu:0
A VNC server is already running as :0
I remove that file and still get the same error.
I have tried disabling the remote desktop through gnome, but that didn't make a difference.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Edit /etc/X11/xorg.conf and add these lines to the sections listed.
Under "Module"
...
Load "vnc"
EndSection
...
Uder Section "Screen"
...
Option "passwordFile" "/username/.vnc/passwd"
Change username to the user that will make this connection to 5900 or 5800 port.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
That is some of the extra lines I have seen before. Glad to see you have it working. Did the users passwd file exist when using a user instead of root.
I have a little issue now. Upon bootup, my vnc servers start automatically, so i can login to :1 or :2 and now, :0 no problem. The issue now is that I set a program to start upon login, and since my machine auto logins for me, the program auto opens every time i boot up. That was the idea. However, when i logged into the :1 or :2 vnc connections, that same program had opened up in each of those sessions too.
How can i get the program to load only on the :0 (main screen)?
-Thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.