Category Archives: RedHat

Configure Remote Desktop from command line

  1. To enable remote desktop open a terminal and enter the following:
  2. gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true

  3. To disable the following option: “You must confirm each access to this machine” enter as follows:
    gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled false

The above is extremely helpful if you come across a bug when clicking on System menu the system hangs. More information can be found here: https://bugzilla.redhat.com/show_bug.cgi?id=730378

how to disable GNOME remote desktop keyring (vino)

You may receive a following dialog due to the gnome bug:

gnomeKeyringDialog

 

Already tested various solutions to that problem such as:
– Disabling/removing  GNOME Keyring Daemon in System -> Preferences -> Startup Applications
– Editing /etc/gconf/schemas/gnome-keyring.schemas and replacing TRUE with FALSE value

The only working solution was:
– Renaming /usr/bin/gnome-keyring-daemon to /usr/bin/gnome-keyring-daemon.bak
mv /usr/bin/gnome-keyring-daemon /usr/bin/gnome-keyring-daemon.bak

how to share files – samba

  1. Install samba repository.
    sudo yum install samba -y
  2. Set user’s password
    smbpasswd -a dartron
  3. Create a share folder.
    cd /
    mkdir share
  4. Edit samba configuration file.
    vim /etc/samba/smb.conf
    At the end of the file, add these lines:
    [share]
    path = /share
    available = yes
    valid users = dartron
    read only = no
    browsable = yes
    public = no
    writable = yes
    Depending on your case the above may vary.
  5. Save and exit the file.
  6. Restart samba service.
    service smbd restart