Hello Mark...
If you are using SuSE 8.1 you can follow this...

Setting up VNC via Inetd on SuSE 8.1
====================================


Intro:
=====
The idea here is to setup vnc so that any user can connect to the
server.  Once he does the normal (kde) login prompt appears.  And the
user can login and use all the standard SuSE linux features.  

Additionally, here we turn off the graphical interface on the server
console, so as to save CPU cycles, and memory usage.  (The server
console is not used anyway!)


Installing the software
=======================

VNC:
---
The version of VNC shipped with SuSE is a rather conservative version,
and although it works, better versions are available on the iternet.So,
get / use the RPM packages from one of thoose... 

NOTE: You must uninstalled the SuSE VNC version before installing the
newer one!

AutoCutSel:
----------
There is an additional program called "autocutsel" that allows cut 'n
paste to work between a windows vncviewer and a unix vncserver.  This
program needs to be copied to the directory /usr/local/bin.  To use the
program, you must start it by hand, with the following command:
"autocutsel &".  This starts the program, and sends it to the
background.


Configuring SuSE
================

/etc/services
-------------
Edit the file /etc/services
The file is ordered by portno.  So the following lines should be
inserted at the appropiate place:

vnc640          5950/tcp       # tiny
vnc800          5951/tcp       # small
vnc1024         5952/tcp       # normal
vnc1280         5953/tcp       # large
vnc1600         5954/tcp       # X-Large


/etc/inetd.conf
---------------
Edit the file /etc/inetd.conf
Almost at the end of the file (before the "# End." line) add the
following lines:(Note: Each of the following line start with "vnc" 
and ends with a "geometry" parameter, but due to email 
restrictions the lines have been split in 2!  SO you must put 
the lines back together!)

vnc640 stream tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd -query
127.0.0.1 -once -depth 16 -geometry 640x480
vnc800 stream tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd -query
127.0.0.1 -once -depth 16 -geometry 800x600
vnc1024 stream tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd -query
127.0.0.1 -once -depth 16 -geometry 1024x768
vnc1280 stream tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd -query
127.0.0.1 -once -depth 16 -geometry 1280x1024
vnc1600 stream tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd -query
127.0.0.1 -once -depth 16 -geometry 1600x1280

Please check that the Xvnc was placed in the directory /usr/bin,
sometimes it is placed  in /usr/local/bin... or elsewhere  If Xvnc
is else where then change the above lines corespondingly...
You can see where Xvnc is installed by executing which Xvnc.


Now you can restart the inetd deamon with the command "/etc/init.d/inetd
restart"

Note: I used to set the geometry to screen size  window frame size,
to allow you to have a window that takes up your entire screen, and does
not have a scrolling bar.  The newer versions of VNC now have a full
screen mode that allow you to use the entire screen, (without frames)
which works better than my method.  So the above geometry figures 
implement the newer method...




Yast2 parameter modifications
-----------------------------
In Yast2-.>System->Sysconfig Editor 
change DISPLAYMANAGER_REMOTE_ACCESS to yes
change DISPLAYMANAGER_STARTS_XSERVER to no  <--- no GUI on console
change KDM_SHUTDOWN to root
change KDM_GREETSTRING to "Westrick & Associates" <-- (your co. name)
then click "save"


Using the new configuration
===========================
In order to use the new configuration you need to re-entry "init level
5" do this by executing the following 2 commands as root:
init 3
init 5

Remote Root Login
=================
By default remote login as user root is not allowed.  In general 
this is a good security feature.  But in my case where the 
server is not protected from within, and only ssh is allowed from
without, this is both a needless precaution and a bothersome feature.
To allow remote root logins, save the following line in a file called
/etc/rc.config.
ROOT_LOGIN_REMOTE=yes



Testing your modifications:
==========================
1) Try connecting with vncviewer to server:50 to server:54 to see if all
is well, 
2) look at the console on server to see if it is nolonger graphical, 
3) and finally in the login screen try "shutdown" (It should require the
roots password!).  

4) Additionally, start autocutsel and test cut 'n paste across vnc!


Have Sex, (it's more fun!)

Jerry Westrick



On Tue, 2003-03-11 at 16:28, Rippe, Mark (CCI-New England) wrote:
> i am new to this so here hoes.
> please have patience for a pilgrim!
> 
> i am running realvnc3.3.7-x86_linux
> on a suse linux platform.
> i can connect but cannot get to the default suse desktop.
> 
> actually i would like to go to the suse login screen and do a normal entry to the 
> system.
> 
> is this possible and how do i do this.
> 
> [EMAIL PROTECTED]
> 
> Someone who says little things don't bother them 
> has never tried to sleep in a room 
> with one mosquito.
> _______________________________________________
> VNC-List mailing list
> [EMAIL PROTECTED]
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to