I’ve been interacting with the TightVNC users list and one of the developers. I’m going to paste below my last message from that list. I managed to find a way to make a user’s X-Window desktop appear in TightVNC.
I have not tried the login because I don’t know how to start the X-login in OpenSUSE 11.2. The vncserver program could also be started when the system starts. Maybe the X-login as well. This success may provide some useful information.
Basically I had the black/blank X-Window with the X-cusor like others have reported. Instead of Xvnc in xinetd, I used the perl wrapper script /usr/bin/vncserver. It gave on a display, like :2, a user’s desktop. Here’s the pasted discussion…
OpenSUSE 11.2’s xinetd runs Xvnc, a compiled program, directly with parameters on the command line. Those parameters can be set using the Yast configuration utility. Some of the parameters, namely -query localhost and -once are not documented in the Xvnc documentation.
I tried a different method and have gotten some success. I used putty-ssh to sign onto the OpenSUSE box and run the perl script vncserver as a user. (Why perl not bash?) Here’s the command line I used…
vncserver :2 -geometry 1024x768 -depth 24
…which, I’m sure you know, sets a vnc server running for display :2.
I then started TightVNC’s on WinXP viewer and went to IPaddress:2. I got access to a full desktop as including all the prior user KDE setup.
The problem with this is that there is not a normal X-Windows sign-on, it bypasses the normal X sign-on I would expect to see. Can the normal X-Windows login start be used here?
Here’s the full vncserver perl script generated command line and screen output. I’ve added the line formatting…
Xvnc :2 -desktop ‘X’
-geometry 1024x768 -depth 24
-fp /usr/share/fonts/misc:unscaled,/usr/share/fonts/local,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/Type1,/usr/share/fonts/URW,/usr/share/fonts/Speedo,/usr/share/fonts/truetype,/usr/share/fonts/uni,/usr/share/fonts/CID -noreset
>> ‘/root/.vnc/wwsrv030:2.log’ 2>&1
New ‘X’ desktop server:2
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/server:2.log
The OpenSUSE.org xinetd Xvnc startup is not working vncserver is.
The entered Xvnc with parameters for xinetd startup taken from the Yast editing screen are…
Xvnc -inetd -once -query localhost -geometry 1024x768 -depth 24
I left out a script called by vncserver. It is a modified /home/username/.vnc/xstartup(also in /root) which invokes startkde instead of the stark xterm only twm.
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title “$VNCDESKTOP Desktop” &
/usr/bin/startkde <<<=== Originally it was “twm &”
What is xrdb, xsetroot, and is xterm the xterm?
What is the X-login startup?