|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Need help with Xwindow remote login through ssh
I have currantly updated to 5.3. I am using a an oll mmx pentium II 400 and loging into it remotly from a Mac G-5 I have installed wine and tring to get X up and running. I am trying to get Autocad to run on the remote server and use the Mac as the client. It seems like I have X installed but I cannot configure it. When I try to start X I get
su-2.05b# xinit xinit: No such file or directory (errno 2): no server "X" in PATH Use the -- option, or make sure that /usr/X11R6/bin is in your path and that "X" is a program or a link to the right type of server for your display. Possible server names include: XFree86 XFree86 displays giving up. xinit: No such file or directory (errno 2): unable to connect to X server xinit: No such process (errno 3): Server error. any ideas as I really need to get this to work propperly. Thanx. ps have virtual pc but it isnt really working for me. |
|
#2
|
||||
|
||||
|
0. Make sure /usr/X11R6/bin is in your path (or wherever you have X Windows installed).
1. Try starting X with startx 2. If you're trying to run X remotely, have you set the DISPLAY environment variable and run xhost + already? You should do that for it to work.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#3
|
|||
|
|||
|
Quote:
OK I am really new to this only been messing with it for a year, what does : Make sure /usr/X11R6/bin is in your path (or wherever you have X Windows installed). What is my path? I tried to configure x but the comand XFRee86 -configure doesn't exist. I am allmost certain that X is installed though.. Thanx for your help!! |
|
#4
|
|||
|
|||
|
Quote:
PATH - same as in the old DOS days - a list of locations for the OS to search and locate the program/command you have instructed it to run. If X is not in the PATH, FreeBSD will not know where to find it. If XFree86 -configure does not run, X is not installed. Reinstall it from the latest port. Switch to super user, cvsup your ports (I presume you have cvsup-without-gui installed), go to ports directory with #cd /usr/ports/ make a new INDEX for the ports, #make index and READ!! your UPDATE file (that's the one in #/usr/ports). Now you reinstall X #cd /usr/ports/x11/XFree86-4 #make #make install #make clean I prefer 3 seperate commands - keep me informed as to where an error occurs. Trust this helps |
|
#5
|
|||
|
|||
|
Hi,
Just a thought.. Perhaps Xorg is installed rather than XFree86? Isn't Xorg the default X-System under 5.3? In this case, wouldn't you need Xorg -configure or xorgcfg or something? Installing XFree86 next to Xorg might get too big for some /usr partitions. -Steven |
|
#6
|
|||
|
|||
|
So I got Xorg installed configured and running fine on the free bsd box. I then installed X11 for mac and added the freebsd box using x host. when I use the command export DISPLAY=192.168.1.102 , the ip of the mac it gives me the error:
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified any ideas as to what i am not doing here?? |
|
#7
|
||||
|
||||
|
Assuming the following:
Mac IP Address: 192.168.0.10 FreeBSD IP Address: 192.168.0.20 On the Mac --------------------------- 1. Get into a command prompt. 2. Type: xhost +192.168.0.20 substitute the IP address of the freebsd box accordingly. 3. ssh into the freebsd box. Since you're using ssh, there's no need to set a DISPLAY variable. 5. Start up an X application on the freebsd box. /usr/local/bin/gimp Should work fine... |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Need help with Xwindow remote login through ssh |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|