The wswc command can return exit codes to indicate the nature of any error that View Client encounters.

View Client Exit Codes shows the exit codes that the wswc command can return.

View Client Exit Codes

Exit Code

Description

-1

Fatal error in kiosk mode.

0

Success.

1

Connection failed.

2

Login failed.

3

Desktop failed to start.

4

RDP failed to start.

5

RDP operation failed.

6

Tunnel connection lost.

7

Local desktop transfer failure.

8

Local desktop check-in failure.

9

Local desktop check-out failure.

10

Local desktop rollback failure.

11

Unknown result received during authentication.

12

Authentication error.

13

Received request to use an unknown authentication method.

14

Invalid server response.

15

Desktop was disconnected.

16

Tunnel was disconnected.

17

Reserved for future development.

18

Reserved for future development.

19

Unsupported kiosk operation.

20

Remote mouse, keyboard, or screen (RMKS) connection error.

21

PIN error.

22

PIN mismatch.

23

Password mismatch.

24

View Connection Server error.

25

Desktop was not available.