LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-29-2009, 08:15 AM   #1
bcl00
LQ Newbie
 
Registered: Aug 2009
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
Question Problems Launching VNC Session Using Slackware 12.2 and RealVNC 4.1.3


All,

I'm a slackware noob. I had Fedora running for a while on my media PC at home, then went to windows for a while, now I'm trying slackware. So far, I installed slackware 12.2 from DVD using basically the standard options I found on various guides. I successfully installed the video driver I downloaded from NVIDIA. Now, I'm trying to get VNC running so that I can remotely run GUI applications. I downloaded RealVNC 4.1.3 because I have had success with this VNC server/client in the past. However, I'm having issues when launching it in slcakware. I installed it by downloading vnc-4_1_3-x86_linux.tar.gz into /tmp. I executed tar -xvf to expand the tar file. I ran ./vncinstall per the README file. I log in as the user brian and execute vncserver. The following output is displayed:

Code:
brian@bserv:/tmp/realvnc/vnc-4_1_3-x86_linux$ vncserver

New 'bserv:1 (brian)' desktop is bserv:1

Starting applications specified in /home/brian/.vnc/xstartup
Log file is /home/brian/.vnc/bserv:1.log
However, I see the following when I connect using a VNC client:

http://i579.photobucket.com/albums/s...eenShot001.jpg

I tried executing startkde & again (it's already in my xstartup file) and it looks like it was running but did not launch successfully. This time it gets further through its startup process but it still doesn't finish launching. I end up with an environment that looks like the following:

http://i579.photobucket.com/albums/s...eenShot002.jpg
http://i579.photobucket.com/albums/s...eenShot003.jpg

Here is my xstartup file:

Code:
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
startkde &
Here is the vnc log:

Code:
brian@bserv:~/.vnc$ more bserv\:1.log
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'

Xvnc Free Edition 4.1.3 - built Oct 15 2008 12:55:42
Copyright (C) 2002-2008 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40201000, The XFree86 Project, Inc


Sat Aug 29 20:39:11 2009
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      created VNC server for screen 0
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
xsetroot:  unknown color "grey"
vncconfig: xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->r
equest)) >= 0)' failed.
/home/brian/.vnc/xstartup: line 6: 11523 Aborted                 vncconfig -icon
ic
twm:  invalid color name "black"
twm:  invalid color name "white"
twm:  invalid color name "slategrey"
twm:  invalid color name "gray85"
twm:  invalid color name "gray85"
twm:  invalid color name "gray85"
twm:  invalid color name "slategrey"
twm:  invalid color name "gray70"
twm:  invalid color name "gray85"
twm:  invalid color name "gray85"
twm:  invalid color name "gray85"
X Error of failed request:  86
  Major opcode of failed request:  51 (X_SetFontPath)
  Serial number of failed request:  8
  Current serial number in output stream:  10
startkde: Starting up...
kbuildsycoca running...

Sat Aug 29 20:39:25 2009
 Connections: accepted: 192.168.1.7::4311
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)

Sat Aug 29 20:39:28 2009
 VNCSConnST:  Server default pixel format depth 16 (16bpp) little-endian rgb565
 VNCSConnST:  Client pixel format depth 8 (8bpp) rgb max 3,3,3 shift 4,2,0
 VNCSConnST:  Client pixel format depth 16 (16bpp) little-endian rgb565
DCOP aborting (delayed) call from 'kded' to 'klauncher'
DCOP aborting while waiting for answer from 'kded'
DCOPServer::DCOPReplyDelayed for unknown connection.
Warning: connect() failed: : No such file or directory
Does anyone know what might be the issue here or if there is something else I need to do to make this work? Please let me know if there are other config or log files that would be helpful.

Thanks!
 
Old 08-29-2009, 08:45 AM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Comment out the twm line in your xstartup file and you should be good to go.
 
Old 08-29-2009, 09:28 AM   #3
bcl00
LQ Newbie
 
Registered: Aug 2009
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks, commenting out TWM took care of the issue with the windows being broken up. I still had the issue where KDE didn't appear to launch gracefully. I had to run startkde & to get it to finish launching. I have to head out now but I'll come back and play with it some more later.

Thanks again!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vnc (realvnc) headaches... nataloi Linux - Software 0 04-21-2009 12:09 PM
Why krdc (KDE 4.1.2) cannot connect to vnc server (RealVNC) ? rangertang Slackware 0 10-29-2008 09:46 PM
vnc to slackware 9.1 kde session login aldrisow Slackware 10 07-06-2005 10:13 AM
Problems with launching programs in Fresh Slackware 10.0 Install Cecil Linux - Software 5 11-22-2004 10:24 PM
Vnc server session Slackware 9.1 Johny_B Linux - Software 5 04-19-2004 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration