Teamviewer on Centos 5.8 - No login screen on next reboot - centos

Yesterday I installed Teamviewer 7 on my Centos 5.8 desktop. After a reboot, am not able to see the login screen. Only a blue color screen is visible.
I read https://superuser.com/questions/403548/os-x-stuck-at-blue-screen-after-installing-teamviewer-host-and-rebooting?rq=1
But how do I do that on Centos?
I know that to login to Single User Mode, we need to press a key while the os boots up. And then type single in the cmd. And then?

Once in Single User Mode, you can try to remove TeamViewer from your system.
For example, if you have installed TeamViewer by running the rpm -ivh teamviewer_linux.rpm command, you can run the rpm -e teamviewer_linux command to uninstall it.
I don't think that the Mac OS link you've referred to can be very useful in your case.
If you peek into the teamviewer_linux.rpm (for example by running the command rpm -qpl teamviewer_linux.rpm) you won't find any "Launch Agents and Daemons", since on CentOS TeamViewer is wrapped around a Windows Emulator (wine).
By default the TeamViewer files gets installed in the /opt/teamviewer folder; the only exception is the startup script /usr/bin/teamviewer7.
Finally, the rpm post-installation script does nothing more and nothing less than create a desktop icon and add a menu entry, so I can't really understand how the TeamViewer installation could have broken your system.

Related

How to run/start VsCode on Centos 7

I'm a beginner studying centos.
I installed centos and vscode, but there's no response when I click the vscode icon.
And when i enter the [code] at the terminal, only an error message comes out and it can't be executed (the screen below).
​And if you look at the top left of my screen, it says [Activities]. Is this normal?
I saw [Applications] other centos image
enter image description here
enter image description here
Both problems stem from logging in as the root user. This is not a good idea for many reasons (e.g., security, desktop shortcuts do not work correctly, etc.), and, once deployed, your program may not work correctly for non-privileged users.
If you need to run as root, the command from the Terminal is:
code "/home/<your default username>/<optional projects directory>" --user-data-dir="." --no-sandbox
Output:
However, if you have no reason to use root over sudo, I strongly recommend you log out as root, and run VS Code as a regular user. Also, VS Code will continue to warn you about being root.
As far as the Gnome desktop, Applications on CentOS 7 and Activities on CentOS 8+.

How to disable sleeping on Raspberry pi

I am working on a project similar to the one at http://www.instructables.com/id/Raspberry-Pi-Wall-Mounted-Google-Calendar/?ALLSTEPS
Similarly, I need my pi to stay on constantly. I have the regular Raspbian OS installed and I am using Iceweasel browser to run a web application all day.
I have tried every single one of these suggestions from this link http://www.bitpi.co/2015/02/14/prevent-raspberry-pi-from-sleeping/
Yet the pi fails to stay on longer than 10 minutes. Any help would be greatly appreciated.
I installed xscreensaver
sudo apt-get install xscreensaver
Once installed, go to Rpi's desktop "Menu" (left top corner)
Go to preference --> screensaver.
You will see a screen saver main menu. In the mode drop-down menu, select "disable screensaver" then close the window.
Reboot the Raspberry PI.
It should work now.
You don't need to install lib, just edit lightdm
1 - Open lightdm using your prefer text editor, eg using default editor(nano).:
sudo nano /etc/lightdm/lightdm.conf
2 - Add this line
xserver-command=X -s 0 -p 0 -dpms
I recently installed Raspian Buster with Desktop (circa 2019-September) - the smaller install with the Desktop, but without the "recommended software". I found there are two settings that have to be changed as either one of them will blank the screen in ten minutes under the default settings.
set screen saver timeout to zero:
xset s 0
and set dpms (EnergyStar) to disabled:
xset -dpms
This way I haven't needed to install anything (no screensaver). It was confusing because I'd tried both items, but it wasn't until I learned they both were blanking the screen at ten minutes that I saw what was going on. As this has tested out OK, the next step for me is to put them into an autostart routine.
ps Verify your settings with
xset q
Without installing anything, official Raspberry Pi doc:
On the Console
If you are using the Raspberry Pi solely on the console (no desktop GUI), you need to set the console blanking. The current setting, in seconds, can be displayed using
cat /sys/module/kernel/parameters/consoleblank
Here, consoleblank is a kernel parameter. In order to be permanently set, it needs to be defined on the kernel command line.
sudo nano /boot/cmdline.txt
Add consoleblank=0 to turn screen blanking off completely, or edit it to set the number of seconds of inactivity before the console will blank. Note the kernel command line must be a single line of text.
https://www.raspberrypi.org/documentation/configuration/screensaver.md
Simply enter the config with sudo raspi-config and disable screen blanking in the display settings.
I've created a picture frame with a pi 3 and want to stop the screen going blank. I installed xscreensaver as in answer 22 and it's working a treat:
sudo apt-get install xscreensaver
After install, went to Rpi's desktop "Menu" (left top corner)
Went to preference ---> screensaver.
Then In mode : section, selected "disable screensaver" and closed.
Rebooted Rpi.
I had the same issue with Raspbian OS that was installed on raspberry Pi device. I just installed xscreensaver by using the following command in default Command panel.
sudo apt-get install xscreensaver
After installation is completed, Go to the menu in the left corner and select preference. First time you will see a pop up to enable xscreensaver on your screen. Just accept it. After that you can disable the screensaver.

VSCode ran once on install, won't run or install again

I'm running this on Windows 7 SP1 with most (if not all) current patches. I have administrative permissions on this machine.
The first time I ran VSCodeSetup.exe, it ran the installer for several minutes then launched the actual application.
I got called into a surprise meeting, so I closed it thinking I'd look at it again later.
However, when I returned to my computer and tried to launch it, I found no evidence that it was actually installed... no desktop icon, no entry in the start menu, no Explorer integration...
I tried running VSCodeSetup.exe again, but all it does it show the installer screen for a split second, which then vanishes.
Since then, I've tried the suggestions outlined in VSCode Installation Failed - Failed to extract installer to install the application, even going so far as to run Update.exe --uninstall followed by running VSCodeSetup.exe again, but nothing has worked.
I even tried disabling my antivirus software and running the installer again, to no avail.
Does anyone know what I can do to get VSCode working again?
According to the comments and answers to Install VSCode in a specific folder, Visual Studio Code installs itself to %LOCALAPPDATA%\Code on Windows.
While I'm not sure why it didn't register itself with Explorer, I can at least create a shortcut to %LOCALAPPDATA%\Code\bin\code.cmd (with icon %LOCALAPPDATA%\Code\app.ico) to get it working again.
Or remove the directory entirely and run VSCodeSetup.exe to install it again, which still doesn't add Explorer integration... but this time at least the PATH now has code in it.
On windows VSCode is installed as Code.exe and its located in your
C:\Users\<windows-user>\AppData\Local\Code\app-<version-number>\Code.exe
or
C:\Users\John\AppData\Local\Code\app-0.5.0\Code.exe

CentOS 5.5 Gnome login screen stuck at loading

I did a yum remove fontconfig not knowing that it removes all packages that depend on it as well. That's 300 packages that have been removed.
I have tried to reverse the process by running yum remove fontconfig again on another similarly-configured CentOS 5.5 machine and reinstalling those packages in the output of the command.
The Gnome logon screen is stuck at loading cursor.
My Gnome is still broken and I have switched to KDE for the time being. I can use a weird hybrid of Gnome Desktop and KDE window manager where the UI is Gnome but the desktop is not clickable and there's KDE apps instead of the Gnome ones.
/etc/sysconfig/desktop
DESKTOP="GNOME"
DISPLAYMANAGER="KDE"
Using the KDE login to choose Gnome also gives me this weird KDE/Gnome hybrid.
I have reinstalled the Gnome-related packages several times and it doesn't fix the issue.
yum should have given you an indication of the volume of packages that it was going to remove and should have given you the chance to abort the attempt (unless you used -y which, I imagine you now realize, you shouldn't).
There's no need to attempt to "reproduce" the problem to find the list of packages. The yum log file /var/log/yum.log will tell you everything that yum installed and removed.
On CentOS 6 and newer yum has a history command that can also display this (and other) information.

GUI is not opening after Oracle solaris x86 installation

I'm Installing oracle Solaris 86x64 operating system in my PC. it was complete installation without any errors. In the final step of the installation the GUI window is not opening. If I restart the PC it is booting and Not able to go beyond the black screen. But, I can ping the system from another Command prompt. Is there drivers to be install ? Because of this I'm not able go into the system.