Help With KDE

Hello, I am new to Linux and I am having difficulty setting up KDE. I have a vps with Debian 7 Wheezy on it and I need to get KDE working on it. The Linux installation from the vps company was very basic...I had to update the packages and install kde and kdm using the apt-get install kde and apt-get install kdm commands. When I type xstart to start the x server I get a message with the version number and other information so I am assuming that it is installed, but at the bottom of the message I have no cursor (I am able to type but when I hit the enter key after entering a command nothing happens) and the # is no longer there so I am unable to continue working. The only way i can get the command prompt and # back is to close Putty and reopen it (then I have to log into the vps all over again). From what I have read online, when I type startx, it should load KDE.

I was able to set the display by using the export DISPLAY=:0.0 command. But when I type startkde I get the message 'No protocol specified" and the next line says DISPLAY not set or unable to connect to xserver.

I have been using Putty to log into the vps, but yesterday I decided to use the web based login utility offered by the vps company. When connecting to the vps in this manner I am presented with a traditional looking login screen (I am assuming it is KDM). The user name that was provided to me from the vps company is 'root' ...well, when I try to login using KDM (the plasma setting) I get an error stating that 'root' logins are not allowed. Considering that the KDM is visible when logging in using the web based utility, I have a feeling that the KDE is also working...but I can't log into it because the user name is 'root' . However, when I use Putty I cant seem to get anything to load and start the way it is supposed to. I would appreciate any help in getting the KDE to work in Putty and the login via the web based utility to accept my username that the vps company gave me. Thank you.


Similar Content



Borked Ubuntu With Putty SSH Cmd Line

I am not sure what happened here, and I find it oddly disturbing that a Putty session from Window could do this, but here is what I did -

I was attempting to open a ssh redirect session from Putty command line on my W7 work PC to my home PC running Ubuntu 14.04. I've done this before with the Putty GUI and had no issues at all, but this time I was using cmd line and it never did connect. I ran this command:
Code:
putty -ssh -D 1080 -P 22 domain.com

The Putty window opened but never connected. I tried twice and when it didn't connect, I gave up and went back to the GUI. I connected with the GUI just fine, but after connecting an SSH session to my Ubuntu server at home, I noticed it was acting odd.

Long story short: It was in a "read-only" mode, saying the file system was read-only. I couldn't run apt-get update or even create a new folder in my Home folder or desktop. I remotely rebooted the machine and it never came back online.

When I got home I checked it, and it told me that Ubuntu had found some errors, and was asking if I wanted to correct them. I said yes and it took a short while, but then finally let me log back in.

After this, the box is about 90-95% back to normal except for a couple of odd things that I don't understand.

