NX server needs ssh and some libraries to run. These packages are normally not installed during the basic installation process.Use the following comamnd to install
#aptitude libstdc++2.10-glibc2.2 ssh
Install Free NX Server in Debian Etch
First you need to download the .deb packages using the follwoing commands
i did the three steps..
Now you need to install .deb packages in the following order this is very important
#dpkg -i nxclient_2.1.0-17_i386.deb
#dpkg -i nxnode_2.1.0-22_i386.deb
#dpkg -i nxserver_2.1.0-22_i386.deb
If you get any errors use the following comamnd to fix
#apt-get -f install
Now you need to make sure ssh and nx servers are running if not start with the following commands
#/etc/init.d/ssh start
#/etc/init.d/nxserver start
--------------------
but the problem is i cannot connect to the nx .
i installed the program on windows but what is the username and password should i use? i tried to use the root but it said that the user root cannot be used.
I installed freenx and the client on the server, then downloaded the client on my windows pc.
The Server is running CentOs 5.0, cpanel 11, and I also had GNOME installed.
The problem is, I don't think GNOME is setup, or running.
When Connecting I get this:
Quote:
"NX> 203 NXSSH running with pid: 5812 NX> 285 Enabling check on switch command NX> 285 Enabling skip of SSH config files NX> 285 Setting the preferred NX options NX> 200 Connected to address: 72.223.50.10 on port: 22 NX> 202 Authenticating user: nx NX> 208 Using auth method: publickey HELLO NXSERVER - Version 1.5.0-60 OS (GPL) NX> 105 hello NXCLIENT - Version 1.5.0 NX> 134 Accepted protocol: 1.5.0 NX> 105 SET SHELL_MODE SHELL NX> 105 SET AUTH_MODE PASSWORD NX> 105 login NX> 101 User: crewxp NX> 102 Password: NX> 103 Welcome to: 10.40.213.72.static.reverse.ltdomains.com user: crewxp NX> 105 listsession --user="crewxp" --status="suspended,running" --geometry="3840x2400x32+render+fullscreen" --type="unix-gnome" NX> 127 Sessions list of user 'crewxp' for reconnect:
Display Type Session ID Options Depth Screen Status Session Name ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: crewxp NX> 105 startsession --link="adsl" --backingstore="1" --cache="16M" --images="64M" --media="0" --session="CrewXp.com" --type="unix-gnome" --geometry="3840x2400" --fullscreen="1" --kbtype="pc102/en_US" --screeninfo="3840x2400x32+render+fullscreen"
NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL) NX> 700 Session id: 10.40.213.72.static.reverse.ltdomains.com-1000-ABB92BE2A15206F134F0AB649A63DF70 NX> 705 Session display: 1000 NX> 703 Session type: unix-gnome NX> 701 Proxy cookie: 3d231db82ebaad182c25969704ceaf15 NX> 702 Proxy IP: 70.241.9.129 NX> 706 Agent cookie: 3d231db82ebaad182c25969704ceaf15 NX> 704 Session cache: unix-gnome NX> 707 SSL tunneling: 0 NX> 1009 Session status: starting NX> 710 Session status: running NX> 1002 Commit NX> 105 /usr/bin/nxserver: line 1190: 31685 Terminated sleep $AGENT_STARTUP_TIMEOUT NX> 1006 Session status: running NX> 596 Session startup failed. NX> 1004 Error: NX Agent exited with exit status 1. Can't open /var/lib/nxserver/db/running/sessionId{ABB92BE2A15206F134F0AB649A63DF70}: No such file or directory. mv: cannot stat `/var/lib/nxserver/db/running/sessionId{ABB92BE2A15206F134F0AB649A63DF70}': No such file or directory NX> 1006 Session status: closed NX> 1001 Bye. Killed by signal 15 "
I'm not sure why this is happening, but i think its because gnome isn't configured or something. I just had the server installed, and asked for gnome to be installed.
I've searched for an answer for a week, but no one's came up with anything. I can't start my new server to run my business on without this.
I want to backup a entire folder thats in / not in any other folders.
I've tried this command but I get the error described below..
tar cvpzf opensim.tgz
tar: Cowardly refusing to create an empty archive Try `tar --help' or `tar --usage' for more information.
The folder is called opensim. I was logged into SSH with root access and tried the command directly, not going into other folders because well I dont want to, I wanna backup that 1st opensim folder that I can see on the FTP also.
I'm having some trouble finding a VPS host that offers Debian and Plesk. I've searched the forum but nothing's really panned out. I'm currently with Geekstorage but the server has been slow (same problem reported by others).
Anyone have recommendations for Debian + Plesk VPS host?
i digit on ssh /etc/init.d/mysql start and i see this error
Starting MySQL database server: mysqld. Checking for crashed MySQL tables in the background. /etc/mysql/debian-start: line 13: logger: command not found
I have just installed my vps with webmin on debian 5 and I need a guide to how to configure my system to use suphp, Ive googled it but not come back with any clear guide.
I better add Ive plunged in at the deepend and after the secuity breach at Vaserv, I can not take the easy option and install lxadmin any longer.
I'm leaning towards centos but am concerned that development priority in that distro will switch over from Xen to KVM as RHEL does. Which distro would you choose for dom0 and why?
From some weeks I try to have a secure install for my Debian. THis server will be a shared hosting host so need special security but I don't know how to do this.
My requirement are :
- Apache
- PHP (mod, not cgi)
Actually, users can navigate into my server by using phpshell script. And someone put lots of file into /tmp directory so I tri to secure all of that but don't find good tuto for that; do you know where can i have some?
And what about php using cron so execute with php-cli how to secure it?
I've just ordered a dedicated server with Ubuntu server, but they've come back to me to say that they've had trouble installing Ubuntu server on these particular servers.
As an alternative, they're offering to install Debian. My concern is that I come from a windows background and have spent the last month reading and playing with Ubuntu Server in vmware. I'll be running a small handful of sites on the server and will rely on the apt-get and package installer in webmin to get things set up and for administration. I'll dabble in the shell a little, but only when needed.
Should I go with a different host that can offer Ubuntu, or will I be okay with Debian?
I am on a vps server and want to install a GUI based control panel. ISPconfig being the most talked about however i am unable to find a tutorial which helps you with step by step installation on debian 4;
problem on one server with debian, the last month it have a 100% f uptime, but since yesterday automaticly it reboot every 1 hour exactly!
this is a game server , dont have service like httpd , mysql dns , nothing! , I uninstall cron jobs thinking that will solve the problem, but no .....
I install firewall, run rkhunter and chkrootkit, check whell gruop and nothing
logs:
Jan 17 05:20:00 debian -- MARK -- Jan 17 05:40:00 debian -- MARK -- Jan 17 06:00:18 debian syslogd 1.4.1#18: restart. Jan 17 06:00:18 debian kernel: klogd 1.4.1#18, log source = /proc/kmsg started. Jan 17 06:00:18 debian kernel: Bootdata ok (command line is root=/dev/sda1 ro )
I change root password and ssh port but nothing... I think that could be a issue on debian or some exploit cause it, this was happend Suddenly one day to another it is very Strange....
Linux user trying to install a few packages on a new dedicated Debian server.
Following some tutorials, I installed Apache1.3 & PHP4 using apt-get install and had them up and running no problem.
I then decided to change the versions, so removed them using apt-get remove and deleted the relevant folders from /etc (this was before I knew of the apt-get --purge option).
I then tried to install Apache2 and PHP5, and although it appears to have worked, folders are not created for them in /etc so it doesn't work.
Is there a way of doing a fresh clean install so that the folders are created? I've tried apt-get clean without success.
Alternatively, a way to rollback Debian to it's previous state before I got my grubby little hands on it!
I just upgraded to Debian from RedHat, but I'm a little lost trying to get phpMyAdmin working. Below is a snapshot of my config.
I'm sure I'm missing something.
looks like I have the packages...
debianlinux [/root] # dpkg -l | grep php ii libapache-mod-php5 5.2.0-8+etch4 ii libapache2-mod-php4 4.4.4-8+etch2 ii php4-common 4.4.4-8+etch2 ii php5-common 5.2.0-8+etch4 ii php5-gd 5.2.0-8+etch4 ii php5-mcrypt 5.2.0-8+etch4 ii php5-mysql 5.2.0-8+etch4 ii phpmyadmin 2.9.1.1-3
<?php $i = 0; $i++; $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port ?>
all the phpmyadmin files are in /usr/share/phpmyadmin - any config tasks here?
This should be a routine walk in the park job for me but for some reason this time the phpmyadmin installation on debian is giving me so much trouble. I have installed it numerous times with no issues.
I am trying phpmyadmin installation the usual way, "apt-get install phpmyadmin" but no matter what I do I keep getting "500 Internal Server Error".
My mysql server has a root password.
I know debian well and they wont put a package up which has not been tested well so I am surprised phpmyadmin is not working properly on the basic installation.
I have been trying to make it work for 3 days now and as a last resort I am coming here to see if someone can shed some light on the issue.
I am using several different VPS templates for trying to setup SNMP to monitor statistics but for some reason I cannot get the SNMPd to work remotely on either the Debian 3.1 x86_64 or Debian 4.0 i386.
When I try to snmpwalk locally it works just fine (using 127.0.0.1)...
com2sec public 127.0.0.1 public group public v1 public group public v2c public group public usm public view all included .1 access public "" any noauth exact all none none
But when I try to setup any remote IP to it, it doesn't go through...
com2sec public 10.250.0.1 public group public v1 public group public v2c public group public usm public view all included .1 access public "" any noauth exact all none none
I have the same setup on CentOS and SuSE and they work fine with my remote server but I cannot seem to get the Debian to work. I am not a wiz with Debian I will admit, but I have tried everything I can think of including flushing iptables and setting it up on more than one IP.
Please if anyone can suggest anything to help, maybe someone has been successful in setting up the SNMPd for remote access to an IP?
my server has 2 nics, how do I view them and their usage uptime etc in debian stable I wanna see if they are being used randomly (usage on both), or if it hasn't been already setup and I need to do it (found a tutorial on how to do this, but dont' wanna fix it, if it ain't broken)
how I can find a company similar to admingeekz.com which provide instant admin support for Debian servers? Admingeekz only work with Redhat. We need somebody who can look at our Debian server asap because it has been down for several hours and we don't know why.
I've googled around but could not come up with any company or free lance professional offering such a service (instant support). We can make a down payment via PayPal instantly and you would get root access.