Author Topic: Putty + debian + start server x error ..PLEASE HELP  (Read 1449 times)

0 Members and 1 Guest are viewing this topic.

Offline deztiny

  • /dev/null
  • *
  • Posts: 16
  • Cookies: -14
    • View Profile
Putty + debian + start server x error ..PLEASE HELP
« on: December 27, 2015, 09:23:05 pm »
After installing utility Gui, i want to start server x and this is the error screen i get as below ..any help ? how can i solve this error please.

NOTE 1 : i Did unistall gnome 3 to install utility desktop...


X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-4-amd64 i686 Debian
Current Operating System: Linux vps-84681 3.2.0-4-686-pae #1 SMP Debian 3.2.73-2+deb7u1 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-686-pae root=UUID=501f8e8b-792e-486f-95e5-3f31a27dff9d ro quiet
Build Date: 09 February 2015  10:12:47AM
xorg-server 2:1.12.4-6+deb7u6 (Julien Cristau <jcristau@debian.org>)
Current version of pixman: 0.26.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Sun Dec 27 21:14:28 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server


BELOW ERROR PUTTY ERROR LOGS

2015-12-27 21:12:55   Looking up host "185.81.158.179"
2015-12-27 21:12:55   Connecting to 185.81.158.179 port 22
2015-12-27 21:12:55   We claim version: SSH-2.0-PuTTY_Release_0.66
2015-12-27 21:12:56   Server version: SSH-2.0-OpenSSH_6.0p1 Debian-4+deb7u2
2015-12-27 21:12:56   We believe remote version has SSH-2 channel request bug
2015-12-27 21:12:56   Using SSH protocol version 2
2015-12-27 21:12:58   Doing Diffie-Hellman group exchange
2015-12-27 21:12:59   Doing Diffie-Hellman key exchange with hash SHA-256
2015-12-27 21:13:00   Host key fingerprint is:
2015-12-27 21:13:00   ssh-rsa 2048 00:6a:9b:60:d8:b5:6a:18:e7:20:cc:6f:a9:8b:46:6c
2015-12-27 21:13:00   Initialised AES-256 SDCTR client->server encryption
2015-12-27 21:13:00   Initialised HMAC-SHA-256 client->server MAC algorithm
2015-12-27 21:13:00   Initialised AES-256 SDCTR server->client encryption
2015-12-27 21:13:00   Initialised HMAC-SHA-256 server->client MAC algorithm
2015-12-27 21:13:36   Sent password
2015-12-27 21:13:37   Access granted
2015-12-27 21:13:37   Opening session as main channel
2015-12-27 21:13:37   Opened main channel
2015-12-27 21:13:37   Allocated pty (ospeed 38400bps, ispeed 38400bps)
2015-12-27 21:13:37   Started a shell/command


Here is repository files ..i have several because i was tryin different desk tops to choose from the best ..

deb http://ftp.fr.debian.org/debian/ wheezy main non-free contrib
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb http://ftp.fr.debian.org/debian/ wheezy-proposed-updates main contrib non-free
deb http://packages.linuxmint.com/ debian main import backport upstream romeo
deb http://repo.mate-desktop.org/debian wheezy main
deb http://packages.mate-desktop.org/repo/debian wheezy main
deb http://mirror1.mate-desktop.org/debian wheezy main
deb ftp://ftp.uk.debian.org/debian wheezy-backports main
deb-src ftp://ftp.uk.debian.org/debian/ wheezy-backports main
deb http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-v3.5.13/debian wheezy main
deb-src http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-v3.5.13/debian wheezy main
deb http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-builddeps-v3.5.13/debian wheezy main
deb-src http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-builddeps-v3.5.13/debian wheezy main




Offline deltonos

  • Serf
  • *
  • Posts: 36
  • Cookies: -2
    • View Profile
Re: Putty + debian + start server x error ..PLEASE HELP
« Reply #1 on: December 28, 2015, 05:03:31 pm »
I had nearly same issues in the past.

Firts, install a good iptables rules (arno-iptables-firewall por example) , and VNCserver. Connect with the client and check that Xwindows (i tested in the past with Xclock) are working ok.

After that, remove vnc and check the sshd config for forward from the server X to ssh tunnels, and from the client too.

Stupid question, are you connecting to the vps server from a Linux or OSX? Or I´m assuming you are in windows with X-Windows client...

Edited: this guide maybe helps you: http://userpages.umbc.edu/~dhood2/courses/misc/spring07/tunneling/
« Last Edit: December 28, 2015, 05:06:07 pm by deltonos »

Offline deztiny

  • /dev/null
  • *
  • Posts: 16
  • Cookies: -14
    • View Profile
Re: Putty + debian + start server x error ..PLEASE HELP
« Reply #2 on: January 14, 2016, 09:58:39 am »
am connecting with putty from window pc, i was not able to solve the problem..i found an alternative which was installing xrdp instead of vnc... But i still  want to learn really where i was stud up at...so i would try what u said and let u know am glad.

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Putty + debian + start server x error ..PLEASE HELP
« Reply #3 on: January 14, 2016, 11:09:13 am »
You cannot just start an X application inside a shell like that.
What you can do is use SSH X11 forwarding (look it up) and run the desktop on your machine.
Note that X components are required client side.
This has nothing to do with firewalling.

Why would you even want to do this?
« Last Edit: January 14, 2016, 11:11:10 am by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline deztiny

  • /dev/null
  • *
  • Posts: 16
  • Cookies: -14
    • View Profile
Re: Putty + debian + start server x error ..PLEASE HELP
« Reply #4 on: January 14, 2016, 11:42:14 am »
i previously tried x11 forwarding through xming  + putty to run application directly on my desktop...but it was so slow...thats why i gave up that... are u familiar with visualizing GUI environment through ultra vnc (Tight VNC) ?


my problem was this..after installing tight vnc on vps, i tried to connect through ultra vnc to the vps server, it connects alright, but i do not have the graphical interface whick was gnome 3 , i was rather connecting to the console? i did not know why that happened though am very convinced in installed gmone environement correctly and strated the gdm alright. So i was thiking starting the serverx and re-trying could solve my problem.. that is why i wanted to start x, then re-connect to the VPS through ultra vnc and see it i would now get my gnome desktop !!


To give u more idea of the problem i was facing. i just included an attached screen shot of the screen that i appear after connecting to vps server through ultra vnc. I am not supposed to get this screen. I am supposed to get my installed gnome Graphical interface rather than what you see on the screen shot... seen attached
« Last Edit: January 23, 2016, 07:17:02 pm by ande »