The main issue is that my Samba shared drives are no longer working. The fstab file looks the same and can connect to other machines, but nothing can connect back to the Ubuntu box. The folder permissions are correct also. I have a CentOS7 box, a Fedora laptop and a W7 box - none of them can connect to my Ubuntu box. I only run Samba and connect with it, even from Linux boxes, just to make it simple (since Windows is stupid and can't use NFS) - this has always worked in the past. Now for the life of me, I can't figure out why nothing will connect.

Is there a logfile or trouble-shooter I could look at it see what happened? It should be in /var/log somewhere, but I don't know where to start. SSH? Samba? The entire filesystem was read-only for a short while, so is there a FS or System log in /var/log?

I am kinda confused on this one, any help is appreciated.

Unable To Login On Runlevel 3 In Fedora 21 Xfce After Moving/restoring Usr Dir

I'm not a total linux newbie, but I figure this is a newbie mistake, so here it is.

I'm running fedora 21 xfce on a triple boot system (using grub to select the os), so if it's at all possible to avoid a reinstall that would be very awesome.
What happened:
I ran out of space on my root partition (lvm). Tried to figure out how to resize the root partition while tired, gave up, decided to move /usr to my home partition and create a symlink. Copied /usr to /home/usr, deleted /usr. Unable to create the symlink now (duh! as I said, I was tired), booted into liveusb disk to create the symlink. Couldn't boot after that and gave up for the night. This morning I was clear enough to figure out resizing the partitions, so I did and then copied /home/usr back to /usr. Rebooted and everything seems normal until I want to login. Logging in just dumps me back at the login screen, wether I use root, user runlevel 5 or runlevel 3, no matter. In runlevel 3 there might be an error message but it flashes by so quickly I can't read it. Authentication does proceed, because logging in with a wrong username or password gives the proper error.
Google has not provided me with any useful hints, so I'm at a loss. Can someone please help me out?

Many thanks,

Willem

File Upload From Putty To A Secured Website

->Need to upload a file from Unix box(Putty) to a website.

->Tried Wget and curl to upload a file to that website, when ever i am trying to fire the command its redirecting to Login page.

->for this purpose i have used cookies option to pass the Login information next time, but its giving empty cookie file and returning entire HTML page.

->used various options like redirecting,load cookies, for wget and curl, but everything is going in vain.

->Normally browser login process for that website is :

1.Login page www.example1.com/login and provide username and password
2.redirected to another URL www.example2.asp and after clicking on a folder icon.
3.it is getting redirected to another URL www.example3.com/folders.do?id=12433434324

i have to upload the file in the third URL and to a particular folder in that page, folders are containing different ids.

Please share your knowledge on this and provide solution as best as you can ,thanks

SSH Login To Server Always Fail Upon First Attempt

Noticed recently that my first SSH attempt (using putty) to a Red Hat server always fail. Must leave the failed session on, then the second SSH attempt will succeed. If I close the failed ssh session, the second attempt will also fail as well.

This issue only cropped up about two weeks ago and it also happens to other users for this RHEL server only. I am using putty(release 0.64) but other users are connecting to it via command line SSH in their Linux desktop. Not aware of any changes done to this RHEL server recently.

Any suggestions on where should I start looking into?

Grep Is Not Working In RHEL5.3

Hi,

I have Redhat 5.3 running on my machine. But when I am login through putty it gives me below error.
Without running any grep command I get this error on login and the grep command doesn't work.

login as: root
root@IP's password:
Last login: Mon Feb 16 15:27:55 2015 from IP
-bash: /bin/egrep: cannot execute binary file
-bash: /bin/egrep: cannot execute binary file
-bash: /bin/egrep: cannot execute binary file
-bash: /bin/grep: cannot execute binary file
-bash: /bin/grep: cannot execute binary file
[root@bkpdrill ~]# grep MemTotal /proc/meminfo
-bash: /bin/grep: cannot execute binary file

VNC - CentOS 7 Server Login Screen Refresh Preventing Authentication

TigerVNC 1.4.1 CentOS 7 Server on Intel 64 bit vncViewer is running on Windows 7 & 8.1 Using both TigerVNC and Tight VNC viewers The CentOS GUI login screen appears with the correct (su) user name. The screen refreshes ~ twice per second allowing only one character to be entered in the Authentication box before refreshing. I am unable to login remotely via VNC. PuTTY access, etc., works fine.

How To Return From Shell 'read' Command Passed In Expect Script?

I have a shell script that calls an expect script I wrote to ssh login to another host and get user input regarding that host's network configuration. I pass four arguments to the expect script: the remote host ip address, the username, the password, and the list of commands to run. My expect script is below:

#!/usr/bin/expect
# Usage: expectssh <host> <ssh user> <ssh password> <script>

set timeout 60
set prompt "(%|#|\\$) $"
set commands [lindex $argv 3];

spawn ssh [lindex $argv 1]@[lindex $argv 0]

expect {
"*assword:" {
send -- "[lindex $argv 2]\r"
expect -re "$prompt"
send -- "$commands\r"
}

"you sure you want to continue connecting" {
send -- "yes\r"
expect "*assword:"
send -- "[lindex $argv 2]\r"
expect -re "$prompt"
send -- "$commands\r"
}

timeout {
exit }

expect -re $prompt
send -- "exit\r"
}

The script runs well, except that if I send a command such as 'read' that requires user input, the script does not continue or exit after the user presses enter. It just hangs.

The commands I pass to the expect script and it's call are as follows:
SCRIPT='hostname > response.txt;netstat -rn;read net_card?"What is the network interface card number? " >> response.txt; read net_mask?"What is the subnet mask? " >> response.txt'

/usr/bin/expect ./expectssh.exp $hostip $usr $pswd "$SCRIPT"

Any suggestions on how I can pass a command to my expect script that requires user input without it hanging?

On a side note because I know it will come up - I am not allowed to do key-based automatic SSH login. I have to prompt for a username and password, which is done from my main shell script.

Thanks for any suggestions and help you can provide!

Ssh Public Key Fingerprint

First time post so I hope it's not too long winded!

I've just installed Centos v7.1 and created an additional user.

First putty session I logged in with root and got the public fingerprint message and clicked Yes to accept.

However I noted when I logged in with the user other I did not get the prompt and my home directory didn't have a .ssh directory.

OK, so I created a .ssh (chmod 700) directory within /etc/skel and created a new user. Logged in with that account and still no prompt, although I do now have a .ssh directory generated.

I've tried deleting the known_hosts files in the root's .ssh directory and restarting the sshd daemon but it's not working.

How do I get it to prompt with original public key again?

Thanks for reading.

Update Grub Command Not Working

I have made a change to GRUB2 bootloader in etc/default/grub.
Now I need to run 'update grub' for the change to take effect.
However, the 'update grub' command on the terminal is giving this error message:
Code:
root@debian:/# update grub
bash: update: command not found

Can someone please explain why this command is no longer working?

I've had to make a change to grub because I tried to install a new distro which meant I had to alter grub.
The install wasn't successful so I deleted the grub file and then re-installed it.
The re-installed grub needs a change so I can get sound on my pc.
However, I can't add these changes because the 'update grub' command doesn't work.

I've checked the grub file with another debian distro and they are both the same.
So now I don't know if I need to check if a different grub file is the problem or anything else.
Can someone help?

Top Command Doesn't Display Properly

Hi,

I am hoping someone can help me.
When attempting to look at CPU\mem usage etc by using the 'top' command I find that it just doesn't display properly. For example:

top - 10:11:40 up 9 days, 21:40, 31 users, load average: 0.22, 0.20, 0.
12
Tasks: 635 total, 1 running, 633 sleeping,
0 stopped, 1 zombie
Cpu(s): 6.6%us, 7.1%sy, 0.0%ni, 8
5.7%id, 0.6%wa, 0.0%hi, 0.1%si,
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

31845 lisfse 20 0 23040 7724 2444 S 7.7 0.2 0:00.36 sinfo
B 2047992k total, 371180k used, 1676812k
18066 root 20 0 8588 2396 1484 S 5.8 0.1 5:53.44 isfic

32212 lisfse 20 0 15424 1548 840 R 5.8 0.0 0:00.03 top

18072 root 20 0 8212 1856 1364 S 3.9 0.0 3:31.54 isfic

18065 root 20 0 8580 2392 1484 S 1.9 0.1 0:27.26 isfic


I have been able to use it before in UNIX so I know that the layout should not look like this. I'm not sure where the Bs are coming from!
Is there something I need to install or modify to get it to display in the correct format?

The OS information is as follows:

Red Hat Enterprise Linux Server release 6.4 (Santiago)
Kernel 2.6.32-358.14.1.el6.x86_64 on an x86_64

Please let me know if more information is required.

Many thanks in anticipation,

Melikins