LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Not able to remove teamviewer in my centos pls help me (https://www.linuxquestions.org/questions/linux-software-2/not-able-to-remove-teamviewer-in-my-centos-pls-help-me-4175536465/)

indiankrish 03-11-2015 10:22 PM

Not able to remove teamviewer in my centos pls help me
 
1 Attachment(s)
hi friends here i have tried to install teamviewer 8 in my centos 7 PC but unfortunately that installation process might cancelled some where so now i want to re-install my teamviewer so for that im trying to remove my old teamviewer but its not happening so please try to help out......

T3RM1NVT0R 03-12-2015 01:34 AM

Give the full name instead, rpm -e teamviewer* will not work.

So whatever output you get from
Code:

rpm -qa | grep teamviewer
Just copy paste that output at the back of rpm -e
Code:

rpm -e <output_from_rpm-qa>

indiankrish 03-12-2015 01:40 AM

thank your for giving reply but i have tried your method also please find the below screen shot pls

i got below error

Quote:

[root@kuwaitlocal tmp]# rpm -qa | grep teamviewer
teamviewer-10.0.37742-0.i686
[root@kuwaitlocal tmp]# rpm -e teamviewer-10.0.37742-0.i686
/var/tmp/rpm-tmp.bC0GTT: line 7: /opt/teamviewer/tv_bin/script/tvw_aux: No such file or directory
error: %preun(teamviewer-10.0.37742-0.i686) scriptlet failed, exit status 1
error: teamviewer-10.0.37742-0.i686: erase failed

T3RM1NVT0R 03-12-2015 01:50 AM

Try rpm -e --noscripts teamviewer-10.0.37742-0.i686

indiankrish 03-12-2015 01:52 AM

again i received error

Quote:

[root@kuwaitlocal Desktop]# rpm -e --noscripts teamviewer-10.0.37742-0.i686
error: package teamviewer-10.0.37742-0.i686 is not installed
thank you for your support

T3RM1NVT0R 03-12-2015 01:57 AM

Paste the output of the following:

1.
Code:

rpm -qa --last | grep teamviewer
2.
Code:

rpm -qa | grep teamviewer
3.
Code:

rpm -qc teamviewer-10.0.37742-0.i686

indiankrish 03-12-2015 02:30 AM

ya something i got. but again some starting error pls look


Quote:

[root@kuwaitlocal tmp]# rpm -Uvh teamviewer_linux.rpm
warning: teamviewer_linux.rpm: Header V4 DSA/SHA1 Signature, key ID 72db573c: NOKEY
Preparing... ################################# [100]
Updating / installing...
1:teamviewer-10.0.35002-0 ################################# [100%]
[root@kuwaitlocal tmp]# teamviewer

Init...

Init failed. Please check '/root/.config/teamviewer10/logfiles/startup.log'
[root@kuwaitlocal tmp]#

T3RM1NVT0R 03-12-2015 02:39 AM

What do you see in this log: Init failed. Please check '/root/.config/teamviewer10/logfiles/startup.log', which runlevel you are on?

indiankrish 03-12-2015 02:47 AM

hey here is Runlevel 5 i dont know how its changed from 3 to 5 by default its '3' rite how can i change my default runlevel

Quote:

[root@kuwaitlocal Desktop]# runlevel
N 5
[root@kuwaitlocal Desktop]# who -r
run-level 5 2015-03-12 13:13
[root@kuwaitlocal Desktop]#
in that log file i can see this

Quote:

Files centos-release os-release redhat-release system-release
centos-release:
CentOS Linux release 7.0.1406 (Core)
os-release:
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
redhat-release:
CentOS Linux release 7.0.1406 (Core)
system-release:
CentOS Linux release 7.0.1406 (Core)
ok (info)

Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
err:ole:CoGetClassObject class {4315d437-5b8c-11d0-bd3b-00a0c911ce86} not registered
err:ole:CoGetClassObject class {4315d437-5b8c-11d0-bd3b-00a0c911ce86} not registered
err:ole:CoGetClassObject no class object {4315d437-5b8c-11d0-bd3b-00a0c911ce86} could be created for context 0x3
wine: configuration in '/root/.config/teamviewer10' has been updated.
ok (profile)

Sorry yar im new as a admin

T3RM1NVT0R 03-12-2015 02:50 AM

Please give full information in the post, I have also asked for what you see in the log file. How can I answer the question how runlevel got changed. I mean that is something you should know as administrator. You can change runlevel by mentioned it in /etc/inittab file under initdefault section.

Teamviewer doesn't seem to work well with system booted in runlevel 3. I mean teamviewer do have a script but that doesn't seem to work as it should.

indiankrish 03-12-2015 04:06 AM

i can see this in that log file
Quote:

Files centos-release os-release redhat-release system-release
centos-release:
CentOS Linux release 7.0.1406 (Core)
os-release:
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
redhat-release:
CentOS Linux release 7.0.1406 (Core)
system-release:
CentOS Linux release 7.0.1406 (Core)
ok (info)

Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
errle:CoGetClassObject class {4315d437-5b8c-11d0-bd3b-00a0c911ce86} not registered
errle:CoGetClassObject class {4315d437-5b8c-11d0-bd3b-00a0c911ce86} not registered
errle:CoGetClassObject no class object {4315d437-5b8c-11d0-bd3b-00a0c911ce86} could be created for context 0x3
wine: configuration in '/root/.config/teamviewer10' has been updated.
ok (profile)
im new as a admin so pls help me

T3RM1NVT0R 03-12-2015 06:14 AM

Did Teamviewer ever worked on this machine? Is server setup for GUI? If server is not setup for gui I am afraid teamviewer will not work properly (personal experience). I have tried to make it work myself but didn't work well and finally have to switch to VNC.

You may refer documents online for running teamviewer as background process without graphical stuff.

indiankrish 03-12-2015 06:41 AM

I m trying to config GUI server.......... ok my friend thank you for your valuable support. hahahahaha you know one thing i have tried VNC also i have installed successfully but if any someone wants to access my pc remotely throw internet, they are facing some port issue that's the reason im trying to install team-viewer, but its failed. r u ready to help me out for VNC,,, if your busy np "T3RM1NVT0R" anyway thank you my friend

T3RM1NVT0R 03-12-2015 10:38 AM

You're welcome. You have to check which are ports which are required by VNC. Usually it uses ports starting with 5900 / 5901. Once you have installed vnc server on the machine you can check that using:

Code:

netstat -ptan | grep LIST
Accordingly you have to check with your network administrator on opening the ports.


All times are GMT -5. The time now is 02:58 AM.