11/19/17

  06:09:00 am by wdawe, Categories: General
Moving a window above the top bar in Gnome 3 classic shell

Trying to move a window up to click a button that's off the button because your screen is to small? Before Gnome 3 the Alt ley was the one to hold down while dragging the window. Withe Gnome 3 it has changed to the Windows keybut for some reason Gnome calls this key the Super key instead of the Windows key. On Centos 7 the firewall configuration GUI isn't shown in settings. It's the application that I needed to move up to adjust on my laptop as shown in the screenshot at the beginning of this post.

 PermalinkLeave a comment »

11/05/17

  04:23:00 am by wdawe, Categories: General

Enter the following command on your local machine (machine_A):
ssh user@remote_machine -L 5900:localhost:5900 "x11vnc -display :0 -noxdamage"
then run vncviewer and use localhost as the server to connect to and you should see the remote machine's screen.

To do it in the other direction if you use x11vnc to connect outwards.
At a console prompt on the local machine (Machine_A) enter: vncviewer --listen (listens on port 5500 by default)
At a console prompt on the remote machine enter: ssh user@Machine_A -L 5500:localhost:5500 -N
And finally on the remote machine: x11vnc -connect localhost -display :0
and you should see the remote machines screen.

If you have a machine on the internet and you want to get ssh access to a machine behind a firewall, you can set up a straight ssh tunnel. It's a variation of second method

On the machine you want to access (Machine_A) you enter:
ssh -R 5301:localhost:22 user@machine_B -N
and on Machine_A
ssh user@localhost -p 5301 and you should see a login prompt from Machine_A
if you set
GatewayPorts yes in /etc/ssh/sshd_config on Machine_B and you have access to port 5301 on Machine_B you can also access Machine_A from another Machine
with ssh Machine_B -p 5301

10/19/17

  05:51:00 am by wdawe, Categories: General

If you find that your Xbox 360 controller connects and disconnects repeatably after pairing try the following command

echo 1 > /sys/module/bluetooth/parameters/disable_ertm

If this command fixes your your problem you can add the command to /etc/rc.local or add 'bluetooth.disable_ertm=1' to the GRUB_CMDLINE_LINUX line in /etc/default/grub. Then run grub2-mkconfig -o /boot/grub2/grub.cfg and reboot.

Hope this helps, thanks to https://bbs.archlinux.org/viewtopic.php?id=219471 for pointing me in the right direction.

06/10/16

  04:07:00 pm by wdawe, Categories: General

Evidently sometimes Windows 10 will add a partition when upgrading which means grub can't find it's config file.

To fix this you can boot using the Centos 7 install DVD into rescue mode. You need to choose the boot option that matches whatever version of Centos you installed, either legacy boot or EFI,

chroot /mnt/sysimage
(for legacy boot)
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-install /dev/sda (replace the a with whatever drive is your boot drive)

04/11/16

  05:35:00 pm by wdawe, Categories: General

1. Install the EPEL repository. If you are running Centos 7 you can install EPEL by runningĀ yum install epel-release. The package is included in the CentOS Extras repository, enabled by default. If your are running RHEL7 or another variant you can run:

rpm - iĀ https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

2. Install the ntfs support modules with yum install ntfs*

3. Mount the Windows drive using either the filemanager or the disks utility

4. run grub2-mkconfig -o /boot/grub2/grub.cfg

You should see a message mentioning that Windows is one of the boot options

::

Cool web tools, EEPC tips and Linux info. Browse around, I'm sure you will find something to interest you.

Search

  XML Feeds

b2