I include the node name in the PS1 variable in /root/.rxvtrc (and export it there) and I have an entry in /etc/profile:
Code: Select all
export ENV=/root/.rxvtrc
What seems to be happening is that under X, I seem to be running bash rather than (Busybox's) sh. If I type 'blah' at a prompt in an rxvt session under X, a message is displayed: 'bash: blah: command not found' Whereas if I try that at the 'console' prompt, I see the message: 'blah: no such file or directory'.
In the rxvt session under X, if I try typing: /bin/sh /usr/local/bin/rxvt I get the message: '/usr/local/bin/rxvt: 1: Syntax error: "(" unexpected'.
Is there some way that I can get my prompt working again under X?