DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th June 2008
ua549's Avatar
ua549 ua549 is offline
Port Guard
 
Join Date: Jun 2008
Posts: 22
Default Guide for KDE over SSH from Vista

Is there a guide for installing (make functional) KDE over a SSH connection from a Vista notebook?

I have a notebook running Vista and PuTTY. I can connect and have a standard command line session. I can not get KDE to work at all. Being a newbie, I think that I am missing something major. I've tried Xming, but can only get a single application to work per window using a complex command containing password, host, user name and program to run.

I'm looking for something similar to Windows Terminal Services/Remote Desktop over SSH and how to set it up and make it work.
Reply With Quote
  #2   (View Single Post)  
Old 12th June 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

I once had a system auto-loging into a KDE session and launching a VNC server to solve that issue before I decided to scrap X altogether.



Getting a working KDE _on_ the system, depends on how you start X. I.e. .xinitrc, .xsession, using XDM/KDM/GDM; you might want to be a bit more specific on that side.


You need the BSD machine to either automatically have X started or provide a way to start it on demand: Adjust your login on the machine to set $DISPLAY accordingly.

I think you'll have to set $DISPLAY to YourVistaMachinesAddress:0.0.

Then enable X11 forwarding in your PuTTY options and the FreeBSD machines sshd server (man sshd_config) accordingly.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #3   (View Single Post)  
Old 12th June 2008
ua549's Avatar
ua549 ua549 is offline
Port Guard
 
Join Date: Jun 2008
Posts: 22
Default

On the remote system console X runs at boot time (i can't remember how) and .xinit contains the line startkde so it runs at boot time as well. When I attempt to configure PuTTY X11 forwarding in the SSH, X11 dialog by ticking the check box and clicking on the Open button, I get an error bell. All I can do is click Cancel.

How do I set $DISPLAY on the Vista box? There is no man page for this item. That item is not in the environment of the user on the box running FreeBSD even though X and KDE are running.

I'm confused.
Reply With Quote
  #4   (View Single Post)  
Old 13th June 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Do you have an X server on the "Vista box" ?

http://sourceforge.net/projects/xming/
Reply With Quote
  #5   (View Single Post)  
Old 13th June 2008
ua549's Avatar
ua549 ua549 is offline
Port Guard
 
Join Date: Jun 2008
Posts: 22
Default

Xming is on the Vista box.
Reply With Quote
  #6   (View Single Post)  
Old 13th June 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Default

Must allow XForwarding, either in the ssh conf file, or via the KDM.
__________________
da more I know I know I know nuttin'
Reply With Quote
  #7   (View Single Post)  
Old 13th June 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Alternatively, install nxserver on the FreeBSD box, configure it, then use the NX client on your Windows box. Works pretty much the same as Remote Desktop Connection or VNC does between Windows boxes.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #8   (View Single Post)  
Old 13th June 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Right, you probably want vnc over ssh. I'm not sure it's possible to forward a DE over X (and if it is possible, you don't want to -- it'll be very slow).

An even better solution: don't run a DE over ssh at all. Utilize the command line instead, and when you need an X application, launch just that application.
__________________
Kill your t.v.
Reply With Quote
  #9   (View Single Post)  
Old 13th June 2008
ua549's Avatar
ua549 ua549 is offline
Port Guard
 
Join Date: Jun 2008
Posts: 22
Default

I want the full array of applications available with a click on an icon.
Speed should not be an issue over a Gbe lan.

I'm in no rush to convert from MS servers to FreeBSD.
Vista clients will be a fact of life until compatibility issues with MS Exchange scheduling and shared calendars are resolved.

This is a learning opportunity on my home network. The learning curve is quite steep.

That said, I'll try all proposed solutions and select the one that works the best on my network.
Reply With Quote
Old 13th June 2008
ua549's Avatar
ua549 ua549 is offline
Port Guard
 
Join Date: Jun 2008
Posts: 22
Default

Quote:
Originally Posted by phoenix View Post
Alternatively, install nxserver on the FreeBSD box, configure it, then use the NX client on your Windows box. Works pretty much the same as Remote Desktop Connection or VNC does between Windows boxes.
I did not see a FreeBSD version of the NX software.
What version should be used?
(Sorry for the newbie questions.)
Reply With Quote
Old 13th June 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Default

*BSD to Win -> rdesktop
Win to *BSD -> Xming and PuTTY
__________________
da more I know I know I know nuttin'
Reply With Quote
Old 13th June 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Quote:
Originally Posted by ua549 View Post
I did not see a FreeBSD version of the NX software.
What version should be used?
(Sorry for the newbie questions.)
/usr/ports/net/nxserver
/usr/ports/net/freenx

The first is the opensource version of the official NX server. The second is the opensource rewrite based on the OSS version of the official NX server.

Take your pick.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Old 13th June 2008
ua549's Avatar
ua549 ua549 is offline
Port Guard
 
Join Date: Jun 2008
Posts: 22
Default

Thanks. I was looking on the nomachine.com website. They only had Linux and Solaris listed.

Oops! Neither of those ports compile on a 64bit OS (AMD64).

Last edited by ua549; 13th June 2008 at 06:55 PM.
Reply With Quote
Old 13th June 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

I never tried nx, couldn't get it to compile when I had tried a fwe years back.

Since I'm in a mixed environment, I use VNC for most things since it can handle both client and server for both Windows and *nix systems. I haven't needed it for a *nix system since my first time using SSH but it is rather useful.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
For those who REALLY need windoze, 2k, XP or Vista? fbsduser Other OS 68 4th July 2010 11:00 PM
dhcpd, vista and wlan hamba FreeBSD Ports and Packages 5 8th September 2009 04:34 PM
Why you should write a guide/howto in XML J65nko Guides 4 19th October 2008 07:46 PM
I've read the installation guide...but! wubrgamer FreeBSD General 5 20th September 2008 02:37 PM
A Comprehensive Guide to FreeBSD ijk Book reviews 1 29th July 2008 03:53 PM


All times are GMT. The time now is 07:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick