FreeNx/Debian

Dec 13, 2007

Install Required software

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.

View 1 Replies


ADVERTISEMENT

Advantage Debian 64 Versus Regular Debian

Oct 9, 2008

I just ordered a server which has that setup:

AMD Athlon 64 X2 6000+ Dual Core
8MB RAM
2x750GB RAID 1 HD

Now I wanna run it with DirectAdmin, but obviously DirectAdmin doesn´t support the Debian 64 which is installed but only 32 bit Debian.

Now I wonder wether I could setup a Debian 32 as well on that system and if yes, wether it would give me a deficit in Performance?

Or would you rather go with CentOS 64 which Directadmin supports?

View 6 Replies View Related

Problem Running FreeNX. Session Startup Failed. CentOS 5, Dont Think GNOME Works

Aug 13, 2007

using a guide found at: [url]

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.

View 0 Replies View Related

TAR Backup - Debian

May 31, 2009

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.

View 8 Replies View Related

Debian & Plesk VPS

Jan 9, 2009

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?

View 4 Replies View Related

Jre 1.5 On Debian Sarge

Jul 28, 2007

i can't get java installed correctly on my debian server.

i downloaded the .bin file from java sun's website and run it says "done."

but when i type :

Code:
whereis java
the terminal shows

Code:
host:/# whereis java
java:

View 4 Replies View Related

Debian Error 2

Dec 8, 2008

i just installed debian but when i try to start it, it just give me "error 2 " when i try to boot it

What is error 2 google gave me nothing

View 4 Replies View Related

Mysql On Debian

Jan 30, 2007

i have the vps with debian 3.1

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

View 1 Replies View Related

Suphp On Webmin With Debian 5

Jun 24, 2009

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.

View 1 Replies View Related

CentOS, Debian, Ubuntu Which Is Better For Vps?

Oct 24, 2009

Which OS is better in security and easy to use for vps beginner:
CentOS™, Debian™, Ubuntu™, Fedora™, or Gentoo™.?

View 14 Replies View Related

Dom0: CentOS Or Debian Or . . .

Jul 23, 2009

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?

View 3 Replies View Related

Debian Security For Hosting

Apr 26, 2009

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?

View 3 Replies View Related

Debian Lenny Hardening

Mar 19, 2009

where I can find a guide or how-to to hardening Debian Lenny web server (a xen vps one)?

View 0 Replies View Related

Sshd Not Installed In My Debian

Jul 3, 2009

installing Debian. I choose Standard package without anything, No DNS Server, No Web Server, No Mail Server.

But ssh is not working, how do I install sshd and get it work?

View 4 Replies View Related

Ubuntu Server Or Debian

Jul 9, 2008

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?

View 9 Replies View Related

How Disable Iptables In Debian

May 20, 2008

my os is debian

how can disable iptables on it?

part12:/# service iptables restart

-bash: service: command not found

View 3 Replies View Related

Ispconfig On Debian Etch

Aug 11, 2008

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;

View 1 Replies View Related

Debian - Reboot Every Hour

Jan 17, 2008

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....

somebody know about this?

SERVER:

debian:~# uname -a
Linux debian 2.6.18-5-amd64

CORE 2 QUAD - 2GB ram - debian 64 bits

View 5 Replies View Related

Debian Or Centos For Servers

May 12, 2008

which is best for running a server? debian or centos?

i have seen many companies prefer using centos for running servers quite often. Any specific reason for that or am i missing something here.

View 14 Replies View Related

Reinstalling Packages On Debian

Feb 27, 2007

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!

View 2 Replies View Related

Kernel Upgrade On Debian

May 23, 2007

to upgrade the kernel on a Debian 3.1 server from a 2.4 kernel to the latest 2.6 kernel.

View 2 Replies View Related

PhpMyAdmin On Debian - Install

Jun 4, 2007

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

am I missing any apache modules?

debianlinux [/etc/apache2] # apache2ctl -t -D DUMP_MODULES
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
python_module (shared)
negotiation_module (shared)
perl_module (shared)
php4_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK

here is my short and sweet apache2.conf

debianlinux [/etc/apache2] # cat apache2.conf
ServerRoot "/etc/apache2/"
ServerName debianlinux
LockFile /var/lock/apache2/accept.lock
PidFile /var/run/apache2.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
User apache2
Group apache2
AccessFileName .htaccess
<Files ~ "^.ht">
Order allow,deny
Deny from all
</Files>
TypesConfig /etc/mime.types
DefaultType text/plain
HostnameLookups Off
ErrorLog /var/log/apache2/error.log
LogLevel warn
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/ports.conf
Include /etc/apache2/conf.d/
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
ServerSignature Off
<IfModule alias_module>
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_autoindex.c>
IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=*
DefaultIcon /icons/blank.gif
ReadmeName README.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# RCS CVS *,v *,t
</IfModule>
<IfModule mod_mime.c>
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>
<IfModule mod_mime.c>
AddCharset us-ascii .ascii .us-ascii
AddCharset ISO-8859-1 .iso8859-1 .latin1
AddHandler type-map var
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
Include /etc/apache2/sites-enabled/
Include /etc/phpmyadmin/apache.conf

I can hit my default site okay, which in in /root (for testing)

debianlinux [/etc/apache2/sites-available] # cat default
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /root/public_html/
<Directory /root/public_html/>
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /root/public_html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>

what about phpMyAdmin configuration?

debianlinux [/etc/phpmyadmin] # ls -la
total 44
drwxr-xr-x 2 root root 4096 2007-06-02 06:54 .
drwxr-xr-x 72 root root 4096 2007-06-03 10:59 ..
-rw-r--r-- 1 root root 654 2007-06-02 06:34 apache.conf
-rw-r--r-- 1 root root 205 2007-06-02 06:35 apache.conf.beta
-rw-r----- 1 root www-data 63 2007-05-29 05:39 blowfish_secret.inc.php
-rw-r--r-- 1 root root 170 2007-05-29 05:39 config.footer.inc.php
-rw-r--r-- 1 root root 170 2007-05-29 05:39 config.header.inc.php
-rw-r--r-- 1 root root 5943 2007-05-29 05:39 config.inc.php
-rw-r--r-- 1 root root 1542 2007-06-02 06:35 htaccess
-rw-r----- 1 root www-data 8 2007-05-29 05:39 htpasswd.setup

here is contents of config.inc.php

<?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?

View 8 Replies View Related

Phpmyadmin Install On DEBIAN

Mar 2, 2007

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.

View 4 Replies View Related

Debian VPS Shutting Down All Servers

Nov 11, 2007

I the last few months my debian 4.0 VPS has suddenly shut down all servers. When this happens the process list looks like this:

Code:
1 root 16 0 1868 640 544 S 0 0.2 0:00.03 init
17825 root 16 0 1556 568 460 S 0 0.2 0:04.82 syslogd
17965 mysql 16 0 142m 17m 5024 S 0 6.9 0:05.37 mysqld
18043 root 16 0 1672 572 480 S 0 0.2 0:00.00 inetd
18307 root 16 0 4852 1100 776 S 0 0.4 0:00.06 sshd
18349 root 18 0 2188 796 648 S 0 0.3 0:00.00 xinetd
18428 root 16 0 2132 884 704 S 0 0.3 0:00.19 cron
1674 root 16 0 7640 2264 1832 S 0 0.9 0:00.03 sshd
1745 msh 16 0 7640 1576 1140 S 0 0.6 0:00.00 sshd
1750 msh 16 0 5420 2068 1208 S 0 0.8 0:00.01 tcsh
1784 msh 15 0 2156 968 772 R 0 0.4 0:00.00 top

My VZ controlpanel don't list any alerts. If I restart apache and postfix+dovecot everything works for 2 weeks or so and it happens again.

Can anyone tell me where to investigate this or any opinions to what is happening?

View 0 Replies View Related

Remote Snmpd On Debian

Aug 4, 2007

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?

View 6 Replies View Related

Debian Sources.list

Sep 11, 2007

for a sources.list with sources that provide very up to date software.

Currently I'm using this:

deb [url]
deb-src [url]

deb [url]
deb-src [url]

But a few things like PHP + MySQL are behind a few versions...

View 3 Replies View Related

How To Check Ethernet Connections In Debian?

Dec 19, 2008

how to check ethernet connections in debian??

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)

View 1 Replies View Related

Instant Debian/Apache Support

Apr 29, 2009

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.

View 14 Replies View Related

How To Setup Auto Backup On Debian

Oct 23, 2009

I got two identical hard disks, one uses to run everything other is for backup, how to setup automatic backup of website content and MySQL database?

View 3 Replies View Related

PHP Mail() On Default Debian Install

Jul 6, 2009

We recently installed a fresh copy of Debian and PHP, however mail() doesn't want to send any emails, despite being enabled in php.ini etc.

Someone told me mail() will not work straight out of the box with a new Debian setup.

View 3 Replies View Related

VirtualHost Troubles With Debian Lenny

Jun 10, 2009

I use Debian Lenny and I would like to host 2 sites on my apache web server.
So I created two virtualhost files site1 and site2.

Site 1 configuration file:

<VirtualHost *:80>
ServerAdmin mymail@admin.com
ServerName www.mydomain.com
ServerAlias mydomain.com
DocumentRoot /var/www/premier
<Directory /var/www/peremier>
[...]

Site 2 config file:

<VirtualHost *:80>
ServerAdmin mymail@admin.com
ServerName lemonsite.mydomain.com
ServerAlias /lemonsite
DocumentRoot /var/www/lemonsite/
[...]

Obviously I a2ensite both sites and reload Apache2.

When I digit lemonsite.mydomain.com on address bar of firefox, it returns Address not found.

When I digit MYIP/lemonsite, I get a 404 not found error generated by www.mydomain.com CMS.

When I digit MYIP on bar I get www.mydomain.com.

I would like to see lemonsite.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved