Question regarding running multiple VNC servers as daemons
I would like to set up 2 VNC servers, one that uses a resolution of 1024x768 and the other that uses a resolution of 1280x800. I currently have the 1024x768 server running which I started using start_daemon ( I don't want Xinetd to start it because I want the session to persist after I close my VNC client ). If I try to use start daemon to start a second vnc server it doesn't start, presumably because Xvnc is already running. I'm sure there must be a way to get two instances of Xvnc running listening on 2 different ports but being sort of a linux novice I can't figure out how. Anyone have any tips? Once again, I don't want to use Xinetd. I want Xvnc running as a daemon. Thanks, Scott
Hi Scott. I have 2 vnc sessions running with diferent users. i start the vnc server in boot.local with these lines: su -c "vncserver :10" user1 su -c "vncserver :11" user2 you can start many vnc sessions. With -geometry [width]x[height] you can specify diferent resolution in the command line. for example: su -c "vncserver :10 -geometry 1024x768" user1 su -c "vncserver :11-geometry 1280x800" user2 have a lot of fun. SeveK Scott Stickeler wrote:
I would like to set up 2 VNC servers, one that uses a resolution of 1024x768 and the other that uses a resolution of 1280x800.
I currently have the 1024x768 server running which I started using start_daemon ( I don't want Xinetd to start it because I want the session to persist after I close my VNC client ). If I try to use start daemon to start a second vnc server it doesn't start, presumably because Xvnc is already running.
I'm sure there must be a way to get two instances of Xvnc running listening on 2 different ports but being sort of a linux novice I can't figure out how. Anyone have any tips? Once again, I don't want to use Xinetd. I want Xvnc running as a daemon.
Thanks, Scott
participants (2)
-
Scott Stickeler
-
Sevek