LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 06-07-2008, 04:50 PM   #1
jimkalb
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware 13.0
Posts: 22
Thanked: 0
Color problems with Slack 12.1/tightvnc server


[Log in to get rid of this advertisement]
[UPDATE: the following problem went away when I removed the SlackBuilds package and installed the one from linuxpackages.net. Very strange.]

I built tightvnc using the script at SlackBuilds.org, installed it on my Slackware 12.1 box, and installed the Windows version of tightvnc on my Windows 2000 box.

With the Windows server and Slack client it works perfectly.

With the Slack server and Windows client there's a problem with colors. No matter what I do, I get a grey crosshatch background and unreadable black-on-black menus.

I've experimented a bit with the .vnc/xstartup file. The default is:

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

That doesn't make sense for me because I don't have twm. So I've substituted fvwm and blackbox for twm and the same result. The window manager comes up and I get the xterm but it's all pretty unusable because the menus are unreadable.

If I change

xsetroot -solid grey

to

xsetroot -solid steelblue, it's the same. Ditto if I comment out

xrdb $HOME/.Xresources

I tried doing it with 8-bit color on both sides and still the same. At times there are hints of color but it's mostly unreadable blacks and grays.

Any ideas?

Last edited by jimkalb; 06-07-2008 at 09:09 PM..
jimkalb is offline     Reply With Quote
Old 08-02-2008, 01:50 PM   #2
gefst
LQ Newbie
 
Registered: Sep 2003
Posts: 28
Thanked: 3
If I understand the problem correctly what you need to do is edit the script.

/usr/bin/vncserver

uncomment the colorPath line and set the path to
"/usr/share/X11/rgb"

also you will probably need to comment the first instance of fontPath that says something like "unix:/7100" and uncomment the second instance three lines below, under the line "Here is another example ..." (just uncomment, you don't need any other changes).

Propably the slackbuild that was used to compile the package you downloaded took care of these changes.
gefst is offline     Reply With Quote
Old 08-04-2008, 04:05 PM   #3
jimkalb
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware 13.0
Posts: 22
Thanked: 0

Original Poster
Thanks much! I should have looked at the files in the package to see if there were editable scripts or configuration files. The practical problem went away, but it's always good to know why a problem was there.
jimkalb is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
help me get tightvnc server to work jbeedham Linux - Software 2 07-10-2005 05:33 PM
tightvnc server on bootup greenmeanie Debian 2 05-10-2005 12:22 PM
Cannot connect to TightVNC Server vishalvkapoor Linux - Networking 6 04-23-2005 04:15 PM
tightvnc+X problems tsitras Linux - Networking 2 03-24-2004 08:27 PM
Install tightvnc on slack 9.1 bigbaycny Slackware 1 03-01-2004 02:55 PM


All times are GMT -5. The time now is 10:53 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration