LAMP How To – Open Source At Work

Only Passion Matters

Entries Tagged ‘vnc’

VNC: no profile for user error

If you want to vnc into the server with gnome and get a vnc error like so

Mon Aug 24 09:54:02 2009
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: Listening for HTTP connections on port [...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • LinkedIn
  • MySpace
  • Slashdot
  • TwitThis
  • Yahoo! Buzz

Configuring VNC Server For Multiple Users

* VNC Server allows sysadmin to administer the server in GUI environment provided the server is able to boot up in run level 5. We are setting up 2 users for vnc access in this instance.
* If not already done, install vnc server.
yum install vnc-server
* In /etc/sysconfig/vncservers
VNCSERVERS=”1:user1 2:user2″
VNCSERVERARGS[2]=”-geometry 1280×1024″
VNCSERVERARGS[3]=”-geometry 1280×1024″
* Manually switch between users and [...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • LinkedIn
  • MySpace
  • Slashdot
  • TwitThis
  • Yahoo! Buzz

Quick vnc tips

1. To login to gnome of kde via vnc, in ~/vnc/xstartup, uncomment the 2 lines below “uncomment…”

#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
twm &

2. To start [...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • LinkedIn
  • MySpace
  • Slashdot
  • TwitThis
  • Yahoo! Buzz