BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old January 5th, 2005, 01:17 AM
WhatsNEXT WhatsNEXT is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 7 WhatsNEXT User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old January 5th, 2005, 01:28 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is online now
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 22 m 8 sec
Reputation Power: 797
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

Reply With Quote
  #3  
Old January 7th, 2005, 12:40 AM
WhatsNEXT WhatsNEXT is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 7 WhatsNEXT User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 sec
Reputation Power: 0
Quote:
Originally Posted by Scorpions4ever
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.





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!!

Reply With Quote
  #4  
Old January 15th, 2005, 12:46 AM
goggie goggie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 5 goggie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by WhatsNEXT
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!!


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

Reply With Quote
  #5  
Old January 17th, 2005, 03:37 AM
stevengs stevengs is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Germany
Posts: 394 stevengs User rank is Lance Corporal (50 - 100 Reputation Level)stevengs User rank is Lance Corporal (50 - 100 Reputation Level)stevengs User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 4 h 36 m 24 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
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

Reply With Quote
  #6  
Old January 17th, 2005, 01:21 PM
WhatsNEXT WhatsNEXT is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 7 WhatsNEXT User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 sec
Reputation Power: 0
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??

Reply With Quote
  #7  
Old January 19th, 2005, 12:13 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is online now
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 22 m 8 sec
Reputation Power: 797
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...
Comments on this post
M.Hirsch agrees: "this guy knows his ****"

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Need help with Xwindow remote login through ssh


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway