remove old displays

Göran Höglund <[email protected]>
Newsgroups gmane.network.tight-vnc.general
Message-ID <[email protected]>
Hi List
New to vncservers I've faced a problem with releasing old unused displays.
I am running Ubuntu 16.04 and installed vnc server by unbuntus standard 
apt repositories.

Everything works excellent but my display numbers are suddenly increased 
by one every now and then.

Running vncserver for the first time did automagically set the number to 
:1 (and IP to 5901)
This number was in use for a couple of days until it was suddenly 
increased to :2 and so forth.

Attempted to kill :1 but got this message:
*$ vncserver -kill :1**
**
*/*Can't find file /home/user/.vnc/streamer:1.pid*//*
*/*/You'll have to kill the Xtightvnc process manually/

$ vncserver :1
/A VNC server is already running as :1/

$ vncserver
/xauth: (argv):1:  bad display name "streamer:7" in "add" command//
//
//New 'X' desktop is streamer:7//
//
//Starting applications specified in /home/user/.vnc/xstartup//
//Log file is /home/user/.vnc/streamer:7.log/

$ vncserver -kill :7
/Killing Xtightvnc process ID 6485/

*Now my display has reached 7 and I'd like to reset the counter to 1 
again, but how??

Thanks Göran

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

___________________________________________________________
TightVNC mailing list, [email protected]
To change your subscription or to UNSUBSCRIBE, please visit
https://lists.sourceforge.net/lists/listinfo/vnc-tight-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.