Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: NoMachine NX: simple setup without adding users

  1. #21
    Join Date
    Dec 2008
    Beans
    10

    Re: NoMachine NX: simple setup without adding users

    Quote Originally Posted by sp00n View Post
    Morning AlesZib.

    You can view the last few entries of the syslog by executing
    Code:
    tail /var/syslog.0
    This log gets written to very frequently, so run the command above immediately after the usercheck.
    Hi sp00n. I do not have this file. I get:
    Code:
    tail /var/syslog.0
    tail: cannot open `/var/syslog.0' for reading: No such file or directory
    Any ideas?

  2. #22
    Join Date
    Nov 2005
    Location
    UK
    Beans
    18
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: NoMachine NX: simple setup without adding users

    Try without the .0 on the end.

  3. #23
    Join Date
    Dec 2008
    Beans
    10

    Re: NoMachine NX: simple setup without adding users

    sp00n, now I found the syslog.0 in /var/log/.

    However, even after runing usercheck (perhaps because it does not return any errors for me) or a failed atempt it does not contain anyting NX related.

  4. #24
    Join Date
    Oct 2006
    Location
    Florence, Italy
    Beans
    170

    Re: NoMachine NX: simple setup without adding users

    AlesZib and SpOOn, did you make any progress? I have exactly the same problems: I can login as NX user but when I try to access through the GUI I get authorization failed. Even the syslog.0 looks the same...Please let me know

  5. #25
    Join Date
    Dec 2008
    Beans
    10

    Re: NoMachine NX: simple setup without adding users

    Unofortunatelly no. Still hoping that some expert will post some solution here. I'm relatively new to linux and have no idea what else I could do.

  6. #26
    Join Date
    Oct 2006
    Location
    Florence, Italy
    Beans
    170

    Re: NoMachine NX: simple setup without adding users

    reading these posts:

    http://lists.kde.org/?l=freenx-knx&m...4212328392&w=2

    and

    http://ubuntuforums.org/archive/index.php/t-449382.html

    I got the impression that the problem may be related to the sshd_config file on the server. They suggest to put a line relating to the .ssh/authorized_keys2 file.
    However, I cannot play right now with the sshd_config file because I am far away from my server. I'll keep you informed...

  7. #27
    Join Date
    Dec 2008
    Beans
    10

    Re: NoMachine NX: simple setup without adding users

    I think I tried this and it did not work. The difference between at least my problem and their is that I can log in as a nx user (that is, as user names "nx") and aslo --usercheck reports that everything is ok, but I ctill can not connect.

  8. #28
    Join Date
    Nov 2005
    Location
    UK
    Beans
    18
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: NoMachine NX: simple setup without adding users

    Hi alenis / AlesZib,


    No, not fixed it, I have given up. could not get freenx to work either, same problem.

    I am experiencing the same issue as AlesZib, the ssh authentication is fine for user nx, I can ssh in as that user no problem. the issue seems to be the authentication of the user that nx does after the ssh session has been initiated.

  9. #29
    Join Date
    May 2005
    Location
    South East Michigan
    Beans
    81

    Re: NoMachine NX: simple setup without adding users

    Initially, I found out about freenx from ubuntuguide and followed the install from the freenx homepage. Everything is working for remoting into the machine remotely. The weird thing that I am experiencing is that I have a monitor, keyboard, mouse connected to that system. I have the machine to autologin my account. When the system boots, I have display through the bios and the Ubuntu splash screen, but after that, the screen goes blank. I can remote in (NoMachine) from another system, I just find it weird that machine went headless on me.

    Anyone know why this happening? It is not a huge issue. I plan to use the system headless, but while I am still setting up my fileserver and shares, it would be nice to do it at the local console.
    gotmonkey
    chown -R us ./base

  10. #30
    Join Date
    Aug 2006
    Beans
    Hidden!

    Re: NoMachine NX: simple setup without adding users

    This thread has been very helpful to me. One additional point that I discovered after a long afternoon of frustration is as follows.

    In attempting to secure ssh and NX access I modified my working server sshd_config and hosts files as follows:

    Code:
    #In sshd_config
    Port 55555
    Protocol 2
    LoginGraceTime 2m
    MaxAuthTries 3
    
    PermitRootLogin no
    StrictModes yes
    PermitEmptyPasswords no
    
    # /etc/hosts.allow
    sshd: 192.168.0.0/255.255.255.0
    sshd: a trusted external ip address
    
    # /etc/hosts.deny
    sshd: ALL
    This resulted in a an inability to connect and a variety of unhelpful error messages. I was able to get things working again after adding:

    Code:
    # /etc/hosts.allow
    sshd: LOCAL
    I think I now have moved ssh to a different port, and restricted access to selected IP addresses.

    Maybe adding sshd: LOCAL will help someone else.

Page 3 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

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