Showing posts with label suse. Show all posts
Showing posts with label suse. Show all posts

Saturday, December 24, 2011

VNC on SuSE and openSuSE

wanted to have VNC server installed on SUSE10 and openSUSE12
but it looks like both vino and Xvnc doesn't support copy & paste between local and remote...
found x11vnc works out of the box with copy & paste, to have to up running by default after server boots up:

cat /etc/SuSE-release 
openSUSE 12.1 (x86_64)
VERSION = 12.1
CODENAME = Asparagus

- x11vnc is in the repo of openSUSE12
zypper install x11vnc
x11vnc -storepasswd /etc/x11vnc.passwd
- add the following line to rclocal:
/usr/bin/x11vnc -sleepin 30 -o /var/log/x11vnc.log -forever -noncache -noxfixes -noxdamage -rfbauth /etc/x11vnc.passwd -display :0 -auth `ps -eaf | grep Xorg | awk {'print $15'}` &


cat /etc/SuSE-release 
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10

- find x11vnc-0.9.2-1.guru.suse101.x86_64.rpm and install it
- add the following line to rclocal:
/usr/bin/x11vnc -sleepin 30 -o /var/log/x11vnc.log -forever -noncache -noxfixes -noxdamage -rfbauth /etc/x11vnc.passwd -display :0 -auth /var/lib/gdm/:0.Xauth &

Tuesday, December 20, 2011

rc.local on SuSE and openSuSE



create a file under:
/etc/rc.d/rclocal



--- USE the following header in the file content ---
#! /bin/sh
# Copyright (c) 1995-2000 SuSE GmbH Nuernberg, Germany.
#
# Author: Felix Wu
#
# /etc/init.d/rclocal
#
### BEGIN INIT INFO
# Provides: rclocal
# Required-Start: $network $remote_fs
# Required-Stop: $network $remote_fs
# Default-Start: 5
# Default-Stop: 0 1 2 3 6
# Description: Felix's rclocal
### END INIT INFO
--- EOF ---

to make it effective:
chmod 755 rclocal
chkconfig rclocal on

Wednesday, November 30, 2011

unlock desktop under openSUSE12

Not sure if this is just an openSUSE default gnome setting or a new gnome setting, but after you installed openSUSE12 with gnome desktop, the desktop is locked! cannot right click, cannot see any files/directories under your desktop, it is just weird.  To unlock it, run gnome-tweak-tool from terminal:


gnome-tweak-tool
Desktop -> Have file manager handle the desktop

Back to normal again :-)