|
| | |||||||
| Apple Macintosh Hardware Discuss the Apple Macintosh Hardware |
| | LinkBack | Thread Tools |
| |||
| X11 Server on the Mac talking to Solaris Greetings, I would like to run an X display server and log in to my Sun box (a V100) so I can run the SMC. The host environment for the X display server would be a Mac Powerbook 17 with an external monitor running at 1280x1024. If possible, I'd like to let X take over the external monitor so I could use the powerbook display for the Mac environment. Environment: Sun V100 running Solaris 9 (12/03 maintenance level) Mac Powerbook G4 17@1.5/1.5GB/80GB, external Dell monitor, MacOS X 10.3.7, Apple X11. Any help with setup and configuration files would be greatly appreciated. -- Verne |
| |||
| Re: X11 Server on the Mac talking to Solaris In article <0001HW.BE0CAF04000CBB4DF00805B0@news.giganews.com >, Verne Arase <VerneA@pobox.com> wrote: > Greetings, > > I would like to run an X display server and log in to my Sun box (a V100) > so I can run the SMC. > > The host environment for the X display server would be a Mac Powerbook 17 > with an external monitor running at 1280x1024. If possible, I'd like to let X > take over the external monitor so I could use the powerbook display for the > Mac environment. > > Environment: > > Sun V100 running Solaris 9 (12/03 maintenance level) > Mac Powerbook G4 17@1.5/1.5GB/80GB, external Dell monitor, MacOS X 10.3.7, > Apple X11. > > Any help with setup and configuration files would be greatly appreciated. > > -- Verne I'm not familiar with SMC, so I don't know if it needs to be able to take over the root window or not. I think it will work if you do the following: Start a new xterm in X11 xhost +hostname (hostname of the Sun box) ssh into the sun box set $DISPLAY to 1.2.3.4:0 (where 1.2.3.4 is the IP addy of your Mac) run SMC as you normally would. If I'm wrong, someone please correct me. HTH |
| |||
| Re: X11 Server on the Mac talking to Solaris In article <me-4AC8B5.23263614012005@individual.net>, "Mathew M." <me@privacy.net> wrote: > In article <0001HW.BE0CAF04000CBB4DF00805B0@news.giganews.com >, > Verne Arase <VerneA@pobox.com> wrote: > > > Greetings, > > > > I would like to run an X display server and log in to my Sun box (a > > V100) > > so I can run the SMC. > > > > The host environment for the X display server would be a Mac Powerbook > > 17 > > with an external monitor running at 1280x1024. If possible, I'd like to let > > X > > take over the external monitor so I could use the powerbook display for the > > Mac environment. > > > > Environment: > > > > Sun V100 running Solaris 9 (12/03 maintenance level) > > Mac Powerbook G4 17@1.5/1.5GB/80GB, external Dell monitor, MacOS X 10.3.7, > > Apple X11. > > > > Any help with setup and configuration files would be greatly > > appreciated. > > > > -- Verne > > I'm not familiar with SMC, so I don't know if it needs to be able to > take over the root window or not. I think it will work if you do the > following: > > Start a new xterm in X11 > xhost +hostname (hostname of the Sun box) > ssh into the sun box > set $DISPLAY to 1.2.3.4:0 (where 1.2.3.4 is the IP addy of your Mac) > run SMC as you normally would. > > If I'm wrong, someone please correct me. Close, set $DISPLAY to 1.2.3.4:0.0 would be better. The syntax will also differ depending on the shell being used on the Solaris box. |
| |||
| Re: X11 Server on the Mac talking to Solaris In comp.sys.mac.system Mathew M. <me@privacy.net> wrote: : Start a new xterm in X11 : xhost +hostname (hostname of the Sun box) : ssh into the sun box : set $DISPLAY to 1.2.3.4:0 (where 1.2.3.4 is the IP addy of your Mac) : run SMC as you normally would. : If I'm wrong, someone please correct me. Not wrong but the other guy had a better suggestion, use ssh with -X instead and you don't have to muck around with setting $DISPLAY. (but see below) I'm the admin for a few Solaris boxes (have used Macintosh since they came out) but only recently started using the Macs with the Solaris and X11. There are a few things to do to make life easier... 1) On the Solaris box, edit the /etc/ssh/sshd_config and check/change these: # X11 tunneling options X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes Also in that file, running something like SMC isn't going to be that helpful unless you are root, so change this one too: PermitRootLogin yes then kill -1 the sshd process (or use svcadm on Solaris 10). 2) On the Mac, life will be easier if you always use fullscreen over rootless when X starts up. Make sure the screen switch (defaults to command-option-a) works before going too deep, it didn't for some reason on my G5 and was reassigned to simply command-a). 3) CDE works fine. If you plan on messing with desktops, look into getting pkg-get (Solaris equiv to fink) on the Solaris box and installing the kde package. The native Solaris Xsession is nearly worthless (works but no Front Panel, seems painfully slow), The Gnome stuff seems broken, the keyboard doesn't work (an XKB error which I spent days looking around to correct and came up empty handed). 4) Some paths are defined already but on the Solaris box, add in /usr/dt/bin and /usr/openwin/bin to your .profile if "echo $PATH" doesn't show them. -bruce bje@ripco.com |
| |||
| Re: X11 Server on the Mac talking to Solaris "Bruce Esquibel" <bje@e4500.ripco.com> wrote in message news:csbghb$gmn$1@e250.ripco.com... > In comp.sys.mac.system Mathew M. <me@privacy.net> wrote: > > : Start a new xterm in X11 > : xhost +hostname (hostname of the Sun box) > : ssh into the sun box > : set $DISPLAY to 1.2.3.4:0 (where 1.2.3.4 is the IP addy of your Mac) > : run SMC as you normally would. > > : If I'm wrong, someone please correct me. > > Not wrong but the other guy had a better suggestion, use ssh with -X instead > and you don't have to muck around with setting $DISPLAY. (but see below) > > I'm the admin for a few Solaris boxes (have used Macintosh since they came > out) but only recently started using the Macs with the Solaris and X11. > There are a few things to do to make life easier... > > 1) On the Solaris box, edit the /etc/ssh/sshd_config and check/change these: > > # X11 tunneling options > X11Forwarding yes > X11DisplayOffset 10 > X11UseLocalhost yes > > Also in that file, running something like SMC isn't going to be that helpful > unless you are root, so change this one too: > > PermitRootLogin yes > > then kill -1 the sshd process (or use svcadm on Solaris 10). > > 2) On the Mac, life will be easier if you always use fullscreen over > rootless when X starts up. Make sure the screen switch (defaults to > command-option-a) works before going too deep, it didn't for some reason on > my G5 and was reassigned to simply command-a). > > 3) CDE works fine. If you plan on messing with desktops, look into getting > pkg-get (Solaris equiv to fink) on the Solaris box and installing the kde > package. The native Solaris Xsession is nearly worthless (works but no Front > Panel, seems painfully slow), The Gnome stuff seems broken, the keyboard > doesn't work (an XKB error which I spent days looking around to correct and > came up empty handed). > > 4) Some paths are defined already but on the Solaris box, add in /usr/dt/bin > and /usr/openwin/bin to your .profile if "echo $PATH" doesn't show them. > > -bruce > bje@ripco.com > Sorry, Bruce, but "X11UseLocalhost yes" is not a valid config for Sol9. When you go to restart sshd, you will receive an error and sshd will die: root(17:33)/ >/etc/ssh/sshd_config: line 54: Bad configuration option: X11UseLocalhost [1]+ Exit 255 /usr/lib/ssh/sshd -James pcug@optonline.net |
| |||
| Re: X11 Server on the Mac talking to Solaris In comp.sys.mac.system James Simmons <james@pcug.us> wrote: : Sorry, Bruce, but "X11UseLocalhost yes" is not a valid config for Sol9. : When you go to restart sshd, you will receive an error and sshd will die: : root(17:33)/ >/etc/ssh/sshd_config: line 54: Bad configuration option: : X11UseLocalhost Don't think it has much to do with Solaris than what version of sshd you have installed. Appears that starting with 3.1, the X11UseLocalhost was set to yes by default in the build and eventually dropped from the sshd_config. So basically you are correct, no need to change/add the option if it's not there to begin with. -bruce bje@ripco.com |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What's the Difference between Talking to a Wall and Talking to anMS Fanboy? | Alias | Windows Vista | 27 | 06-09-2008 05:20 PM |
| Solaris with VPC | Buddha | Windows Vista | 1 | 05-22-2008 09:20 PM |
| Linux Admin with Solaris, TCP/IP, LAN/WAN | TPC | Tablet PC Jobs | 0 | 11-26-2007 07:50 AM |
| Win-XP Pro: ftp to Suse Linux & Unix (Solaris, AIX HPUX) | Brian-33s | Windows XP | 1 | 10-13-2007 03:00 AM |
| migrate gpg keys from Solaris to Linux | derf109@gmail.com | Linux | 2 | 05-14-2007 06:20 PM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |