LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-12-2003, 06:53 AM   #1
StormCyko
LQ Newbie
 
Registered: Aug 2003
Location: Australia
Distribution: Mandrake 9.1 i686
Posts: 5

Rep: Reputation: 0
KDE through Xvnc --> GLX errors


Hi all
I am running Mandrake 9.1 and would like to VNC (tightVNC, shouldn't matter)to this linux machine from the windows machines at my university. In the past I have been running windowsXP on this machine and I had no problems with that.

I am running the following to start Xvnc (as a non-root user):
$ vncserver -depth 16 -httpd /usr/share/vnc/classes -httpport 5800

This will create a :1 session and will webserve a java applet vnc viewer on port 5800.

So far this works as I have tested it and get the password prompt.

However...
I would like to run KDE on this session, I have edited the appropriate file (~/.vnc/xstartup) so it is now:
Code:
#!/bin/sh

# Mandrake Linux VNC session statup script
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
exec startkde &
Now when a user connects it will try and start KDE but produce the following error in the ~/.vnc/localhost:1.log file:

Code:
startkde: Starting up...
Xlib:  extension "GLX" missing on display ":1.0".
The user viewing will see the desktop background that i usually see on KDE however the cursor is an 'X' and there is no taskbar etc.

There are A LOT of errors following this, many the exact same GLX error, others relating to programs trying to start like 'Kmix'.
The full log can be found here:
arach.net.au/~kiernanm/localhost-1.log


I think I might add that if instead of using 'startkde' and instead use 'exec /etc/X11/xinit/xinitrc &' it will in fact load iceWM (blah, ugly ) but proof it works

Any help/suggestions/guidance anyone?

Last edited by StormCyko; 08-12-2003 at 06:55 AM.
 
Old 08-12-2003, 06:56 AM   #2
StormCyko
LQ Newbie
 
Registered: Aug 2003
Location: Australia
Distribution: Mandrake 9.1 i686
Posts: 5

Original Poster
Rep: Reputation: 0
bah i got the topic wrong, should have said XvnC and i can't delete the topic and start fresh :\ in any case..
 
Old 08-12-2003, 07:04 AM   #3
kernal32
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
its a anti alias font problem. There is replacement for libqt-3.1 but then your fonts look shit....

Look here, exactly the same problem
http://www.linuxquestions.org/questi...003/07/4/52860

if you do your fix, your fonts may not look great, but VNC might work.
 
Old 08-12-2003, 07:05 AM   #4
StormCyko
LQ Newbie
 
Registered: Aug 2003
Location: Australia
Distribution: Mandrake 9.1 i686
Posts: 5

Original Poster
Rep: Reputation: 0
> is there a way i could only have ugly fonts under one certain user and run vnc as that user?
 
Old 08-12-2003, 07:08 AM   #5
kernal32
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
I'm not sure, perhaps there is another way.
updating your libqt is are system wide thing (well thats what I think)
 
Old 08-12-2003, 07:12 AM   #6
kernal32
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
I come with better news
http://xf4vnc.sourceforge.net

download Xvnc binary and replace /usr/bin/Xvnc with it.
Supports "glx" as well

Last edited by kernal32; 08-12-2003 at 07:14 AM.
 
Old 08-12-2003, 07:25 AM   #7
StormCyko
LQ Newbie
 
Registered: Aug 2003
Location: Australia
Distribution: Mandrake 9.1 i686
Posts: 5

Original Poster
Rep: Reputation: 0
I extracted the xf4vnc archive, su'ed and changed to /usr/bin
moved the existing Xvnc to XvncORIG
moved ~/downloads/apps/Xvnc-ix86-linux-4.3.0.4 to ./Xvnc

(Xvnc-ix86-linux-4.3.0.4 is the file extracted from Xvnc-ix86-linux-4.3.0.4.tar.gz)
And when i try to start a server I get:
vncserver: couldn't find "Xvnc" on your PATH.

Closer inspection shows that the extracted file is not showing up as a binary (ie does not have * after the filename)

How can this be remedied anyone?
 
Old 08-12-2003, 07:33 AM   #8
kernal32
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
chmod +x /usr/bin/Xvnc
as root
 
Old 08-12-2003, 07:37 AM   #9
StormCyko
LQ Newbie
 
Registered: Aug 2003
Location: Australia
Distribution: Mandrake 9.1 i686
Posts: 5

Original Poster
Rep: Reputation: 0
fantastic... however....
I get a slew of new errors:
Code:
[stormcyko@localhost .vnc]$ more localhost\:1.log
12/08/2003 19:31:09 Xvnc version XF4VNC-4.3.0.4
12/08/2003 19:31:09 Copyright (C) 2001-2003 Alan Hourihane.
12/08/2003 19:31:09 Copyright (C) 2000-2003 Constantin Kaplinsky
12/08/2003 19:31:09 Copyright (C) 1999 AT&T Laboratories Cambridge
12/08/2003 19:31:09 All Rights Reserved.
12/08/2003 19:31:09 See http://www.tightvnc.com/ for information on TightVNC
12/08/2003 19:31:09 See http://xf4vnc.sf.net for xf4vnc-specific information
12/08/2003 19:31:09 Desktop name 'X' (localhost:1)
12/08/2003 19:31:09 Protocol versions supported: 3.130, 3.3
12/08/2003 19:31:09 RGB format 5 6 5
12/08/2003 19:31:09 Listening for VNC connections on TCP port 5901
12/08/2003 19:31:09 Listening for HTTP connections on TCP port 5800
12/08/2003 19:31:09   URL http://localhost:5800
Could not init font path element unix/:7100, removing from list!

Fatal server error:
could not open default font 'fixed'
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":1.0"
      after 0 requests (0 known processed) with 0 events remaining.
xmodmap:  unable to open display ':1'
xmodmap:  unable to open display ':1'
xset:  unable to open display ":1"
xset:  unable to open display ":1"
xset:  unable to open display ":1"
startkde: Starting up...
kbuildsycoca running...
ksplash: cannot connect to X server :1
kded: cannot connect to X server :1
DCOP aborting call from 'anonymous-18656' to 'kded'
ERROR: KUniqueApplication: DCOP communication error!
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
kcminit: cannot connect to X server :1
knotify: cannot connect to X server :1
DCOP aborting call from 'anonymous-18660' to 'knotify'
ERROR: KUniqueApplication: DCOP communication error!
ksmserver: cannot connect to X server :1
startkde: Shutting down...
KLauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia nForce (original) glx errors ! tionik06 Linux - Hardware 4 07-22-2005 05:04 PM
nvidia glx acceleration won't work in kde on debian sillyd Linux - Hardware 4 01-29-2005 09:18 AM
GLX visual errors while starting a game w0lv3rin3 Linux - Software 0 03-07-2004 01:52 PM
(II) [GLX]: Initializing GLX extension - X wont go hydro Linux - Software 3 02-20-2003 07:12 PM
Unreal Tournament 2003 GLX errors Pezlord Linux - Software 1 12-30-2002 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration