Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: WinAxe+. XDCMP & Remote KDE Desktop

  1. #1
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    118

    WinAxe+. XDCMP & Remote KDE Desktop

    I know there is one more step I need to enable to get Knoppix to allow me to remote my KDE destop using WinAxe+ & XDCMP.

    I edited /usr/share/config/kdm/kdmrc to have XDCMP enabaled/true.

    I saw that Debian thus Knoppix has another little item that needs to be enabled, and seen a post here, some where here about it. I thougth I had it saved to a text file, but couldn't find it and have searched the board to no avail to relocate it.

    Any one remember this thread and/or the setting, or even how they got WinAxe+ to work.

    Goal is to use WinAxe as a "software" KVM till I fully transistion to Linux.

    Thanks!

  2. #2
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    look at this:
    http://linux-sxs.org/remotexkdm.html

    [edit]

    first if you are running from cd you'll have to start your knoppix X-application server in runlevel 2 using: knoppix 2 then you'll have to set password(s) for your user(s) then you'll have to edit two files, Xaccess and kdmrc both files are in the /etc/kde3/kdm directory.

    First thing is to copy the files into /ramdisk then remove the links in /etc/kde3/kdm.

    Then for Xaccess you'll need to edit it so the line below is uncommented like this:
    (snip)...
    * #any host can get a login window
    (snip)...

    for kderc you'll need to edit the line below [xdmrc] so it is changed from false to true like this:
    (snip)...
    [Xdmcp]
    Enable=true
    (snip)...

    then you'll need to link the newly edited files to their proper places like this:
    ln -s /ramdisk/Xaccess /etc/kde3/kdm/Xaccess
    ln -s /ramdisk/kdmrc /etc/kde3/kdm/kdmrc
    then one last step, starting kdm:
    /etc/init.d/kdm start

    then login and enjoy, if you are running a hd install you won't need to worry about copying and linking the files, and once you get the files edited and running you can make your system startup using kdm by making a link in /etc/rc5.d to kdm like this:

    ln -s /etc/init.d/kdm /etc/rc5.d/S99kdm

    [/edit]

    HTH

    rock

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    118
    Quote Originally Posted by RockMumbles
    look at this:
    Then for Xaccess you'll need to edit it so the line below is uncommented like this:
    (snip)...
    * #any host can get a login window
    (snip)...
    OK, that looks to be one of the settings I missed.

    for kderc you'll need to edit the line below [xdmrc] so it is changed from false to true like this:
    (snip)...
    [Xdmcp]
    Enable=true
    (snip)...
    Thats what I did based on the WinAxe tutorial.

    then login and enjoy, if you are running a hd install you won't need to worry about copying and linking the files, and once you get the files edited and running you can make your system startup using kdm by making a link in /etc/rc5.d to kdm like this:

    ln -s /etc/init.d/kdm /etc/rc5.d/S99kdm

    [/edit]
    This is a HD installed Knoppix of 1/20/03.

    As one new to linux, I think I am missing a key understanding of this process.

    KDM is a SEPARATE deamon/service that needs to be run in addition to any normal part of X systems like KDE etc...?

    And is DIFFERENT than the standard graphical login that starts up ??

    I don't realy want to screw this up, since I have things working quite nicely as a stand alone system.

    Goal:

    1) Local logins at the keyboard for KDE
    2) Remote logins via LAN for KDE, sort of a "software" KVM
    3) SSH LAN logins (This I have working fine, I just need to add/edit the start files to start this every time. . . I can have SSH & KDM active? Correct?

    Thanks!

  4. #4
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    One thing I forgot on your hd install:

    kdm will have to be started up at bootup, that's what the link in /etc/rc5.d does, but if you make the link and leave everything else alone you cannot get into X at all, so you must also do this as root:

    chmod a-x /etc/init.d/xsession

    this makes the stock auto-login to kde for user knoppix non-functional, so that when you boot up the computer you will always get the kdm login screen, then you will be able to login locally, or through your network. You will also have the choice of which desktop environment or window manager you wish to run. If you are getting a login window with user knoppix and root shown, etc. then kdm is already running, but may need to be restarted (or reboot).

    ssh will still function with kdm setup, kdm is for non-secure remote X logins, and ssh is for secure console logins (you can use ssh for secure X logins but I'm not going to go there, it's beyond my understanding)
    To have ssh started up at boot again make a link in /etc/rc5.d to /etc/init.d/ssh like this (as root):

    ln -s /etc/init.d/ssh /etc/rc5.d/S20ssh

    HTH

    rock

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    118
    Quote Originally Posted by RockMumbles
    One thing I forgot on your hd install:

    kdm will have to be started up at bootup, that's what the link in /etc/rc5.d does, but if you make the link and leave everything else alone you cannot get into X at all, so you must also do this as root:

    chmod a-x /etc/init.d/xsession
    This applies to the below section too as well? ? ? From below KDM is already running, I have a choice of users root, etc. knoppix user is not logged in automatically or even really used.

    this makes the stock auto-login to kde for user knoppix non-functional, so that when you boot up the computer you will always get the kdm login screen, then you will be able to login locally, or through your network. You will also have the choice of which desktop environment or window manager you wish to run. If you are getting a login window with user knoppix and root shown, etc. then kdm is already running, but may need to be restarted (or reboot).
    Looks as though KDM is already running then, as I have several user chooses root, knoppix, and the user I created & use. I think that was what confusing me, I wrongly associated KDM as part of KDE.[/quote]

    ssh will still function with kdm setup, kdm is for non-secure remote X logins, and ssh is for secure console logins (you can use ssh for secure X logins but I'm not going to go there, it's beyond my understanding)
    SSH w/Remoted X is beyond me too, at this point anyway. Eventually I'll get to that.

    I was happy when I got SSH to work remotely.

    To have ssh started up at boot again make a link in /etc/rc5.d to /etc/init.d/ssh like this (as root):

    ln -s /etc/init.d/ssh /etc/rc5.d/S20ssh
    From running the SystemVEditor under KDE I seen that sshd was not being loaded for runlevel 5 and was going to add it that way. I take it that the editor adds the link above. Good to know the actuall info too.

    Thanks for ALL THE TIPS.

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Quote Originally Posted by RockMumbles
    first if you are running from cd you'll have to start your knoppix X-application server in runlevel 2 using: knoppix 2 then you'll have to set password(s) for your user(s) then you'll have to edit two files, Xaccess and kdmrc both files are in the /etc/kde3/kdm directory.

    First thing is to copy the files into /ramdisk then remove the links in /etc/kde3/kdm.

    Then for Xaccess you'll need to edit it so the line below is uncommented like this:
    (snip)...
    * #any host can get a login window
    (snip)...

    for kderc you'll need to edit the line below [xdmrc] so it is changed from false to true like this:
    (snip)...
    [Xdmcp]
    Enable=true
    (snip)...

    then you'll need to link the newly edited files to their proper places like this:
    ln -s /ramdisk/Xaccess /etc/kde3/kdm/Xaccess
    ln -s /ramdisk/kdmrc /etc/kde3/kdm/kdmrc
    then one last step, starting kdm:
    /etc/init.d/kdm start

    then login and enjoy, if you are running a hd install you won't need to worry about copying and linking the files, and once you get the files edited and running you can make your system startup using kdm by making a link in /etc/rc5.d to kdm like this:

    ln -s /etc/init.d/kdm /etc/rc5.d/S99kdm
    Does all the above apply to the server? What do I do on the client side?

  7. #7
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    OK, Rock, I did everything you say to do above to my server. Now on the client I removed S99kdm from /etc/rc3.d and set my runlevel to 3 in inittab.

    So the client boots to a text-based login screen. I then login as one of the users defined on the client PC. Then on the command line I issue X -query 10.10.2.5 but all I get is a grey X screen and nothing else happens.

    All I can do is move the mouse around! What gives here?

    Please help!

    TIA,

  8. #8
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Thank you, thank you, thank you, gentlemen! Finally, I got this mess to work. I did as Doug suggested. I think that after all the mods I made on the clients and server hdds, I must have screwed-up xhost.

    Steps that worked:
    (1)Server: I installed my server with knoppix-installer as Debian, addusers, and made all the server modifications listed in the links above. I then ran xhost +eachclientip but I found that adding the ips to /etc/hosts on the server works best!

    (2)Client: Then I have my clients boot the knoppix cd with the boot string: knoppix 2. Then my clients run X -broadcast (I did not need :1) or X -query 10.10.2.5. And all is finally as it should be in the Land of Linux!

    Minor problems left to resolve:
    (1)Client: What I need to do is have my knoppix-installer as knoppix clients boot up to runlevel 2 so I don't need to burn so many cds....

    (2)Server: The clients and the server resolution are both 800x600 only. If I boot the CD with the boot string: vga=normal screen=1024x768 xvrefresh=60 which used to work, I get a video modes on server and client mismatch error. I need to figure out how to get my i810 intel video onboard chip to give me its other mode, namely 1024x768 on the server. I got this res on the clients (when using ssh and fish instead of X -query) by booting a CD with the given boot string and copying the XF86Config-4 file from the ramdisk to my hdinstall. However, this only worked on knoppix-installer as knoppix, not knoppix-installer as debian. I had to knoppix-installer as debian my server to addusers and get the login window for my users....

    Thanx,

  9. #9
    Junior Member
    Join Date
    Feb 2004
    Posts
    3
    OMFG, I'm so agressive now.

    Since at least a week I'm trying to have a remote x access to my knoppix box. I know there are plenty of threads in this forum about this topic but i can't get xdmcp to work.

    I've googled and searched and I've modified xaccess and kdmrc.

    I've uncommented the following

    Xaccess

    * #any host can get a login window

    kdmrc

    [Xdmcp]
    # Whether KDM should listen to XDMCP requests. Default is true.
    Enable=true
    # The UDP port KDM should listen on for XDMCP requests. Don't change the 177.
    Port=177


    In the port line i'm not sure about that, one howto tells yes others don't even mention.

    So there is my confusion... since i'm also not sure how to connect (cygwin, xwin32, winaXe, exceed), the last thing i did now was a portscann.

    Et voilá, ports 21,22,80,111(don't know that one sunRPC),443,3306 and 10000 open.

    All right now there seems to be the problem, no xdmcp port open. so i'm finished with finding problems.


    Can you help me finding some solutions? Are my conclusions/ideas right? I have to say i'm a noob. But i'm trying hard and I wouldn't bother you if there'd be an other way, but neither can I spend more time searching nor can I spend more money on dialup connections...

    Oh cool I'm not aggressive any more... *g*

    BTW.: I have the same problem with the grey window and the mouse as you have had, A. Jorge Garcia. I don't know how you solved it or if the problem aplies to me... Or did i not see the solution and it's written here? I have to say that my brain is a little bit blocked now.

  10. #10
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    118
    Quote Originally Posted by SiBaal
    OMFG, I'm so agressive now.

    Since at least a week I'm trying to have a remote x access to my knoppix box. I know there are plenty of threads in this forum about this topic but i can't get xdmcp to work.
    Since you posted in this thread about WinAxe, look at

    http://www.winaxe.com/tutorials/second/index.html

    Using the this tutorial and the other info at the WinAXE site I have been able to use the demo available for a 31 min login to my Knoppix box. A full license is a little pricey $100.00.

    The winaxe site had all the info I needed to set this up.

Page 1 of 2 12 LastLast

Similar Threads

  1. remote desktop
    By nuklear in forum General Support
    Replies: 8
    Last Post: 02-03-2005, 04:31 AM
  2. remote desktop
    By roc in forum General Support
    Replies: 0
    Last Post: 12-01-2004, 06:49 PM
  3. Remote desktop?
    By yonatan in forum Networking
    Replies: 4
    Last Post: 11-07-2004, 08:42 PM
  4. Remote Desktop
    By RigorMortis in forum General Support
    Replies: 5
    Last Post: 07-16-2004, 03:38 AM
  5. Remote desktop
    By sn0wflake in forum General Support
    Replies: 3
    Last Post: 12-01-2003, 11:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45

$346.00



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$250.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server picture

Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server

$174.99



Dell PowerEdge R420 2 2.4 4C,16GB,8TB,RAID5,IDRAC7 ENT,2PSU picture

Dell PowerEdge R420 2 2.4 4C,16GB,8TB,RAID5,IDRAC7 ENT,2PSU

$125.00



Dell Poweredge R730xd 3.5 2x E5-2690 v3 2.6ghz 64gb H730 14x Trays 2x 1100w picture

Dell Poweredge R730xd 3.5 2x E5-2690 v3 2.6ghz 64gb H730 14x Trays 2x 1100w

$489.99



Dell PowerEdge R230 1U Server BOOTS Xeon E3-1270 v5 @ 3.60GHz 8GB RAM NO HDDS picture

Dell PowerEdge R230 1U Server BOOTS Xeon E3-1270 v5 @ 3.60GHz 8GB RAM NO HDDS

$79.99



Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture

Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config

$489.99



Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB picture

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB

$324.99



Dell Poweredge R420 3.5

Dell Poweredge R420 3.5" 2x Xeon E5-2430 2.2ghz 12-Cores 24gb 2x 1TB 2x 550w

$169.99