LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2008, 03:27 AM   #1
zurkeyon
LQ Newbie
 
Registered: Apr 2008
Posts: 20

Rep: Reputation: 0
Unhappy OK More Questions At the Bottom.... LoL


Hello Linux peoples !!!

I have a Samba server set up on an IBM Eserver xSeries 225 tower. Its for some large and fast windows network shares and mapped drives.

I wish to admin the system from afar and I cannot get vnc to run properly. After setting password and starting the service I get the following.....

[root@localhost /]# vncserver
Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xvnc process.

Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
05/04/08 01:52:37 Xvnc version TightVNC-1.3.9
05/04/08 01:52:37 Copyright (C) 2000-2007 TightVNC Group
05/04/08 01:52:37 Copyright (C) 1999 AT&T Laboratories Cambridge
05/04/08 01:52:37 All Rights Reserved.
05/04/08 01:52:37 See http://www.tightvnc.com/ for information on TightVNC
05/04/08 01:52:37 Desktop name 'X' (localhost:2)
05/04/08 01:52:37 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
05/04/08 01:52:37 Listening for VNC connections on TCP port 5902
05/04/08 01:52:37 Listening for HTTP connections on TCP port 5802
05/04/08 01:52:37 URL http://localhost:5802
_FontTransSocketUNIXConnect: Can't connect: errno = 2
failed to set default font path 'unix/:7100'
Fatal server error:
could not open default font 'fixed'
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
05/04/08 01:52:38 Xvnc version TightVNC-1.3.9
05/04/08 01:52:38 Copyright (C) 2000-2007 TightVNC Group
05/04/08 01:52:38 Copyright (C) 1999 AT&T Laboratories Cambridge
05/04/08 01:52:38 All Rights Reserved.
05/04/08 01:52:38 See http://www.tightvnc.com/ for information on TightVNC
05/04/08 01:52:38 Desktop name 'X' (localhost:2)
05/04/08 01:52:38 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
05/04/08 01:52:38 Listening for VNC connections on TCP port 5902
05/04/08 01:52:38 Listening for HTTP connections on TCP port 5802
05/04/08 01:52:38 URL http://localhost:5802
Font directory '/usr/X11R6/lib/X11/fonts/misc/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Speedo/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Type1/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/75dpi/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/100dpi/' not found - ignoring

Fatal server error:
could not open default font 'fixed'

Please help me, O mighty Uber ones!!!

/ || \
/-Zurkeyon-\
\ /
\ /

Last edited by zurkeyon; 04-06-2008 at 06:32 PM. Reason: Trying to get noticed and get help
 
Old 04-05-2008, 04:11 AM   #2
zurkeyon
LQ Newbie
 
Registered: Apr 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Please Help Me Linux People...

I'm stumped and the web is not offering the usual assistance.

Any suggestions at all ?

Thanks in advance :-)
 
Old 04-05-2008, 06:26 AM   #3
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by zurkeyon View Post
Please Help Me Linux People...

I'm stumped and the web is not offering the usual assistance.

Any suggestions at all ?

Thanks in advance :-)
Did you edit your /home/username/.vnc/xstartup script to assign a window manager?
 
Old 04-05-2008, 06:40 AM   #4
zurkeyon
LQ Newbie
 
Registered: Apr 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Ok another quick one...

I made the mistake of typing in telinit 3 and now cannot get X working again....


Any suggestions ?

PLEASE
 
Old 04-05-2008, 06:44 AM   #5
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by zurkeyon View Post
Ok another quick one...

I made the mistake of typing in telinit 3 and now cannot get X working again....


Any suggestions ?

PLEASE
try telinit 5.
 
Old 04-05-2008, 06:47 AM   #6
zurkeyon
LQ Newbie
 
Registered: Apr 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Nope... I cannot get back to X I am on fullscreen tty1...

I am so stupid....

I cannot get X still. Mandriva 2008

It fails to start rpc.statd now as well.
Not sure if that means anything...
 
Old 04-05-2008, 06:49 AM   #7
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Just reboot it. As root type: reboot.
 
Old 04-05-2008, 06:49 AM   #8
zurkeyon
LQ Newbie
 
Registered: Apr 2008
Posts: 20

Original Poster
Rep: Reputation: 0
It reboots without X now also
 
Old 04-05-2008, 08:35 AM   #9
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Either type startx or to have X start automatically as root type: XFdrake. Reselect your graphics card, look under options and make sure you have a checkmark against Automatically start graphical interface, if you don't then select it, then save your settings. If X doesn't startup once you've done this, simply reboot again.
 
Old 04-05-2008, 04:00 PM   #10
zurkeyon
LQ Newbie
 
Registered: Apr 2008
Posts: 20

Original Poster
Rep: Reputation: 0
none of this is working for me. I guess its a 12 hour reconfigure....


Thank you for the suggestions

Last edited by zurkeyon; 04-05-2008 at 04:01 PM.
 
Old 04-05-2008, 07:50 PM   #11
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Try setting it up using the config in #4 of this thread: http://www.linuxquestions.org/questi...nc#post3097002
 
Old 04-06-2008, 06:31 PM   #12
zurkeyon
LQ Newbie
 
Registered: Apr 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Cool Is this method ok ? Its working so far =-)

Thank you for all the help on this. I had toasted the driver install and could not get x to work, because none of the devel environments or kernel-devel were installed. I have started to use the package manager to insure that all available libs and devel/compilers, are installed prior to trying to install anything else.

Is that a good method ?

I am trying to finetune my install for mandriva as a multi-function fileserver. I am just getting started again with linux, after getting frustrated years ago when it was still 90% command line.

I will list my whole cheat sheet, and if any of you have the time, maybe you could apply pointers and additional steps to get right the hacks and workaround methods I am likely using.

Yes, I know I am ther King of run-on sentences :-)

ok...Here it is...


MY MANDRIVA INSTALL METHOD FOR MULTI-FUNCTION FILESERVER - PRIVATE NETWORK - BEHIND CORPORATE FIREWALL...
IBM eServer x225, dual 1.8 Xeon, 1280 ram, geforce4 mx440 PCI, 1.1 Terabyte SATA RAID (Striped 320g drives, and a solo 120g for OS), x2 Intel Extreme Gigabit Ethernet NIC, USING REMOTE DESKTOP and WEBMIN to ADMIN REMOTELY.

My Setup in detail (Kind of)...

MAKE Mandriva Install CD 2008 (or current)

Boot to CD

Perform Live Install and allow reboot. Removing the CD when Prompted.

Set IP and get internet up using the Mandriva System Config tool or using command line to set up etho and eth1

Install all possible devel, communication, compilers etc ( Several gig total )

Perform update several times until all possible packages are installed.

-------console stuff.....-------

shorewall clear - clears out firewall and opens all ports for server

Disable Shorewall by editing shorewall.conf and setting "Startup = no"

urpmi samba - installs samba

urpmi kernel-devel - installs kernel development package to allow nvidia driver install.

stopx

sh the nvidia driver and install it. driver install still partially fails but allows continued use of X

reboot

Drakconfig to re-setup screens

reboot

setup samba and shares for windows workgroup (Methods can be found online - I am using webmin to get it working for ease of use and remote admin of the system later on)

reboot


insure samba services start with - chkconfig smb on

reboot

Update system using Mandriva config tool to properly install drivers as most installs fail this tool corrects them and makes work the drivers. ( I think LoL :-P )

Reboot

Attempt VNC setup. Using software manager – uninstall current VNC and reinstall tightvnc for use and configure. Possible that all will need to be pulled and reinstalled. (Tightvnc still not working correctly)

x11vnc from a terminal works best (so far)

Command = x11vnc –passwd (Password)

Still need this to open and run in a command line on startup
-------------------------------------------------------------------------------------------------------------------------------

Investigate Webmin as a remote solution....
Results...

FOUND POSTING QUOTE - SOURCE UNKNOWN
I have Mandriva 2006, I can access webmin locally using https://localhost:10000 and even by https://server01:10000. However, if I try connecting from any other computer I get "The operation timed out when attempting to contact server01". I can get to http://server01 and https://server01 remotely just fine. I liked at webmin settings, it is set to allow all IPs, I do have shorewall, so I checked it, and it had 80, and a few other ports that it accepted, but it did not have 10000 so I added 10000 to the list but I still get the same error when accessing webmin remotely. What could possibly be stopping it? Can someone help me figure this out?

Thanks.

The most secure way is using
ssh -L 10001:localhost:10000 youruserhere@server01

this will open an ssh connection to server01 using username yourusername.
after you logged in, your local port 10001 is forwared through the ssh connection to server01 (localhost on the other end...) port 10000.

now you can open your browser and type https://localhost:10001
for server01 this will look like you connect from localhost to port 10000.
END QUOTE


Set up IP vs servername for use remotely. Works fine… Change IP for new environment



setup virtualbox and other tools as needed....


Still to do - - -

Set up ssh tunnel and dyndns for xvnc and make startup of xvnc server

Get Shares Completed

Get virtualbox to work

Anti virus ?


Anything you guys would do differently or any pointers you feel like offering ?
 
Old 10-08-2008, 01:28 PM   #13
nronksr
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
Mandriva & VNC, Please set correct fontPath problem.

FYI: The actual problem is that in Mandriva 2007 and upward is that the default font paths have changed.

They use to be located under the X11R6/lib/X11 directory and they moved to /usr/share/fonts.

The vncserver script has not been updated to accomodate this. You can either update the script to include the new font path (I believe it is around line 134ish in the vncserver script), or run the following two commands to place symlinks, so the vncserver script can find the font and xserver path.

Quick solution:

ln -s /usr/share/fonts /usr/X11R6/lib/X11/fonts
ln -s /usr/lib/xserver /usr/X11R6/lib/X11/xserver
 
  


Reply

Tags
help, please


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: DistroWatch Weekly: First Look at Mandriva Flash 2008, Gentoo Linux 2008.0 sche LXer Syndicated Linux News 0 01-28-2008 06:30 AM
LXer: Ultumix Linux OS 2008 v0.0.1.0 Pre Release is ready for download. Seems Stable. LXer Syndicated Linux News 0 12-02-2007 07:20 PM
Mandriva 2008 Fails To Update Mandriva 2007 Spring Free max53000 Mandriva 1 10-20-2007 05:53 AM
LXer: The Perfect Desktop - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-16-2007 08:20 PM
LXer: The Perfect Server - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-11-2007 10:41 PM


All times are GMT -5. The time now is 08:13 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