How do I remove vncserver?

I'm having problems removing vnc server. I type the following

apt-get remove vncserver

Then get
> Reading package lists… Done

Building dependency tree

Reading state information… Done

Reading extended state information

Initializing package states… Done

Reading task descriptions… Done

No packages will be installed, upgraded, or removed.

0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Need to get 0B of archives. After unpacking 0B will be used.

Writing extended state information… Done

Reading package lists… Done

Building dependency tree

Reading state information… Done

Reading extended state information

Initializing package states… Done

Reading task descriptions… Done

Why hasn't it been removed? I've not had much experience with apt before.

3 Replies

vncserver might not be the name of the package, i ran apt-cache:

# apt-cache search vnc | grep vnc | grep server
libvncserver-dev - API to write one's own vnc server - development files
libvncserver0 - API to write one's own vnc server
libvncserver0-dbg - debugging symbols for libvncserver
gtkvncviewer - Small GTK+ tool to connect to VNC servers
linuxvnc - VNC server to allow remote access to a tty
tightvncserver - virtual network computing server software
vnc4-common - Virtual network computing server software
vnc4server - Virtual network computing server software
vncsnapshot - A utility that takes JPEG snapshots from VNC servers
x11vnc - VNC server to allow remote access to an existing X session

Not knowing what package was installed you want the following command:

apt-get remove linuxvnc tightvncserver vnc4server

That should take care of the removal of vnc server

Also, if you are removing it because of configuration errors, using "remove" and then "install" won't make any difference. You should use "apt-get purge [package name]".

Thanks everyone. I should have been typing vnc4server! Got a bit confused. :(

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct